View Full Version : Watching Eyes Script

07-25-2005, 07:55 PM
I have this script running on my site www.davidbridgen.com

When I scroll down the page the space between the eyes and the mouse cursor increases so that eventually they are left behind and off screen.

I have sent email to the author but his mail box is full.

I wonder if anyone knows how I may change the script so that the eyes and the cursor don't get separated.

My browser is IE6.

07-25-2005, 08:55 PM
Yet another script that needs the doctype/document.body update. Here's how:

Do a global search and replace on the script:

search for:


replace all instances with:


Then put this function in the script, it can go just below the credit:

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

07-25-2005, 09:20 PM
I have made those changes John but they haven't changed the behaviour at all.

...... Sorry. Yes they have. I had overlooked one instance of document.body

Thank you.