In this directory structure ...
./qx.js
./resource/
./SkeletonDemo
./SkeletonDemo/index.html <---
./SkeletonDemo/source
./SkeletonDemo/source/index.html <---
./SkeletonDemo/source/class
./SkeletonDemo/source/class/custom
./SkeletonDemo/source/class/custom/Application.js
./SkeletonDemo/source/class/custom/translation
.. I have two index.html files which only differ by their directory
The one in SkeletonDemo/source looks like this
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Custom Application</title>
<script type="text/javascript">
qx={};
</script>
<script type="text/javascript" src="../../qx.js"></script>
<script type="text/javascript" src="class/custom/Application.js"></script>
</head>
<body>
<script type="text/javascript">
qx.core.Init.getInstance().setApplication(custom.Application);
</script>
</body>
</html>
and the other one is one directory up and differs in the following lines:
< <script type="text/javascript" src="../../qx.js"></script>
< <script type="text/javascript"
src="class/custom/Application.js"></script>
---
> <script type="text/javascript" src="../qx.js"></script>
> <script type="text/javascript"
src="source/class/custom/Application.js"></script>
When I run the one in the SkeletonDemo/source directory everything is fine,
but when I run the one in SkeletonDemo I get the following error in firebug:
ERROR: qx.io.image.PreloaderSystem[125]: Could not preload:
widget/splitpane/knob-horizontal.png,
This is a big mystery to me. First I do not understand why it makes any
difference which index.html file I use and second I don't understand why I do
NOT get an error with the source/index.html file, because that png file is in
resource/widget/windows/splitpane/knob-horizontal.png
i.e. there is a "windows" between "widget" and "splitpane".
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel