| Issue 47: | Icon issue in IE when putting JS in same folder as HTML | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I'm loading the JQuery/dynatree libraries in the HTML file like so: <script src="jquery.js" type="text/javascript"></script> <script src="ui.core.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="skin/ui.dynatree.css" /> <script src="jquery.dynatree.js" type="text/javascript"></script> I've basically moved the .js files to the same folder as the HTML file. In Internet Explorer, the paths to the icons become something along the lines of: .../jquery.dynatree.j/skin/ltFld.gif This results in broken images, of course. In Firefox, however, the paths are correct: .../skin/ltFld.gif Besides noticing this issue in my own project, I also reproduced it on sample-quick.html.
Nov 1, 2008
As a workaround the path can be explicitly specified like this:
$("#tree").dynatree({
imagePath: "skin/",
[..]
Jul 17, 2012
considered verified
Status:
Verified
|
Owner: moo...@wwWendt.de
Labels: Milestone-Release0.3