Hi all,
OK, I have a number of roll-overs coded into my site pages. I have been able to ship out the functions into a single external .js file without a problem.
However, when I try and remove the image definitions and .src references for the rollover images, it doesn't work. Does anybody know if I can ship out something like:
if (document.images)
{ image1 = new Image; image2 = new image;
image1.src = "../images/image1.gif"; image2.src = "../images/image2.gif" }
into an external .js file? It doesn't seem to be working for me and I was wondering if there was a workaround or if I can't do it at all.
Thanks,
Azz
OK, I have a number of roll-overs coded into my site pages. I have been able to ship out the functions into a single external .js file without a problem.
However, when I try and remove the image definitions and .src references for the rollover images, it doesn't work. Does anybody know if I can ship out something like:
if (document.images)
{ image1 = new Image; image2 = new image;
image1.src = "../images/image1.gif"; image2.src = "../images/image2.gif" }
into an external .js file? It doesn't seem to be working for me and I was wondering if there was a workaround or if I can't do it at all.
Thanks,

Azz
Comment