posts - 12,  comments - 2,  trackbacks - 0
CSS


 <div id="layer1" style="display: none;">
</div>
style.display=='none'表示将该对象隐藏

如果当layer1对象中style的display属性为"none"时,
将其style的display属性改为"",即不隐藏,将它显示出来

如:
if (values=="31")
{
layer1.style.display="";
}
else{
layer1.style.display="none";
}

layer1.style.display="" 将其样式显示出来





posted on 2007-09-05 15:13 doodoosun 阅读(126) 评论(0)  编辑  收藏 所属分类: Struts_Spring

只有注册用户登录后才能发表评论。


网站导航:
 

<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

常用链接

留言簿(1)

随笔分类(6)

随笔档案(11)

文章分类(30)

文章档案(34)

搜索

  •  

最新评论

阅读排行榜

评论排行榜