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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rollover list

Status
Not open for further replies.

merrys1

Technical User
Jul 30, 2006
20
AU
Hi everyone

How do you create a rollover list? Basically when someone rolls thier mouse over a link a box comes to the right of the link showing what is conatained in that link. I don't want a text box but an image I've created to come up.

Thanks
 
You would use javascript to do this. You would most likely aim for a solution where you need only add a class to the link to indicate it should display some content in a "tooltip-like" box. (Some javascript code would collect all the links with a particular class on page load, then append onmouseover and onmouseout events to them that showed a popup box when you hovered over the link).

You may find something pre-written at places like:
[ul][li]www.dynamicdrive.com[/li][/ul]

You may find some of the posts in the javascript forum Forum216 useful to do this as well.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Thanks Jeff

I have figured it out. How do you delete a thread you have posted?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top