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 +')';
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 +')';