I am using the following code to direct users to a certain page on my site, but I would like to place the menu list in the header frame at the top of the browser window and have the new page open up in the main lower frame. How would I do that? As it is now, the new page opens in the header frame!
Please help!!
--- My Code Below ---
<script language="JavaScript">
<!--
function go()
{
Selection=document.Section.SectionTitle.selectedIndex
if (document.Section.SectionTitle.options[Selection].value != "none"
{
location = document.Section.SectionTitle.options[Selection].value
}
}
//-->
</script>
<FORM NAME="Section">
<SELECT NAME="SectionTitle" SIZE="1" onchange="go()">
<OPTION SELECTED VALUE="none">Choose a Section from the Manual</OPTION>
<OPTION VALUE="none"> - - - - - - - - - - </OPTION>
<CFOUTPUT QUERY="sections">
<OPTION VALUE="section.cfm?SectionNo=#SectionNo#">#SectionNo# - #SectionTitle#</OPTION>
</CFOUTPUT>
</SELECT>
</FORM>
Please help!!
--- My Code Below ---
<script language="JavaScript">
<!--
function go()
{
Selection=document.Section.SectionTitle.selectedIndex
if (document.Section.SectionTitle.options[Selection].value != "none"
{
location = document.Section.SectionTitle.options[Selection].value
}
}
//-->
</script>
<FORM NAME="Section">
<SELECT NAME="SectionTitle" SIZE="1" onchange="go()">
<OPTION SELECTED VALUE="none">Choose a Section from the Manual</OPTION>
<OPTION VALUE="none"> - - - - - - - - - - </OPTION>
<CFOUTPUT QUERY="sections">
<OPTION VALUE="section.cfm?SectionNo=#SectionNo#">#SectionNo# - #SectionTitle#</OPTION>
</CFOUTPUT>
</SELECT>
</FORM>