PDA

View Full Version : Mike's DHTML scroller IE8



northshore
12-09-2009, 06:58 PM
1) Script Title: Mike's DHTML scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/mikescroll.htm

3) Describe problem: I'm having a problem with this dhtml script - the script runs fine without a document declaration, but when I add the following to the document : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

It stops working..

Here is the error IE8 returns:

Webpage error details

Message: Invalid argument.
Line: 217
Char: 5
Code: 0
URI: dhtmllib.js




Here is line 217:

layer.style.clip = 'rect(' + cliptop + ' ' + clipright + ' ' + clipbottom + ' ' + clipleft +')';

frid4y
02-18-2010, 06:04 PM
did you find out the problem???
I have the same issue and i cannot find out what to do. works perfectly though in compatibility mode but that is not the case.

jscheuer1
02-18-2010, 07:44 PM
Try:

http://www.dynamicdrive.com/dynamicindex2/crosstick.htm