Charas-Project
Off-Topic => Really Old Stuff => Archive => HTML & DHTML => Topic started by: WarxePB on October 05, 2004, 02:41:03 AM
-
How might one go about doing this? It's probably a stupid question, but I don't know how to do it.
-
You'll need Javascript for that... cos it ain't serverside.
-
onmouseover="document.change.src='second image.ext'"
onmouseout="document.change.src='first image.ext'">
WIDTH="100" HEIGHT="50" BORDER="0">
should work
-
Dude, that works perfectly! Thanks a lot! If you ever need something, I'll do my best to help.
-
You can also use onmouseover and onmouseout in the image tage and just say this.src="imagename.png"
-
Originally posted by Yellowvanblake
onmouseover="document.change.src='second image.ext'"
onmouseout="document.change.src='first image.ext'">
WIDTH="100" HEIGHT="50" BORDER="0">
should work
OOOOooOOoooOoooOooo Din't know that, huzzah!
-
I want to try that as opposed to my suggestion. Never tryed that. [shrug] I don't know JavaScript, anyway. Thats just what I found works... (I just looked through the JavaScript books I have)