Results 1 to 2 of 2

Thread: Chained Menu in frames

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chained Menu in frames

    1) Script Title: Chained Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ects/index.htm
    3) Describe problem: I hope this all makes since. I have setup the cahined menu and have it working, I am using 9 dropdowns. I have set the var hide_empty_list=true; and onclickaction="goto". so far everthing is working great.

    Now my problem:
    I want to have this in frames, menu in left frame and text in right frame. (not sure how to do that) I also what it so that when dropdown 1 shows up then the informaton in the right frame changes at the same time. So when a new dropdown shows up in the menu then a new page will show up in the right frame. hope this makes since. I am not sure how to do this.

    Example

    Dropdown one
    option - finish
    polished
    pearl
    hot red

    When you see this dropdown then I want a new page to open in the right frame so that I can have images and other content there.

    TH

  2. #2
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here is how you can have the menu in one frame and have the results open in another..

    Chanined menu in IFrames

    first open
    config.js and change

    FIND
    var newwindow=0 //Open links in new window? 1=yes, 0=no.

    and Change to
    var newwindow=1 //Open links in new window? 1=yes, 0=no.




    Next Open chainedmenu.js

    Find
    window.open(selectedOptionvalue)

    Replace with
    window.open(selectedOptionvalue,'myiframe')


    You will need to change 'myiframe' to the frameset that you wish to have the page open in.

    --
    "I would love to change the world, but they won't give me the source code".

    Hope this helps

    ksather

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
  •