Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Pop Goes the Menu  : Page 2

With a few stylesheet rules, some JavaScript mouse-tracking and positioning code, and a DHTML-capable browser, you can create pop-up menus that make your Web applications easier to use.




Application Security Testing: An Integral Part of DevOps

Build the Menu System
Its time to build the menu system. This example creates four menus with associated triggers, but the procedure works identically with any number of menus

   <div id="menuBar" class="menuBar"></div>
   <div id="About" class="menuTrigger">About Us</div>
   <div id="Services" class="menuTrigger">Services</div>
   <div id="Samples" class="menuTrigger">Samples</div>
   <div id="Contact" class="menuTrigger">Contact Us</a></div>
   <div id="mnuAbout" class="menu">
   <p>About 1</p>
   <p>About 2</p>
   <p>About 3</p>
   <p>About 4</p>
   <div id="mnuServices" class="menu">
   <p>Services 1</p>
   <p>Services 2</p>
   <p>Services 3</p>
   <div id="mnuSamples" class="menu">
   <p>Samples 1</p>
   <p>Samples 2</p>
   <p>Samples 3</p>
   <p>Samples 4</p>
   <p>Samples 5</p>
   <div id="mnuContact" class="menu">
   <p>Contact 1</p>
   <p>Contact 2</p>
   <p>Contact 3</p>
   <p>Contact 4</p>

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date