[Album Select] causing IE script warning
|
picdude
Joined: 2006-06-13
Posts: 72 |
Posted: Fri, 2009-06-19 15:48
|
|
Gallery URL = http://www.photosbybailini.com/g2/main.php I have been using the Album Select all along in the "tree" configuration. About a month ago, I started seeing this warning when I was logged in as Admin: Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues, your computer may become unresponsive. Yes/No If I click "yes", the album tree does not load, which is how I know that the problem is in there. Now I'm getting this warning even when I'm not logged in.... and so are all of my customers who are using IE. I've deleted and reinstalled the latest release of Album Select and also IE 8, but still getting the warning. It ONLY happens with IE. Mozilla, Opera, Safari, etc don't have this problem. My host is at a loss for ideas as am I. Thanks, PS. if you go to the url using IE, you can see the warning for yourself. |
|
| Login or register to post comments |

Posts: 16153
Does it work with another theme?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 72
Hi Dave,
I tried it with a few different themes and still got the same script warning. The only one that did not produce the warning was the Floatrix theme (flash based) but I wasn't keen on the appearance. Also, there is not much customization available with Floatrix (copyright footer, logo, etc)
I've since had to disable the DHTML Album Select module because it was starting to freeze up my machine. It's unfortunate. The album tree was very handy for navigating my Gallery...
Andrew
Posts: 16153
I can only assume that you have too many items/albums for the browser to handle all the javascript.
I bet that the regular html ( dropdown ) album select module will work.
It could be modified to use css to get the same effect but you woul have to have <li> and css experience to make it all work.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 72
I came to the same assumption. When this first started, I could click "no" and the page including the problem script would load normally. Now, if I click "no" the page freezes up. Since I've added a few more events, it makes sense that there is a finite number of albums the script can process. You are correct, though, that the dropdown album select works fine. However, I have way too many albums to make it practical.
If you or any other developers who may be reading this have the inclination to delve into it further, my suggestion would be to have the script read only the top level albums as needed. Then, when one branch is opened, it can access the album info for only those sub-albums. Since I don't have any script experience, though, I don't even know if that is possible.
Thanks,
Andrew
PS. as a point of curiosity, does it make sense to you that this was only happening with IE? If it's a script problem, then shouldn't it happen regardless of which browser is accessing it? That's one thing I can't wrap my head around...
Posts: 16153
Why only IE you ask? If it works in most browsers it is not a script bug it seems to be a resource memory issue with IE. WHy....That is a question for the guys and gals in Redmond.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 72
now, THAT is interesting! With all the scripts on all the websites in the global community, it took my little ol' album select to find IE's limit.
I may follow up with them....
Thanks Dave.