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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java "Error on Page" in MSIE

Status
Not open for further replies.

tyleri

Programmer
Jan 2, 2001
173
US
I have been trying to figure out why MSIE shows the "Error on page" at the bottom of the page when I click on one of these menu items. I posted the menu (without graphics or links) to a temporary site if someone was interested in looking at my menu to see what the problem might be.

The problem does not have to do with the missing graphics or the fact that there are no linked pages, cause it works fine on my machine with the full version of the site, except for that error message...

Here's the link:
Thanks for checking it out!
 
Just a thought ... is it possible to do this (example on line 278)?

document[BB.p].src = BB.mOff

Greg.
 
Nope, didn't do the trick unfortunately - nice observation though :) Anyone else have any ideas???

 
Perhaps you misunderstood ... I mean, is that syntax allowed in Javascript? i.e. "nested" arrays? I'm not sure, but am hoping someone will!

Greg.
 
that syntax is allowed, but I'm not sure what the problem is... that page is using a lot of code to do something that could be accomplished much more simply than they are doing so... does it have to be NS4.X- compliant? jared@aauser.com
 
Yes, it has to be NS4.x compliant, and I am also aware of the fact that there is much more code than needed - I was asked this morning to "troubleshoot" the code, and came up with nothing - too bad I don't have time to rewrite that code in a more simplified manner.... but... hopefully someone will catch the problem! I'm still searching through for errors...
 
Perhaps the problem lies in the html section?
 
I think not... where was it originally used? jared@aauser.com
 
Another department in this company wrote the code for this site last July - it has taken this long to get the rest of the site up and almost running... but basically the code was written for this. It's a shame because everything appears to function properly (except for the error message at the bottom). That makes things frustrating! I really appreciate all the help so far!
 
No problem... if its working, and you need a quick fix, you could use try/catch blocks for IE (and onerror event for netscape?). jared@aauser.com
 
Where and what is "try/catch blocks for IE"?

How do I find/ use this? Thanks again
 
try
{
some statements that may have an error
}
catch(exception)
{
some statements to handle the error (or nothing in ur case)
} jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top