Board Logo

Backslashes removed from icon urls
mkreach - 1/2/2007 at 07:36 AM

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.gifa??
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.)


tigra - 1/2/2007 at 10:18 AM

try doubling backslashes i.e. replace with \

mkreach - 1/3/2007 at 08:27 AM

That's done it! Thanks very much,

mkreach - 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 - 1/16/2007 at 01:26 PM

Check the JavaScript console for the error messages.

Back to forum: