kiran wrote:
> Thanks Beveren.
>
> I have preloaded the images, still the problem persists. I checked
> browser cache after the page is loaded, preloading is working fine.
>
> If i try the function in a static page on my system, it works; when it
> is added to a jsp file and accessed from server images refuses to show
> up!!!!!
>
> Kiran
Check the source the browser is seeing. It's most likely that when the JSP
outputs the client-side JavaScript, you are losing quotation marks
somewhere along the way.
--
| Grant Wagner <>
* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
*
http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
*
http://www.mozilla.org/docs/web-deve...upgrade_2.html