From [[http://allwebco-templates.com/support/S_menus_dropdown.htm]]\\
and used in the ph3 website.\\

Step #1: Add code to the head section\\
Copy the following code and add it just above the </head> in your HTML webpage(s):\\
<code>
<!-- COPY THE FOLLOWING CODE AND ADD IT TO YOUR HEAD -->

<script type="text/javascript">

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>
</code>

Step #2: Add menu HTML code\\
Copy the code below and paste it anywhere into the <body> section of your HTML webpages, or in your "sidebar.htm" if your template has one (see notes below). The script can optionally be added to global .js files (menu, sidebar, header or footer). Adding to a .js file is more involved and is recommended for more experienced HTML programmers (see notes below).
<code>
<!-- ADD THE FOLLOWING CODE TO YOUR HTML PAGE -->

<form action="#" method="post" style="margin: 0px 0px 0px 0px;">
<select name="choice" size="1" onchange="jump(this.form)">
<option value="">Please Select a Link</option>
<option value="index.html">Home Page</option>
<option value="about.htm">About Us</option>
<option value="services.htm">Our Services</option>
</select>
</form>
</code>

Adding the menu to a .js file\\
If you are adding the menu to a .js file (sidebar.js, menu.js, etc.), still do step #1 above just as outlined in each of your HTML pages. For step #2, add the code to the .js file, remove the top note, and place document.write(' in front of every line and '); at the end of every line. Also see the add to .js files support page. 
