Results 1 to 3 of 3

Thread: This is excellent script... Only the wish to change the toggle button sequence

  1. #1
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up This is excellent script... Only the wish to change the toggle button sequence

    1) Script Title: Animated Collapsible DIV v2.4 (I'm using Example 4)

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

    3) Describe problem: There is NO problem with the script. But it would even be better if there's a possibility to reduce the delay in toggle button image change.

    At present: Click Button --> Window expands --> Button image changes (button image change delayed)
    Desired: Click Button --> Button changes + Window expands (simultaneous reaction)

    The same button supposedly serve to collapse the window upon another click. However, due to the above delay in button change, it looses visitor's focus. As a result visitor later may have trouble finding where to collapse the window. This happens to my case as the position of window that expands is not directly under the button.

    Refer: http://www.sensingdestiny.com/ZiWeiD...Questions.html

    Would an image sprite help? Or would a button change sequence help (meaning toggle change precedes window expands)

    Would really appreciate if anyone can help improvise this.
    This is really a good script

    Thanks so much
    Last edited by SDest; 03-27-2013 at 12:14 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,936
    Thanks
    43
    Thanked 3,192 Times in 3,155 Posts
    Blog Entries
    12

    Default

    Use this modified version of the script (right click and 'Save As'):

    animatedcollapse.js

    The browser cache may need to be cleared and/or the page refreshed to see changes.
    Last edited by jscheuer1; 04-06-2013 at 07:40 AM.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    SDest (04-08-2013)

  4. #3
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    This is brilliant John!

    Thanks so much.. and it's now working beautifully. Awesome!

Similar Threads

  1. Sliding divs and toggle button.
    By pxlcreations in forum JavaScript
    Replies: 0
    Last Post: 02-06-2011, 04:56 PM
  2. Ultimate slideshow play/pause toggle with image as a button
    By Wallan in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-15-2011, 08:40 PM
  3. Refresh page Script - stop/start toggle button
    By bayswater in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-21-2008, 07:31 AM
  4. Thumbnail viewer - excellent script!
    By aidanhaylock in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-10-2007, 03:33 PM
  5. Replies: 0
    Last Post: 12-22-2006, 02:36 PM

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
  •