I'm using a DW generated jump menu script for "dojo directory" page of this site:
http://www.aikiphil.org
The jump menu works but then it takes the page out of the frameset. Is there a way to get rid of this problem?
| SitePoint Sponsor |


I'm using a DW generated jump menu script for "dojo directory" page of this site:
http://www.aikiphil.org
The jump menu works but then it takes the page out of the frameset. Is there a way to get rid of this problem?
http://www.soapbox101.com


are you specifying a target frame when calling the page?
Spartan
---------------------
It's like our sergeant told us before one trip into the jungle. Men! Fifty of you are leaving on a mission. Twenty-five of you ain't coming back.
-Mr.Payne


it's this already targeting the right frame:
('parent',this,0)
I can't seem to figure it out.
http://www.soapbox101.com


here's the script..
in the head:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
here's the form:
<form name="form1">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option selected>Select a dojo</option>
<option value="#valenz">Valenzuela Aikido Dojo</option>
<option value="#travel">Travelers Aikido Dojo</option>
<option value="#tachi">Tachi Kaze Dojo</option>
<option value="#shinbu">Shinbu Dojo</option>
<option value="#heart">Philippine Heart Center Aikido Dojo</option>
<option value="#nueva">Nueva Ecija Aikido Dojo</option>
<option value="#misogi">Misogi Aikido Dojo</option>
<option value="#makso">Makiling Southside Aikido Dojo</option>
<option value="#maca">Makiling Calamba Aikido Dojo</option>
<option value="#maka">Makiling Aikido Dojo</option>
<option value="#kyokan">Kyokan Dojo or Bacolod</option>
<option value="#hara">Hara Aikido Dojo</option>
<option value="#barili">Barili Aikido Dojo</option>
<option value="#aikizen">Aikido Zen Dojo</option>
<option value="#aikicebu">Aikido Cebu</option>
</select>
</form>
the frame I want this page to remain in is named "content". How do I modify this script to keep it in the frameset?
http://www.soapbox101.com


ok, I finally got it. Changed "parent" to "self"![]()
http://www.soapbox101.com


I think you could also change it to 'content'... 'self' will open the new window in the same frame as the current window youre calling it from. but you can open it up in that frame, from anywhere by calling the frame name as the target...
Spartan
---------------------
It's like our sergeant told us before one trip into the jungle. Men! Fifty of you are leaving on a mission. Twenty-five of you ain't coming back.
-Mr.Payne
Bookmarks