Issue 47: Icon issue in IE when putting JS in same folder as HTML
Status:  Verified
Owner:
Closed:  Nov 2008
Reported by andreasblixt, Oct 29, 2008
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
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Owner: moo...@wwWendt.de
Labels: Milestone-Release0.3
Nov 1, 2008
Project Member #2 moo...@wwwendt.de
As a workaround the path can be explicitly specified like this:

$("#tree").dynatree({
    imagePath: "skin/",
    [..]

Nov 1, 2008
Project Member #3 moo...@wwwendt.de
Fixed with r69
Status: Fixed
Jul 17, 2012
Project Member #4 moo...@wwwendt.de
considered verified
Status: Verified