Taxonomy dhtml causes script delay issue in IE7

tk_segal - March 13, 2007 - 12:48
Project:Taxonomy dhtml
Version:5.x-2.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

The taxonomy_dhtml module operates correctly in Firefox 2.0.0.2 but not in IE 7.0.5730.11.

If I enabled the taxonomy_dhtml module IE7 starts to return script errors whenever displaying a content page. The error "Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive".

This behaviour occurs whether or not taxonomy blocks are enabled on the sidebars. The module appears to work correctly in FireFox. If the module is disabled the web page operation returns to normal.

Server setup: drupal 5.1 ; PHP 4.4.4 ; MySQL 4.1.21-standard ; Linux 2.6.17.11-grsechg ; Apache 1.3.37
Client: Windows XP Professional

#1

meba - March 13, 2007 - 14:11
Status:active» postponed (maintainer needs more info)

I am unable to reproduce this. Can you please try this on: http://blogprofile.drupal.cz/ and tell me if it does the same? If possible, provide your URL please.

#2

tk_segal - March 14, 2007 - 10:11

I could not reproduce the problem on: http://blogprofile.drupal.cz/

My site is http://www.ativar.com

I have switched the site back to the default theme just to be as basic as possible. The problem exists whenever I enable the taxonomy_dhtml module.

Any suggestions welcome.

#3

meba - March 14, 2007 - 10:51

Well, debugging in Internet Explorer developer toolbar is not easy as i thought.
However, i tried installing Bookmark Us module on my site to test it, but this is not the problem.

I see one more empty javascript on your page, it's the last <script> tag, can you disable it please? Please enable Garland theme too.

Thanks

#4

tk_segal - March 15, 2007 - 12:59

Not sure if this helps but.
I disabled all modules except the taxonomy_dhtml and the problem went mostly away. It still seemed to hang for awhile but not long enough to trigger the timeout script error. I then put modules back until I started seeing the problem again. The problem appeared but while I was thinking about it I thought I'd try to simplifying things by using only the left hand menus and not both left and right. When I use a two column model the problem doesn't appear (althought the site is) but when I switch to 3 column the problem re-appears. It isn't just the 3 columns though. If I put just one block on the right there is no problem but when I put a few the problem returns.
BTW: The garland theme explodes when you use 3 columns.

#5

k2s - October 27, 2007 - 19:09

I was able to debug this problem in IE7 with Visual Web Developer 2008 Express (http://www.berniecode.com/blog/2007/03/08/how-to-debug-javascript-with-v...).

The problem occurs in file menuExpandable4.js on line 10:
$(".menubar").css("background-image", "url(/" + modpath + "/plus.gif)");
That is a call to JQuery function which gets frozen.

I solved the problem by downloading latest packed version of JQuery from http://docs.jquery.com/Downloading_jQuery#Current_Release and replaced the file /misc/jquery.js with it.

Hope it will help you as well.

#6

darthclue - April 12, 2009 - 04:14
Assigned to:tk_segal» Anonymous
Status:postponed (maintainer needs more info)» closed

This module is no longer being actively developed as it duplicates functionality that can be obtained through the usage of taxonomy_menu ( http://drupal.org/project/taxonomy_menu ) and dhtml_menu ( http://drupal.org/project/dhtml_menu ).

 
 

Drupal is a registered trademark of Dries Buytaert.