Javascript检测到你的分辨率,字号自动设置
摘要:
http://www.cnblogs.com/sink_cup/archive/2010/12/16/javascript_screen_width.htmlJavascript检测到你的分辨率,字号自动设置window.onresize<!--PageBeginHtmlBlockBegin--><scripttype="text/javascript">functionchangeFontSize(){ varfont_size=screen.width/64+'px'; document.body.style.fontSize=f 阅读全文
posted @ 2012-01-31 23:09 黄兆张's Blog 阅读(324) 评论(0) 推荐(0)
浙公网安备 33010602011771号