Help please, menus

liunx

Guest
can anyone help me make a pop up or drop down menu<!--content-->here is the code for drop down scripts<br />
<br />
put this code segment in <head> tag<br />
<br />
<SCRIPT LANGUAGE="JavaScript"><br />
function formHandler(form){<br />
var URL = document.form.site.options[document.form.site.selectedIndex].value;<br />
window.location.href = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/URL;">http://www.htmlforums.com/archive/index.php/URL;</a><!-- m --><br />
}<br />
</SCRIPT><br />
<br />
put this code segment in <body> tag<br />
<br />
<form name="form"><br />
<select name="site" size=1 onChange="javascript:formHandler()"><br />
<option value="">Go to...</option><br />
<option value="http://www.1.com">Link 1</option><br />
<option value="http://www.2.com">Link 2</option><br />
<option value="http://www.3.com">Link 3</option><br />
<option value="http://www.4.com">Link 4</option><br />
<option value="http://www.5.com/">Link 5</option><br />
</select><br />
</form><br />
<br />
I think this script is very straight forward!<br />
change <!-- m --><a class="postlink" href="http://www.#.com">http://www.#.com</a><!-- m --> to the url you want, and change Link # to whatever you want to display on the drop down menu<br />
have fun playing around with it!<br />
<br />
if you want to make more advance drop down menu with graphic, then go to my site! (power by guistuff)<br />
<!-- m --><a class="postlink" href="http://www.s4u.org/tool_dropdown.html">http://www.s4u.org/tool_dropdown.html</a><!-- m --><br />
<br />
hope this helps!:D<!--content-->cheers for dat matey. i wanted that script for a while now. cheers. hope to help u in da future.<!--content-->
 
Back
Top