Results 1 to 2 of 2

Thread: Menu Header Won't Close

  1. #1
    Join Date
    Oct 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Menu Header Won't Close

    1) Script Title: Bullet List Accordion Menu

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

    3) Describe problem: I've copied the code onto my site and it works wonderfully except that whenever someone goes to my site the first menu header is expanded. (Like when you go to http://www.dynamicdrive.com/dynamici...enu-bullet.htm and the "CSS Library" header is already open) Can anyone tell me how to make it so all the headers are closed when a visitor first reaches me site? Thanks!

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Try changing this
    Code:
    defaultexpanded: [0],
    to
    Code:
    defaultexpanded: [],
    hope that does it

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
  •