Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Folder tree in IE


Message #1 by speedguru@m... on Mon, 10 Dec 2001 12:53:14
Double-check your code to make sure that you do not have an infinite loop.
The error message you are getting is indicating that this could be the
problem.  I sometimes forget "objRec.MoveNext" when looping through a
database, so perhaps this sort of thing could be at the root of your
problem.

Cheers -

George L Smyth

 -----Original Message-----
From: 	speedguru@m... [mailto:speedguru@m...] 
Sent:	Monday, December 10, 2001 7:53 AM
To:	javascript
Subject:	[javascript] Folder tree in IE

hi,
I'm working on a data-driven ASP page that uses Marcelino Martins famous
Folder tree - <http://www.geocities.com/Paris/LeftBank/2178/foldertree.html>
I have nearly 400 items spread across 91 sub categories and 13 categories in
3 levels of the hierarchical tree.
While the script gives me the expected output in IE & Netscape, i get a
message 'A script on this page is causing Internet Explorer to run slowly.If
it continues to run, your computer may become unresponsive.' when i run the
script in IE 
I optimized the server-side code as much as i could but i believe it didn't
help much
The FAQ recognizes this as a known problem & suggests 2 options
1) split the tree into smaller trees that the user accesses from an
2) try the licensed Essence's version.

Both the suggestions don't help me much because of the peculiarity of my
app. The Essence's version <http://www.essence.co.uk/foldertree/> contains a
huge amount of uncommented Javascript code,too daunting to tweak , to adapt
it to my app. I guess a lot of people may have faced a similar problem. Can
anybody suggest a work-around to the IE issue ?
thanks for your time.....
:-)rk



  Return to Index