Hi Guys,
I have a website with frames in it. I used a jumpy combo box to link onto the same page but different area of the page. It is something similar to using an anchor. For Example <a href="#AA"></a>. I want to use the combo box to jump around the same page but different spot. Everything was successful except when I click on the Combo Box my "FRAME" doesn't show anymore. I notice that my url changed. I think because I linked to the actually page instead of the page with the frame.
Can you guys please help me to figure this out!
So my point is to use the combo box that can be linked inside a page with the frame intact.
Kimly
Here is the script and the html code
Script:
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
html:
<form name="form1">
<select name="select4" onChange="MM_jumpMenu('parent',this,1)">
<option selected>Go to.... </option>
<option value="html#19">11-19-2000</option>
<option value="html#20">11-20-2000</option>
<option value="html#21">11-21-2000</option>
</select>
</form>
I have a website with frames in it. I used a jumpy combo box to link onto the same page but different area of the page. It is something similar to using an anchor. For Example <a href="#AA"></a>. I want to use the combo box to jump around the same page but different spot. Everything was successful except when I click on the Combo Box my "FRAME" doesn't show anymore. I notice that my url changed. I think because I linked to the actually page instead of the page with the frame.
Can you guys please help me to figure this out!
So my point is to use the combo box that can be linked inside a page with the frame intact.
Kimly
Here is the script and the html code
Script:
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
html:
<form name="form1">
<select name="select4" onChange="MM_jumpMenu('parent',this,1)">
<option selected>Go to.... </option>
<option value="html#19">11-19-2000</option>
<option value="html#20">11-20-2000</option>
<option value="html#21">11-21-2000</option>
</select>
</form>