中文(繁体)
<!-- 將下列程式碼放到 BODY 區域內--> <SCRIPT> function bb_img_onmousewheel(e, o) { var Zoom = parseInt(o.style.zoom, 10) || 100; //來自http://www.downcodes.com的更多javascript Zoom += event.wheelDelta / 12; if (zoom > 0) o.style.zoom = Zoom + '%';返回假; } 函式 bb_appendUrl(value, url) { var s = url.split("."); var ext = s[s.length-1];變數代碼 = ''; switch (ext.toLowerCase()) { case 'gif': case 'jpg': case 'jpeg': case 'png': code = '[img]' + url + '[/img]';休息; case 'swf': code = '[flash]' + url + '[/flash]';休息;預設:code = '[url]' + url + '[/url]'; } 值 = (值||'').toString(); if (value.indexOf(code) == -1) { if (value) value += "n"; }值+=代碼+“n”;返回值; } </SCRIPT> <IMG onmousedown=if(self.startMove)startMove(this,event) onmousewheel="return bb_img_onmousewheel(event,this)" style="CURSOR: move" src="" border=0>