Note - To open links in new window add
to your links in 'linkset array' - set in <head>.
Right-click - 'select all' (ctrl-a) then copy (ctrl-c) and paste to 'HEAD' of your page.
Right-click - 'select all' (ctrl-a) then copy (ctrl-c) and paste to 'BODY' of your page.
Description: Pop-it allows you to associate a dynamic menu with regular links on your page. As the mouse moves over the link in question, a menu pops up containing "sub links". Think of it as a "loose" drop down menu.
This is a great script for expanding links on your page with a 2nd level. The menu intelligently re-positions itself depending on how close it is to the edge of the browser window, so it's always in full view.
This script works in IE4+, NS4, and NS6+/Opera7+. You can specify a valid default URL for each link for other browsers to navigate to.
Configuring the menu Customizing the menu is an easy process:
1) Edit array "linkset" inside code of Step1 to specify the menu sets and their links. 2) Then, change the tags of code of Step 2 so the desired menu (ie: linkset) is associated with the link.
You can also modify the pop-it menu's visual look by changing the Style Sheet of Step 1. To modify the menu's width, first set the variable "defaultMenuWidth" in the code of Step 1. Then for a specific menu that you wish to have a different width, pass in an optional 3rd parameter (ie: "180px") inside function showmenu(), as shown in the code of Step 2.