Results 1 to 5 of 5

Thread: Accordian Menu Help

  1. #1
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Accordian Menu Help

    1) Script Title:

    2) Script URL (on DD):

    3) Describe problem: 1) Script Title: Glossy Accordion Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-glossy.htm

    3) Describe problem: I have this menu working great. Thank You DD!! However, I am looking for an added feature. When I click on a header, I have the option set to open a page in an iframe. When I click on the sub menu items they all open correctly in the iframe as they should. Now I want to click on the header that expanded the sub menu which closes the submenu while at the same time loading the same page in the iframe that it loaded when I expanded the submenu.

    Basically I want the header to open a specified page when it opens the sub menu and when it closes the submenu in the iframe.

    TH

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

    Default

    ddAdmin? Anyone? I need to know if this is possible to have the header load a page in the iframe when clicking to close the subnmenu. I have it already setup to load when opening a submenu...

  3. #3
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Urgent! Willing to pay someone to help me via PayPal!

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure, for your onopenclose() event inside the initialization code of the script, remove the part in red:

    Code:
    	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
    		if (state=="block" && isuseractivated==true){ //if header is expanded and as the result of the user initiated action
    			myiframe.location.replace(header.getAttribute('href'))
    		}
    	}
    This causes the header to load the designated page inside the IFRAME both when it's expanded and when it's contracted, instead of just the former.
    DD Admin

  5. The Following User Says Thank You to ddadmin For This Useful Post:

    TNHost (08-25-2010)

  6. #5
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    If you private message me, I will send a donation via PayPal for your help.

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
  •