Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does this javascript crash IE on a PC?

Status
Not open for further replies.

TrevorH

Programmer
Jan 9, 2001
9
US
Hi,

I've written an interactive, javascripted quiz to help students learn the plant families. It works fine in Netscape, but it consistently makes Internet Explorer 5.0 crash on a PC. Could someone give me some idea of what's going wrong?

The quiz is located at:

To make it easy to test, I've set it up for a quiz on Asteraceae. All you have to do is go to the bottom of the page and click on "Start Quiz." Then the correct answer for each photo is "Asteraceae" or just "Aster."

If you go through the quiz by just clicking on "New Photo," it works fine. But if you actually put in a few correct answers, the browser crashes. I thought it might be a memory problem related to the "innerHTML" updates, but that should cause the same problem when you click on "New Photo."

Any ideas? I'd also like to hear how the quiz responds in IE 5.5 and IE 6.0.

Thanks!

- Trevor
 
It crashes in IE 5.5 also. There's quite a lot of script in there, but at first look there's a line near the top of the <BODY> section with winW = (is_nav) and I can't find a reference to the (is_nav) anyplace else. Does it need to be defined? As I say, it was a quick look, so I didn't really get the gist of the code.

Hope this helps
 
I tried it several times with different options and different numbers of correct answers on IE 5.5/Win2k and didn't have any problems...
What OS are you guys testing it on?
 
It might be the same problem I posted about a week ago, that IE was crashing when I tried to download either Netscape or IM from the Netscape site. It seems like their script is causing IE to crash.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top