Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hovering image producing different text

Status
Not open for further replies.

rye8261

Technical User
Jul 6, 2003
359
US
I am having a very hard time getting anything to work. First let me start by saying I'm not a css guru, I'm just trying this out.

Here is what I'm trying to do.

I want to display 2 images at the same time, then at the bottom have some text for both images. I only want to display the text for the second image if it was hovered over though and leave the first one as default. I need the text to stay down there so people can copy it even if they arent hovering over the image. So say you hover over image 2, the text changes to say image 2 and stats that way unless you hover back over image 1.

Does that make sense and can anyone help?

---------------------------------------
- Free General Web Directory, Free Web site submissions.
- Free General Web Directory, Free Web site submissions.
 
You'd really need to ask this in the JS forum (forum216). While you could make the text appear with HTML/CSS alone, making it stay after the mouse has moved off would requre scripting.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top