PopUp Menu JavaScript Component
jsPopUpMenu Home Read Disclaimer Our Products Download Contact Us
JavaScript PopUp Menu. This control is based on JavaScript code and was tested on Netscape and IE platforms. It is fully customized through CSS file. Fill free to mail us any questions. Our email address: contact@web4w3.com

This is a working example. Take your time to play.


CLICK RIGHT BUTTON HERE



CLICK RIGHT BUTTON HERE

Implementation


To assign pop-up menu to object:
  1. Create function with desired functionality
    function New() { alert("New"); }
    function Yahoo() { document.location="http://yahoo.com"; }
    
  2. Create menu array
    arrayMenu[0] = ["New",New];
    arrayMenu[1] = ["Go Yahoo",Yahoo];
    
  3. Setup menu width
    var menuWidth = "100px";
    
  4. Call function
    addPopUpMenu(elementID,arrayMenu,menuWidth),
    where elementID is ID of the object to assign pop-up menu.

Web4W3 team

 


home · disclaimer · products · download · contact
Google