Results 1 to 3 of 3

Thread: Accordion Menu Positioning

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

    Default Accordion Menu Positioning

    1) Script Title: Glossy Accordion Menu

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

    3) Describe problem: Footer not moving with menu

    I have only one problem with this fantastic menu. I've customised a 3 column fixed-fluid-fixed layout from Dynamic Drive and am using the equal menus script which is fabulous.

    I've got the menu installed on this page:
    http://www.oneclicksoftware.co.uk/downloads/

    The Problem

    Whenever I expand or contract the menu, the footer at the bottom doesn't move in line with the menu. When the page opens it is fine (i.e. the menu is closed), but as you expand and contract using the links, the footer doesn't move.

    Is there a simple remedy to this problem? I would love for this to be solved as I really like this menu.

    Many thanks in advance for any assistance you can provide.

    Regards

    CRTC
    Last edited by CRTC; 08-02-2008 at 08:18 PM.

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

    Default

    Try instructing Equal Columns script to refresh itself each time the Accordion menu is expanded/ contracted, by adding the line in red to the later's config code:

    Code:
    	animatespeed: "normal", //speed of animation: "fast", "normal", or "slow"
    	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
    		//do nothing
    	},
    	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
    		ddequalcolumns.resetHeights()
    	}
    })
    That should do it.

    BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice: http://www.dynamicdrive.com/notice.htm

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

    CRTC (08-03-2008)

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

    Default

    That works a treat - many thanks!

    Apologies for the missing notice - wasn't intentional! Just tearing my hair out trying all sorts of things. Have added it back in.

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
  •