PDA

View Full Version : Hovering Text box on Click?



rakoom2002
16 Dec 2008, 03:28 AM
I have a navigation bar with a few buttons on it. These buttons will be linked to information about the website. I would like for the user to click on the button in the navigation bar and have a text box open in the middle of the page and hover above the main logo of the site which is currently in the center of the page. Anybody know how i would go about doing this?

My website is: http://mepledge.com

Wickham
16 Dec 2008, 04:14 AM
I know how to do it with a hover popup using just CSS and no javascript; see the general principles for a simple menu here:-

http://www.wickham43.supanet.com/tutorial/hoverpopups.html

the popup can be positioned where you want by editing the left and top positions so that each menu button has a popup in the same place.

You have to use javascript to hold the popup after clicking but remember that once you have clicked the link you will open the new page unless the link has no page to go to.