Looking for a little help...

J AllenJ Allen Registered Users Posts: 359 Major grins
I Changed my "play slideshow" button with a custom button, from a URL.
Now I would like to change it, so when you "hover" your mouse over it, the image will change, just like the color would change on a link when you hover over it, but I want it to go to a different
Image URL, anyone know if this will work here, I got a good start, but now I'm stuck-- Figured out the java-script for this:
function mouseOver()
{
document.play_slideshow.src ="http://www.joerallen.com/photos/313539002_nUuEX-Ti.gif";
}
function mouseOut()
{
document.play_slideshow.src ="http://www.joerallen.com/photos/313531466_X2sQb-Ti.gif";
}

Got it working here:

http://www.w3schools.com/js/tryit.as...ryjs_animation


with my code inserted:

<head>
<*script*> type="text/javascript">
function mouseOver()
{
document.play_slideshow.src ="http://www.joerallen.com/photos/313539002_nUuEX-Ti.gif";
}
function mouseOut()
{
document.play_slideshow.src ="http://www.joerallen.com/photos/313531466_X2sQb-Ti.gif";
}
</*script*>
</head>

:scratch:help:scratch
-Joe Allen
My Smugmug Site
Sign In or Register to comment.