| Author |
Dynamic/pop-up menus
|
Gjorgi Var
Ranch Hand
Joined: Feb 24, 2004
Posts: 85
|
|
Dynamic, DHTML or pop-up menus, name it however you wish, those are the menus that appear on mouseover on different options while cruising a site. My question is: Is there a general "scenario", sort of "movie script" kind of sequence of steps for creating them? I am familiar with CSS and how to dynamically create JavaScript, but all I could find so far as an explanation for those menus and how to create them is either a sea of buffling code or a recommendation for using some application for their creation... So, dynamic menus... not image maps... :roll:
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50679
|
|
Use a div element, and here are the CSS high points: - position: absolute - z-index - display: none/block The javascript doesn't need to be complicated unless you want complicated effects. Toggling the 'display' CSS rule is the key to showing and hiding the menu.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Dynamic/pop-up menus
|
|
|