| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
CSS mouseover?
|
Original Message
|
Name: azzhole
Date: September 14, 2006 at 12:30:11 Pacific
Subject: CSS mouseover?OS: Windows XP ProCPU/Ram: 64 3200 skt754, 768mb PC3Model/Manufacturer: Aries |
Comment: can you tell me what I have to put instead of to make it show butt_link2.gif as normal and butt_link3.gif when the mouse hovers over it? Thanks, as this is really irritating me now, it's driving me nuts. Aaron Never buy from Savastore or Watford Electronics!!!
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Michael J (by mjdamato)
Date: September 14, 2006 at 14:30:02 Pacific
|
Reply: (edit)There are litterally hunders of free examples on the net. Here is a VERY rudimentary example that you can build upon. [script language="javascript"] function mouse(state) { if (document.images) { if (state=='over') { document.getElementById('buttLinkID').src = "butt_link3.gif"; } else { document.getElementById('buttLinkID').src = "butt_link2.gif"; } } } [/script] [A HREF="whatever.html" onMouseOver="mouse('over');" onMouseOut="mouse('out');"] [IMG src="butt_link2.gif" NAME="home" id="buttLinkID"][/A] Michael J
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Web Development Forum Home