Cut & Paste Combo Box with "open in alternate window" option
13602Cut & Paste Combo Box with "open in alternate window" optionhttp://wsabstract.com/script/script2/combocheck.shtmlA regular combo box with the added feature of allowing the selection to be opened in a set secondary window.
Cascading Menus can be described as drop down boxes that change do to a selection in a previous drop down box. MenuGen customizes the javascript code written for cascading menus by Alan King and company at webreference.com, which is tried and true code that has been tested across platform and browser (at least according to them!). To see an example, click here.
MenuGen currently only handles 2 drop down boxes (changing values in box1 changes box2). (For multiple drop down boxes, see the docs at webreference.com). In this situation, the values in box1 are static and printed directly as normal HTML. The corresponding box2 options will also be copied into the HTML as well as the javascript for full functionality.
This Javascript will display an ordinary-looking menu . Once a link is selected, the visitor is automatically taken to the website without hitting 'Go!' or anything. If you use this script, please leave a link to our site in the pulldown menu!
Fill in the required information
Generate the source (button at bottom)
Preview your script (button at bottom)
Copy and Paste the 'Source Code' into your HTML page
Note
If you choose Load selected page immediately, no action occurs for the first Link URL.
Leave Link URL blank on the lines where you want the text entry to act as a divider or a menu header.
After the user selects an option in the pulldown menu, the new page opens in a new window! This is useful when linking to sites not within your site when you do not want the user to leave your site. Your site will remain open in the other window so the visitor can come back to it when the are finished with the popup page. You can even control the size of the popup window, whether it has scrollbars, menubars, toolbars, etc.
Paste the code from above between the and tags on your page, exactly where you want the drop box to appear.
Change the text in red in the Text to Change Section below to the correct web addresses and link titles for your site. Change the image url to the url of the image you decide to use. If you want to use the one shown here, download it by right-clicking the image below.
Check the Format Window to be sure you do not have one single line of code, or too many line breaks in the code.
You can add more link options to the drop box by adding additional
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.