Sunday 14 September 2003 8:18:37 pm
I'm using a body onload event for preloading images, and it requires that the image src's be enclosed in single, not double quotes. I've tried using ezimage, but it doesn't seem to like single quotes.
Example:
body onload="preloadImages('path/img1.gif')"
becomes:
body onload="preloadImages('{"img1.gif"|ezimage}')"
which translates on the rendered page to: body onload="preloadImages('"path/img1.gif"')" note the nested quotes around the image, which doesn't work. Is there a way to get around this without having to use full paths in the pagelayout.tpl file?
Thanks. RWW
|