View Full Version : errors in Internet Explorer
GeordieSEO
05-Jan-2004, 02:50 PM
We've noticed an error in one of the catalogues we've developed for a client.
It only appears in Internet Explorer - the catalogue works fine in Opera and Mozilla (Firebird and Netscape)
The error is one of those IE script errors where the yellow warning triangle appears on the bottom left of the Status Bar.
The error is
Line 3
Character 32
Error: Expected ')'
Code 0
Interestingly if you refresh the page the error disappears.
e.g.
http://www.foundation4naturalhealth.co.uk/acatalog/Womens_Health.html
We've looked through the code and cannot see any missing )
We have seen it also on another catalogue recently.
Any ideas?:confused:
NormanRouxel
05-Jan-2004, 03:25 PM
Here's what Netscape 7.1 reported (Netscape is MUCH better at JavaScript error messages - try Tools / Web Development / JavaScript Console).
Error: missing ) after argument list
Source Code:
MM_preloadImages(http://www.foundation4naturalhealth.co.uk/images/infoOv.jpg',http://www.foundation4naturalhealth.co.uk/images/testOv.jpg',http://www.foundation4naturalhealth.co.uk/images/helpOv.jpg',http://www.foundation4naturalhealth.co.uk/images/catOv.
Now that seems to indicate that there's a missing single quote ( ' ) before every image file URL. I.e. Just before the "http" bit.
You've got an error in the <body...> tag. You have:-
<body onLoad="MM_preloadImages(http://www.foundation4naturalhealth.co.uk/images/infoOv.jpg',http://www.foundation4naturalhealth.co.uk/images/testOv.jpg',http://www.foundation4naturalhealth.co.uk/images/helpOv.jpg',http://www.foundation4naturalhealth.co.uk/images/catOv.jpg',http://www.foundation4naturalhealth.co.uk/images/homeOv.jpg',http://www.foundation4naturalhealth.co.uk/images/ForumOv.jpg');PreloadImages('top2.gif','info2.gif','search2.gif','cart2.gif','order2.jpg','logOv.gif')">
where those images you reference by URL have the missing ' character before the http bit.
Norman
GeordieSEO
05-Jan-2004, 03:46 PM
Thank you, I'll pass the information onto the web developers
:)
GeordieSEO
06-Jan-2004, 08:00 AM
This one is more odd. I've checked it with Opera and Netscape 7.1 and there are no entries in the Javascript Console for warnings but it persists in giving an error in IE6 :confused:
http://www.cedarslandscaping.co.uk/acatalog/Services.html
Error details
Line: 23
Char: 30
Error: Expected hexidecimal digit
Code: 0
Stumped :confused:
NormanRouxel
06-Jan-2004, 02:11 PM
I don't see any error message here on that page. It is very slow to load though.
Norman
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.