让文字大点,让更多的用户看的更清楚。(也可以把字体变为百分比来实现)
<script type="text/javascript">
function doZoom(size)
{document.getElementById('zoom').style.fontSize=size+'px';}
</script>
<span id="zoom">需要指定大小的文字</span> 网页教学网http://www.webjx.com
<a href="javascript:doZoom(16)">大</a> <a href="javascript:doZoom(14)">中</a> <a href="javascript:doZoom(12)">小</a>
跳转菜单新窗口
<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>
添加到收藏夹和设为首页
添加到收藏夹
<a href="javascript:window.external.addFavorite('http://链接','说明');">添加到收藏夹</a>
设为首页
<a href=# onclick=this.style.behavior='url(#default#homepage)';this.setHomePage ('http://链接');>设为首页</a>
打开窗口即最大化
<script language="JavaScript">
<!-- Begin
self.moveTo(0,0) 网页教学网http://www.webjx.com
self.resizeTo(screen.availWidth,screen.availHeight)
// End -->
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余1页未读,立即下载