字號縮放
讓文字大點(diǎn),讓更多的用戶(hù)看的更清楚。(也可以把字體變?yōu)榘俜直葋?lái)實(shí)現)
<script type="text/javascript"> function doZoom(size) {document.getElementById('zoom').style.fontSize=size+'px';} </script> <span id="zoom">需要指定大小的文字</span> <a href="javascript:doZoom(16)">大</a> <a href="javascript:doZoom(14)">中</a> <a href="javascript:doZoom(12)">小</a>添加到收藏夾
<a href="javascript:window.external.addFavorite('http://鏈接','說(shuō)明');">添加到收藏夾</a>設為首頁(yè)
<a href=# onclick=this.style.behavior='url(#default#homepage)';this.setHomePage ('http://鏈接');>設為首頁(yè)</a>打開(kāi)窗口即最大化
<script language="JavaScript"> <!-- Begin self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) // End --> </script>
跳轉菜單新窗口
<select name="select" onchange="window.open(this.options[this.selectedIndex].value)"> <option value="http://www.microsoft.com/ie"> Internet Explorer</option> <option value="http://www.microsoft.com"> Microsoft Home</option> <option value="http://msdn.microsoft.com"> Developer Network</option> </select>
聯(lián)系客服