-
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.
-
-
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks