Results 1 to 6 of 6

Thread: Accordion Navigation Open/Close Problem

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

    Default Accordion Navigation Open/Close Problem

    Accordion Navigation

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

    I'm currently using the accordion navigation and when the page loads the first navigation item is open. I need them to be all closed. Then , obviously, when you click on one of the links, it slides open.

    This is my example. http://staging.awp2008.com/formservices.com/

    The first tab "Concrete Forming and Shoring" should be closed when the page loads.

    Any help would be much appreciated.

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    On menu.js, remove the defaultExpanded setting:
    Code:
    defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

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

    Default

    I had already done this and navigation still displayed in the open position.

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Do a CTRL + F5. It works pefectly now:
    http://staging.awp2008.com/formservices.com/
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I just loaded the page for the very first time (using Firefox 6, Mac) and the first menu was open.
    After refreshing, it was closed. I'm not sure why, but something complicated is going on.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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

    Default

    Yah I know. I've been all over the script that controls the functions and I can't get it straight.

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
  •