ProgHeaven
04-03-2004, 09:42 AM
hey guys
i have a question.
i used this script for a dropdown navigation menu, but i used it in a split frame page.
now i have it php and no more frames, and i dont know what to change that it works any further.
can anyone tell me what to replace?
Thanks a lot!
here goes the script:
head:
<script language="JavaScript">
<!--
function Go(x)
{
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
//-->
</script>
body:
<select class="qbar" style="WIDTH: 170; height:170" onchange="Go(this.form.Dropdown1.options[this.form.Dropdown1.options.selectedIndex].value)" size="1" name="Dropdown1" width="170">
<option selected>::QUICKLAUNCH::</option>
<option value="live.php">Concerts</option>
<option value="/forum/index.php">Forum</option>
<option value="/chat/irc.html">Chat</option>
<option value="guestbook.php">Guestbook</option>
</select><br>
thx a lot!
i have a question.
i used this script for a dropdown navigation menu, but i used it in a split frame page.
now i have it php and no more frames, and i dont know what to change that it works any further.
can anyone tell me what to replace?
Thanks a lot!
here goes the script:
head:
<script language="JavaScript">
<!--
function Go(x)
{
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
//-->
</script>
body:
<select class="qbar" style="WIDTH: 170; height:170" onchange="Go(this.form.Dropdown1.options[this.form.Dropdown1.options.selectedIndex].value)" size="1" name="Dropdown1" width="170">
<option selected>::QUICKLAUNCH::</option>
<option value="live.php">Concerts</option>
<option value="/forum/index.php">Forum</option>
<option value="/chat/irc.html">Chat</option>
<option value="guestbook.php">Guestbook</option>
</select><br>
thx a lot!