Please help me with this. i really need to no how to make a rollover image 4 my site. a need a detailed discription please. i've looked on several sites and done several searches for help on making rollover images and none have helped me. i am using geocities as a webhost. if u help me i will give u positive feed back so please help me!
hammy
7
Junior Poster
Recommended Answers
Jump to Post<a href="link" onMouseOver="document.image.src='on.gif'" onMouseOut="document.image.src='off.gif'"> <img src="off.gif" name="image"> </a>
It's pretty simple really, onMouseOver and onMouseOut are events that are triggered when the obvious happens: the mouse enters or leaves the image boundary. document is the current HTML file, image is the name of the image we're working with, and src …
Jump to Post<a href="link" onMouseOver="document.image.src='on.gif'" onMouseOut="document.image.src='off.gif'"> <img src="off.gif" name="image"> </a>
It's pretty simple really, onMouseOver and onMouseOut are events that are triggered when the obvious happens: the mouse enters or leaves the image boundary. document is the current HTML file, image is the name of the image we're working with, and src is …
Jump to Post>i prefer to just make my site in some sort of pagebuilder
Even easier. A page builder should have a function that lets you insert a rollover without even touching the code. Unless it's a super cheap builder provided by a free web host. ;) In that case you'll pretty …
Jump to Post>what else do i nned to change
It depends. Does it work when you paste it into your HTML file? I don't see anything wrong, so the only issue would be whether the link is valid or not.
All 13 Replies
Narue
5,707
Bad Cop
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
hammy
7
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
hammy
7
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
hammy
7
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
dlh6213
commented:
Thanks for helping my son with this; he's surpassing me in some areas! -- dlh
+1
hammy
7
Junior Poster
tom_h_500
0
Light Poster
hammy
7
Junior Poster
hammy
7
Junior Poster
hammy
7
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.