<!--把下列代码放到BODY区域内-->
<SCRIPT>
function bb_img_onmousewheel(e, o)
{
var zoom = parseInt(o.style.zoom, 10) || 100;
//more javascript from http://www.webjx.com
zoom += event.wheelDelta / 12;
if (zoom > 0) o.style.zoom = zoom + '%';
return false;
}
function bb_appendUrl(value, url) {
var s = url.split(".");
var ext = s[s.length-1];
var code = '';
switch (ext.toLowerCase())
{
case 'gif':
case 'jpg':
case 'jpeg':
case 'png':
code = '
';break;
case 'swf':
code = '[flash]' + url + '[/flash]';
break;
default:
code = '' + url + '';
}
value = (value||'').toString();
if (value.indexOf(code) == -1)
{
if (value) value += "\n";
value += code + "\n";
}
return value;
}
</SCRIPT>
<IMG onmousedown=if(self.startMove)startMove(this,event) onmousewheel="return bb_img_onmousewheel(event,this)" style="CURSOR: move" src="http://www.webjx.com/img/200406301.jpg" border=0>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]