...

View Full Version : IE6 error



heyrob
08-09-2004, 11:42 PM
I added a Drop down menu to this page and now IE6 is giving the following error. I searched through the scripts and didn't find any ocurrence of 'IE'. Any ideas on how to fix this? Thank you!

http://www.winnsims.com/robert.html

Line: 2
Char: 1
Error: 'IE' is undefined
Code: 0
URL: http://www.winnsims.com/robert.html

mlseim
08-10-2004, 04:06 AM
You have two scripts ...
Try to determine which one is in error.

<script language="javascript1.2" src="navcond.js"></script>
<script language="javascript1.2">

bradyj
08-10-2004, 06:17 AM
This should go in the javascript forum section, so all those specialist get a look at it. I'll ask a moderator to push it over there:)

Willy Duitt
08-10-2004, 07:13 AM
You are missing the browser detection part of your menu2.js....

heyrob
08-10-2004, 05:02 PM
Does menu2.js run from this page? What is the browser detection part?

Thank you.

Willy Duitt
08-10-2004, 05:09 PM
Does menu2.js run from this page? What is the browser detection part?

Thank you.

Yes, if I correctly recall you are calling the external file directly after your opening body tag....

The browser detection detects if the users is using Internet Explorer or Netscape and document.writes either divisions or layers accordingly....

That part of your script is missing and it is obvious that you got that script from somewhere on the net but there are no credits indicating where. I would suggest you return to wherever you found the script and look for the missing part(s)....

.....Willy

heyrob
08-10-2004, 05:33 PM
Thank you so much!! I removed it and the error went away. I didn't know it was there.

Thanks again.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum