Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Animated Collapsible DIV v2.4 - Updating it

  1. #11
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    yes...is that possible?

  2. #12
    Join Date
    Aug 2004
    Posts
    9,896
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Ok, inside the .js file, try commenting out the line below:

    Code:
    				// ac.divholders[this._divids].$togglerimage.attr('src', (ac.divholders[this._divids].$divref.css('display')=="none")? $togglerimage.data('srcs').closed : $togglerimage.data('srcs').open)
    DD Admin

  3. #13
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    hi

    i tried it but no luck

  4. #14
    Join Date
    Aug 2004
    Posts
    9,896
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    I just tested the script out again with the changes mentioned above, and it does work. Just to reiterate, what the new code does is to show whatever image is defined in the "src" property of the toggler button initially regardless of its corresponding content's state (closed or opened), and then as soon as the user starts interacting with the button, to override that with either the closed or opened image depending on the content's state.
    DD Admin

Similar Threads

  1. Animated Collapsible Div
    By Adamtrigg in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 03-30-2010, 09:22 PM
  2. Animated Collapsible Div
    By dannyboy83 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-13-2009, 07:14 PM
  3. Animated Collapsible DIV
    By jmueller0823 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-26-2008, 07:50 AM
  4. Animated Collapsible Div and animated gifs
    By flangeway in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-22-2008, 02:57 AM
  5. Animated Collapsible DIV - Collapsible DIVs inside collapsible DIV
    By ekin in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-26-2007, 02:03 AM

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
  •