Javascript Tools
Browser Redirector
Drop Down Generator
Custom Pop Ups
Resolution Redirector

DHTML Tools
Customise Forms
Customise Scrollbars
Customised Cursors
Floating Layer

Developer Tools
Colour Picker
W3 Validator

Internet Tools
Country Code Lookup
Domain Lookup
Multiple Search Engine
Network Query Tool

Suggest an Online Tool
If there is a tool that you would like created, or linked to, please do let me know and i'll create it for you!
Purpose of Tool:

Link to similar tool:

Email Address:


Additional Information:

       

Online Tools: Drop Down Menu

This tool will let you easily create a drop-down menu.
Fill in the fields below and let this page do the javascript programming for you.
The menu supports both MSIE3+ and NS3+ browsers, and will work within frames
Use the example below to test it for yourself!


Load selected page immediately
Use a button to load selected page

TEXT IN MENULINK TO JUMP TO





















     

Copy the following code into the <HEAD> of the page
NOTE: If you add more than one menu to your page, do not paste the above code more than once.

<script>
<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->
</script>


Copy this to the <BODY> of your page, where you want the menu to appear:




The menu also works with targets to open links in specific frames or new windows. Simply add an asterisk ( * ) after the link - then specify the target.
For example: To add the target "_blank", use this syntax:

http://www.yahoo.com*_blank

    Predefined targets are:
  • _blank : Open in new window
  • _parent : Open in superior frame
  • _top : Cancel all frames and open in current window

FRAMESET TARGETS:
If your page is divided into a frameset, you can also enter the name of a framewindow as a target. This will open the link in the specified framewindow.
For example: If you want Yahoo to open in a framewindow called MAINWINDOW you would enter this url:

http://www.yahoo.com*MAINWINDOW



Discuss this in the Forum  

Search HeaphyDesigns



Stored Pages



Change Site Style
Select a style for the site:




More information