View Full Version : This is excellent script... Only the wish to change the toggle button sequence

03-27-2013, 06:44 AM
1) Script Title: Animated Collapsible DIV v2.4 (I'm using Example 4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.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/ZiWeiDouShu_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

04-06-2013, 07:31 AM
Use this modified version of the script (right click and 'Save As'):


The browser cache may need to be cleared and/or the page refreshed to see changes.

04-08-2013, 05:11 AM
This is brilliant John!

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