surreal5335
New Member
- Messages
- 28
- Reaction score
- 0
- Points
- 0
I am in need of some Javascript rollover help.
Here is the code that I have so far which does not seem to work
HTML:
There is a lot more of the same stuff obviously. Does anyone have any suggestions as to what I can do?
Thanks a lot
Here is the code that I have so far which does not seem to work
Code:
[I]if[/I] (images) {
homewhite = [I]new[/I] image ();
homeblue = [I]new[/I] image ();
foreclosureswhite = [I]new[/I] image ();
foreclosuresblue = [I]new[/I] image ();
listingswhite = [I]new[/I] image ();
listingsblue = [I]new[/I] image ();
homewhite.src = "http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/home.png";
homeblue.src = "http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/homeblue.png";
foreclosureswhite.src = "http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/forclosures.png";
foreclosuresblue.src = "http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/foreclosuresblue.png";
listingswhite.src = "http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/listings.png";
listingsblue.src = "http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/listingsblue.png";
}
HTML:
Code:
[B]<a href="index.html">[/B][B]<img src="http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/home.png" onmouseover="homeblue.src='http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/homeblue.png';" onmouseout="homewhite.src='http://i95.photobucket.com/albums/l136/surreal5335/RE%20site/home.png';" vspace="1" hspace="1">[/B][B]</a>[/B]
There is a lot more of the same stuff obviously. Does anyone have any suggestions as to what I can do?
Thanks a lot