mkreach
Junior Member
Posts: 4
Registered: 12/29/2006
Location: Johns Hopkins Pathology
Member Is Offline
|
| posted on 1/2/2007 at 07:36 AM |
|
|
Backslashes removed from icon urls
My department's web pages' peculiarities require me to use urls with backslashes, and to use absolute rather than relative references. So my
tree_tpl.js icons need to look like
'icon_l' : 'pathology5wwwrootmkrmicmasiconsline.gif'
However, they seem to end up looking like
<img src="pathology5wwwrootmkrmicmasiconsline.gif”
with almost all the backslashes gone. Forward slashes come through okay, but don't work on my system. Can you advise?
My tree.js is not altered.
(I saw that someone else asked about slashes, but I didn't see the answer.)
Thanks,
Michael
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/2/2007 at 10:18 AM |
|
|
try doubling backslashes i.e. replace \ with \\
|
|
|
mkreach
Junior Member
Posts: 4
Registered: 12/29/2006
Location: Johns Hopkins Pathology
Member Is Offline
|
| posted on 1/3/2007 at 08:27 AM |
|
|
That's done it! Thanks very much,
Michael
|
|
|
mkreach
Junior Member
Posts: 4
Registered: 12/29/2006
Location: Johns Hopkins Pathology
Member Is Offline
|
| posted on 1/16/2007 at 12:42 PM |
|
|
My tree looks very nice now in Internet Explorer, but doesn't show up at all anymore in Netscape or Mozilla.
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/16/2007 at 01:26 PM |
|
|
Check the JavaScript console for the error messages.
|
|
|