Posted by rodney.rollison on April 11, 2012 at 9:00pm
Here is my page:
http://ok.gov/sde/website-z-guide
On IE7 and 8 it will not load completely, get popup message stating javascript is running to slow. I know it has something to do with the length of page as other pages load fine, something in IE is parsing that whole page over and over I think..I've tried various things by turning off jcarousel and rotating-banner, but still get the same message.
Any thoughts on how to fix this?
I know Drupal and IE7 and 8 don't get along, but wondering if anyone else had this issue on longer pages.
Thanks.

Comments
I'm having the same problem
I'm having the same problem but only when loading another date field in one of my content types. Luckily, I haven't had to add any new content types with multiple date fields recently.
Here's one of the issues I started: http://drupal.org/node/1395664
Maybe if we cross reference the similar modules we can find the culprit?
Guess..
My guess it is either the jcarousel or rotating_banner module simply finding a way to loop infinitely someplace, but I haven't found the place it is happening.
in Oklahoma?
Tracy, do you live in Oklahoma?
Rodney
As I recall, IE7 has a limit
As I recall, IE7 has a limit to the number of external files it can load. There are a couple of things you could try:
To enable compression, go to Site Configuration > Performance > select the Enable compression radio options (D6) or Configuration > Performance > Aggregate checkboxes (D7).
To move your JS calls to the footer, get into page.tpl.php (D6) or html.tpl.php (D7) and find
print $scriptsand place it directly before your$closuretag (make sure it's inside of the PHP brackets). Since JS files are loaded sequentially in IE7, this may be bogging the browser down.There are tools out there such as http://jscompress.com/ that will allow you to upload your JS files and combine and compress them.
Still not working..
Thanks for the tips guy. I have tried all your suggestions and unfortuneatly I still have the same issue. Matter of fact moving the JS to the footer area actually made a couple things worse...
I believe something is running on it constantly somewhere (like an infinite looping in the javascript or jquery someplace) - just doesn't throw any errors that I can see.
After telling IE7 to continue
After telling IE7 to continue running the script(s), I was able to load the site with working rotating banners and the carousel at the bottom.
My next step would be to break up larger tasks into smaller ones with a setTimeout between them. Here's a way to do that: http://www.picnet.com.au/blogs/Guido/post/2010/03/04/How-to-prevent-Stop...
Compression is your Friend.
I have looked at your page for sure do what cjarmstrong suggests. I would also add you may want to import that large js function via a drupal_add_js instead of adding it to your tpl file. This way it can be compressed with all the other js and css files.