PDA

View Full Version : Javascript, HTML DOM and CSS - Mouse cursor not changing onmouseover.



wildboy211
26 Nov 2010, 02:33 PM
To begin, i wanted to say hi, my name is Marc, and im a internet manager at a flooring company.
Im here by myself today, im stumped on way this is not working (mouse does not change to pointer):


print "<SCRIPT LANGUAGE=\"JavaScript\">
if (window.print) {
document.write('<span style=\"font:10pt Tahoma; text-decoration:underline;\" '
+ 'onClick=\"javascript:window.print()\" onmouseover=\"javascript:this.style.cursor=pointer\"> Click here to print this page!</span>');
}
</script>";