概述
自动缩放网页大小的代码
实现参考
取屏幕大小
screen.width
screen.height
根据屏幕大小缩放
if (window.screen.width=='600')
document.write ('<body style="zoom: 55%">');
else if (window.screen.width=='800')
document.write ('<body style="zoom: 75%">');
自动缩放网页大小的代码
取屏幕大小
screen.width
screen.height
根据屏幕大小缩放
if (window.screen.width=='600')
document.write ('<body style="zoom: 55%">');
else if (window.screen.width=='800')
document.write ('<body style="zoom: 75%">');