藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年8月25日 8:28

請教:如何控制iframe的滾動和顯示區域?急!!!

如何控制iframe——只讓它「豎向滾動」 ???

顯示區域的大小如何控制呢??

謝謝!!

如何去除「橫向滾動條」????

請高手指教!!!謝謝!!!

<body style="overflow-x:hidden">
[html]
<iframe id="a" width=100 height=100>
</iframe>
<input type="button" value="大" onclick=aa()>
<script>
function aa()
{
document.all('a').width*=1.1
document.all('a').height*=1.1
}
</script>
[/html]




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com