Results 1 to 4 of 4

Thread: CSS Accordion Menu closed on start up

  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default CSS Accordion Menu closed on start up

    Hy,
    i want to use the menu http://www.dynamicdrive.com/dynamici...enu-bullet.htm

    Now i want to customize it.
    On Start up i want that all menuheaders are closed.
    And i want that the space between the headers is not so big.

    Where do i have to make changes for my customization?

    Thanks for your help

    Mork

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I don't know about the space, but to close all menus on startup make sure this line looks like this:
    Code:
    defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
    The red part explains what you can change and how.

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

    Mork (12-02-2008)

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

    Default

    Thanks for your help.

    Now i only need to know were i can change the space between the menu parts.

  5. #4
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Another question is i want to make an on click event when i open the header,
    where do i have to make the changes for this.
    An example event is show an picture on the website or make an url link.
    Thanks

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
  •