Results 1 to 2 of 2

Thread: Bullet List Accordion Menu Gap

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Question Bullet List Accordion Menu Gap

    Bullet List Accordion Menu

    http://www.dynamicdrive.com/dynamici...enu-bullet.htm

    is it possible to reduce the space between 2 top level menu (or i should say UL)? I tried to look at the CSS code and reduced the number for margin-bottom: 0px; /*bottom spacing between each UL and rest of content*/, but no luck.

    also how can i default the script to collapse all menu when page load, because the first expandable link open whenever i enter the page. I changed the defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content to [], but still not working.

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

    Default

    Regarding #1, there are actually many threads on this already. Please do a search. In a nutshell, it really depends on the rest of the CSS on your page. You'll need to play around with the CSS definitions.

    Setting defaultexpanded: [] should do it, provided that you also have persistence turned off inside the script.
    DD Admin

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
  •