Javascript Rollover
- Started
- Last post
- 16 Responses
- ILuvSushi
I know I used to have the code for this. However I have a image that has a hyperlink on a rollover I want a blank.gif image on a page to turn into a animal.gif and back to blank.gif on rollout. Anyone point me to the JS for this please. or email?
- sauerbraten0
cheers
- unformatted0
cheers to you too!
- enobrev0
they still make those?
- mitsu0
[a href="cheesefactory.html"]
[img src="ilikecheese.gif"
onmouseover="chesestinks.gif"
onmouseout="ilikecheese.gif"
title="a cheesy example"]
[/a]
- enobrev0
btw, spicy tuna is fucking fantastic.
- ILuvSushi0
No that's not what I mean. I mean I have an image with a hyperlink.
On a rollover I have a BLANK.gif that's on the opposite side of the page. On rollover of the image with the hyperlink. I want this BLANK.gif that's on the other side of the page to turn into somethingelse.gif and back to blank.gif on the image with the hyperlink rollout.
- jevad0
a text link? or you want to change two images at the same time? or one image when you rollover a link - but not the one you rollover?
- mitsu0
simple:
[a href="someplace.html"]
[
img src="img1.gif"
onmouseover="img2.src='1.gif'"on...
]
[/a]
[img id="img2" src="2.gif"]
- ILuvSushi0
one image else where on the page when I rollover a link but not the image i'm rolling over.
- unknown0
google 'disjointed rollover'
- ILuvSushi0
why do they make it so hard and time consuming
sniffle.
- unknown0
use dreamweaver then..
- mitsu0
um, i just showed you how to do it... is that not what you asked for?
- ILuvSushi0
it worked. thanks for all of your help!
- ********0
Dreamweaver will do it auto like. :)