怎样用onclick事件动态的改变层的高低?
lyo 2003-12-24 02:47:51 我用
<a href="###" onclick='document.all("his").style.height=(document.all("his").style.height=="300")?"120":"300"'>hiay</a>
<div id="his" style="overflow:scroll;width:497px;height:300; border: 0px solid #000000">
<table .... ..
.......
为什莫不可以啊?哪里错了?请指点!