Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: targetting frames w/ drop down menus

  1. #1
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question targetting frames w/ drop down menus

    hey guys,

    my first day on this board, hoping for a lot of knowledge; anyhow... my first thing:

    i need to know how to:
    1. target a frame w/ a drop down menu

    sort of how surfstation.lu has it (http://www.surfstation.lu)

    cheers

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    <iframe src="yourpage.asp" frameborder="0" width="383" height="425" scrolling="auto" name="sections_iframe">
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  3. #3
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow

    Quote Originally Posted by simonf
    <iframe src="yourpage.asp" frameborder="0" width="383" height="425" scrolling="auto" name="sections_iframe">
    i dno if u thought id understand much from your reply. but i dont. i know what an iframe is. i have my name set up in my frameset, and my target set in my drop down, but it's not targetting.

    so if you could, please be a little more specific. thanks.

  4. #4
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    It seemed to be working for me. One suggestion, whem you click on your documents etc, it tries to open them in the frame. I would suggest you use:

    onclick="FP_openNewWindow('400', '400', false, false, false, false, true, true, 'Resume', /*href*/'rezame2k4.pdf')">PDF</a> so a seperate window opens with the docs etc.
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  5. #5
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    dood, i'm so perplexed trying to understand you.

    i'm not trying to target a popup... isn't that what that does? cuz i just want to target a frame, in a frameset, called "rezaContent" using a drop down select form

  6. #6
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    Where is your rezaContent.htm file located. I tried http://www.restandeffect.com/rezaContent.htm but not avail.
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  7. #7
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    it's not online, i just need a code, if u need reference to a file to do it sure, but all i need is the know how, like, whta code i have to use and where...

    ill get back to u on the upload

  8. #8
    Join Date
    Dec 2004
    Posts
    177
    Thanks
    0
    Thanked 18 Times in 17 Posts

    Default

    Here, here. This one does not have a button, just loads onChange. To change a different frame, replace 'location.href=' with 'parent.theFrameNametoChange.location='

    Code:
    <SCRIPT LANGUAGE="javascript">
    
    function LinkUp()
    {
    var number = document.DropDown.DDlinks.selectedIndex;
    location.href = document.DropDown.DDlinks.options[number].value;
    }
    </SCRIPT>
    
    <FORM NAME="DropDown">
    <SELECT NAME="DDlinks" onChange="LinkUp(this.form)" >
    <OPTION SELECTED>Choose a Link
    <OPTION VALUE="scripttip1.html"> Page One
    <OPTION VALUE="scripttip2.html"> Page Two
    <OPTION VALUE="scripttip3.html"> Page Three
    </SELECT>
    
    </FORM>
    Verzeihung!

  9. #9
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    so make some sense for me, i'm sorry i'm such a beginner, my select is named "navigate" and my frame that i wanna target is named "rezaContent"

  10. #10
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    replace 'location.href=' with 'parent.theFrameNametoChange.location='

    what do i put after location=' ????

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
  •