div自动高
#leftMain {border:1px solid #630;float:left;width:30%}
#centerMain {border:1px solid #630;float:left;width:30%}
#rightMain {border:1px solid #630;float:left;width:30%}
</style>
<body onload="test();">
<div>
<div id="leftMain">test</div>
<div id="centerMain">test<br/>test<br/>test</div>
<div id="rightMain">test<br/>test</div>
</div>
</body>
<script language="javascript">
function test()
{
document.all.leftMain.style.height=document.all.centerMain.offsetHeight + "px";
document.all.rightMain.style.height=document.all.centerMain.offsetHeight + "px";
}
</script>
div自动高
6 个重要的算法是什么?
在Firefox下Flash背景透明的问题
用mySound.loadSound调用外部声音文件,加载到场景中
用loadMovie调用外部*.swf文件
javascript赋值div