SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Addict goma's Avatar
    Join Date
    Jan 2002
    Location
    smelly armpit of Asia
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DW jump menu doesn't work in frames?

    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

  2. #2
    Rehab is for quiters! spartan's Avatar
    Join Date
    Apr 2002
    Location
    Cape Town, South Africa
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #3
    SitePoint Addict goma's Avatar
    Join Date
    Jan 2002
    Location
    smelly armpit of Asia
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's this already targeting the right frame:

    ('parent',this,0)

    I can't seem to figure it out.
    http://www.soapbox101.com

  4. #4
    SitePoint Addict goma's Avatar
    Join Date
    Jan 2002
    Location
    smelly armpit of Asia
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  5. #5
    SitePoint Addict goma's Avatar
    Join Date
    Jan 2002
    Location
    smelly armpit of Asia
    Posts
    305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, I finally got it. Changed "parent" to "self"
    http://www.soapbox101.com

  6. #6
    Rehab is for quiters! spartan's Avatar
    Join Date
    Apr 2002
    Location
    Cape Town, South Africa
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •