嗨万一整页提交trasparent div id来改变光标'等待'。现在,当页面被提交并且新页面出现时,光标仍然保持'等待'不变为默认状态,直到鼠标移动到Firefox中为止JavaScript的鼠标光标更改页面加载在Firefox浏览器3.5
这里是简单的html点击显示按钮div当用户将鼠标移到div光标正在改变为等待光标。现在,当这个页面被再次加载按F5光标停留在Firefox中等待光标在IE它的做工精细,有没有办法使光标默认的页面加载在Firefox
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style>
body {
cursor:default;
}
</style>
<script src="js/jquery.js"> </script>
<script>
var test = true;
$(document).ready(function() {
$('#maindiv').css('display','none')
});
function showDiv() {
$('#maindiv').css('display','block')
}
</script>
</head>
<body>
<div id="divBody" style="background-color:red;width:500px;height:500px" >aa
<div id="maindiv" style="background-color:#999999;height:100$;width:400px;height:400px;cursor:wait">
sss
</div>aa
</div>
<input type="button" value="show" onclick="showDiv()"/>
</body>
</html>
验证。验证。验证。 http://validator.w3.org/ – Quentin 2010-03-16 11:12:46
我想这个问题已经有一个bug报告了:[bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=511151) – 2010-03-17 06:49:52