I need help!! how would i make a drop down (HTML) menu go over Iframes or other frames? Please I need help soon!!
help on a drop down menu!! Please Read!!
| mistuh griddlez wrote: |
| I need help!! how would i make a drop down (HTML) menu go over Iframes or other frames? Please I need help soon!! |
Hi, it+s quite simple...
here is the code to put in the <body> </body> section of your site:
<SCRIPT LANGUAGE="JavaScript">
<!--
function JumpTo(form)
{
i = form.elements[0].selectedIndex;
window.parent.frames['self'].location = form.elements[0].options[i].value;
}
//-->
</SCRIPT><FORM METHOD=POST ACTION="#" onSubmit="return false">
<SELECT>
<OPTION VALUE="link1.htm">Item1
<OPTION VALUE="link2.htm">Item2
<OPTION VALUE="link3.htm">Item3
</SELECT>
<INPUT TYPE=Submit NAME="Submit" VALUE="Go to" onClick="JumpTo(this.form)">
</FORM>
have fun with it...
Thanks but one more question how would i get those links to go to the bottom frame named "bottom"?
Is this Drop down with Iframe looks like this one http://nllballers.com/files/ when you select from the drop down box it will show the Drop down buttons everytime
