a575606
04-18-2009, 01:13 AM
1) Script Title: Animated Collapse
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: First of all thanks for the great script! It's a real time saver. I'm using it in a web application to show/hide extra details about available promotions we have at the moment.
The problem I have is that when I click on the toggle link and the page hasn't loaded completely I get a javascript error in both IE and firefox and the div doesn't expand. If I hit the stop button and try again, it all works fine again.
I'm running the code on a local testing site and so the page loads instantaneously, but sometimes my internet connection is slow and the reason the page takes extra time to load is it is tracking the page via google analytics.
The same thing happens when I load the example page on dynamic drive, so I don't think it's something I'm doing on my page.
Is there a fix for this? I would prefer not to show the links until they're ready to use.
Thanks for your help!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: First of all thanks for the great script! It's a real time saver. I'm using it in a web application to show/hide extra details about available promotions we have at the moment.
The problem I have is that when I click on the toggle link and the page hasn't loaded completely I get a javascript error in both IE and firefox and the div doesn't expand. If I hit the stop button and try again, it all works fine again.
I'm running the code on a local testing site and so the page loads instantaneously, but sometimes my internet connection is slow and the reason the page takes extra time to load is it is tracking the page via google analytics.
The same thing happens when I load the example page on dynamic drive, so I don't think it's something I'm doing on my page.
Is there a fix for this? I would prefer not to show the links until they're ready to use.
Thanks for your help!