亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

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

 更新時(shí)間:2007年08月15日 20:07:30   作者:  
這是按第2下蘭色的橫條才開(kāi)始出效果,就是說(shuō)第1下沒(méi)有獲得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>

相關(guān)文章

最新評(píng)論