<SCRIPT language=JavaScript type=text/JavaScript>
//改變圖片大小
function resizepic(thispic)
...{
if(thispic.width>700) thispic.width=700;
}
//無級縮放圖片大小
function bbimg(o)
...{
var zoom=parseInt(o.style.zoom, 10)||100;
zoom+=event.wheelDelta/12;
if (zoom>0) o.style.zoom=zoom+%;
}
//雙擊鼠標滾動屏幕的代碼
var currentpos,timer;
function initialize()
...{
timer=setInterval ("scrollwindow ()",30);
}
function sc()
...{
clearInterval(timer);
}
function scrollwindow()
...{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos !=document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
//更改字體大小
var status0=;
var curfontsize=10;
var curlineheight=18;
function fontZoomA()...{
if(curfontsize>8)...{
document.getElementById(fontzoom).style.fontSize=(--curfontsize)+pt;
document.getElementById(fontzoom).style.lineHeight=(--curlineheight)+pt;
}
}
function fontZoomB()...{
if(curfontsize<64)...{
document.getElementById(fontzoom).style.fontSize=(++curfontsize)+pt;
document.getElementById(fontzoom).style.lineHeight=(++curlineheight)+pt;
}
}
</SCRIPT>