Click to See Complete Forum and Search --> : mouseovers in external script


BlueThunder
08-06-2003, 02:26 PM
ok, I'm making my navigation bar in an external javascript file so I don't have to edit every single page when I change one link, but I'm using mouse over image change for buttons, well since I'm using the external script I have to type into it:

document.write (" links here ");

and the code for the mouseover is:

onmouseover="image.src='image.gif';"

but since the document.write is taking up the "s I can't use them in the mousover script... and it doesn't work without them, I've tried:

onmouseover='image.src=image.gif;'
and
onmouseover=image.src='image.gif';

but nothing is working, I was wondering if there was a third set of markers that could be used instead of "s or 's, or anything I can do to make this work.

thanks and God bless,
Charles Parker

BlueThunder
08-06-2003, 02:41 PM
ok I figured it out, thanx anyway =)