PDA

View Full Version : Help needed with cursor trail



Ian Thorne
03-01-2005, 10:39 AM
Hello,

http://www.dynamicdrive.com/dynamicindex13/kisstrail.htm

I trying to use this script (see link above), but i have problems with firefox and safari on the mac. The pictures stay in the upperleft corner.
I can't find out why the browsers do not support the script.

Does anybody know why?

tnx Ian.

Ian Thorne
03-01-2005, 04:47 PM
I discovered that it's works when i remove the doctype and let the page start with the <html> tag.
but i do not why?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

does anybody know why?

tnx greetz ian.

jscheuer1
10-03-2005, 08:03 AM
The script needs to be updated. Change all instances of:

document.body

in the script to:

iecompattest()

Then, add this just below the credit block:

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}