Rollover-image in a table?!?
Hi!
I'm using this rollover funtion:
<!--
image1= new Image; image1.src="image.gif";
image2= new Image; image2.src="image.gif";
function rollover(imagename, newsrc)
{
document.images[imagename].src=newsrc.src
}
//-->
And when I try to use it on a picture that is in a table, It wont work, it works everywhere else, but not in a table..
Any tips? is this not a good way to do this? is there any other functions that works better?
Please help!
I'm using this rollover funtion:
<!--
image1= new Image; image1.src="image.gif";
image2= new Image; image2.src="image.gif";
function rollover(imagename, newsrc)
{
document.images[imagename].src=newsrc.src
}
//-->
And when I try to use it on a picture that is in a table, It wont work, it works everywhere else, but not in a table..
Any tips? is this not a good way to do this? is there any other functions that works better?
Please help!
Martin Zazinow
February 13,