欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

(currentStyle)javascript為何有時用style得不到已設定的CSS的屬性

 更新時間:2007年08月15日 20:07:30   作者:  
這是按第2下蘭色的橫條才開始出效果,就是說第1下沒有獲得foot.style.display=="none",可是CSS里我定義了
<style type="text/css">
#top {width:100px; background-color:#00CCFF; height:20px}
#foot {width:100px; background-color: #CCCC00; height:50px; display:none}
</style>
<script language="javascript">
<!--
function qa(){
if (foot.style.display=="none") {
foot.style.display="block";};
else {
foot.style.display="none";}
}
-->
</script>
</head>
<body>
<div id="top" onclick="qa()"></div>
<div id="foot">
</body>

相關文章

最新評論