Results 1 to 2 of 2

Thread: Animated Collapsible DIV

  1. #1
    Join Date
    Jul 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV

    1) Script Title: Animated Collapsible DIV

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

    3) Describe problem:
    The script does not remember if the div was closed or open in its last state, it is always closed.
    These are the settings:
    animatedcollapse("footer_expand", 400, true, "block")

    I want it to be opened by default and the script to remember the last state: open or closed.

    Edit: With firefox the script remembers the last state when opening and closing tabs, but when you restart the browser it forgets the last state.
    Last edited by vuurvos; 07-13-2007 at 08:59 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's how it works, from the demo page:

    A persistence feature that if enabled will remember if a DIV has been expanded, and upon the user's return to the page within the same browser session, keep it expanded.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •