It is your doctype declaration that is throwing things off. The script isn't compatible. The script can be made compatible in two steps:
1) There are 8 occurrences of:in the script. Change all 8 to:2) At the top of the script, right after the credit:
Code:
/*
Image w/ description tooltip- By Dynamic Web Coding (www.dyn-web.com)
Copyright 2002 by Sharon Paine
Visit http://www.dynamicdrive.com for this script
*/
put this function:
Code:
function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}
so it looks like this:
Code:
/*
Image w/ description tooltip- By Dynamic Web Coding (www.dyn-web.com)
Copyright 2002 by Sharon Paine
Visit http://www.dynamicdrive.com for this script
*/
function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}
/* IMPORTANT: Put script after tooltip div or
put tooltip div just before </BODY>. */
That's it.
Bookmarks