PDA

View Full Version : Javascript errors in IE


mattym
08-22-2003, 11:34 AM
Hi there,

I am having trouble with internet explorer and javascript.

Most pages with javascript seem to run fine, and then others come up with an error saying 'class not registered'. I have tested these pages on other machines and they are fine.

I was running IE 5.5 and have upgraded to 6 but I still have the same problem.

Has anyone else had this problem, or does anyone know how I can fix it?

many thanks

Matty

Danne
08-22-2003, 01:56 PM
Can you show us some code or post a link to the page with errors?

mattym
08-22-2003, 02:03 PM
Hi,

Ok, here's a page in which it occurs:

http://www.dynamicdrive.com/dynamicindex14/pixelate.htm

and he's the error message:

Line: 251
Char: 1
Error: Class not recognised
Code: 0
URL: http://www.dynamicdrive.com/dynamicindex14/pixelate.htm

thanks very much

Matty

fredmv
08-22-2003, 02:28 PM
I'd suggest re-installing IE.

Actually -- I'd suggest un-installing IE and installing Mozilla Firebird. :thumbsup:

Kor
08-22-2003, 03:50 PM
That script works fine for me, and I have IE 6 ...!! I see no JS errors at all

Cymru
08-22-2003, 03:59 PM
Works fine for me in IE6 as well.

I suggest you do what fredmv said. ;)

brothercake
08-22-2003, 04:10 PM
"class not registered" is what happens when you try to set a filter property for IE5.0 or the first build of 5.5 (they worked from the second 5.5 build onwards).

I think you should be to solve it by more precisely qualifying the filter functions, for eg:

if (ie55 && document.images.slide.filters.length > 0) { document.images.slide.filters[0].apply(); }