function xn(obj) {
URL=obj.href;
width=720;
height=560;
var left = ( screen.width - width ) / 2;
var top = ( screen.height - height ) / 2;
window.open
(URL,'','width=640,height=480,top='+top+',left='+left+',scrollbars=1,resizable=0');
return false;
}
***注意:
涂鸦板里的链接代码要是以下形式:
<a href="http://www.xxx.com" target="_blank" onclick="return xn(this)">链接文字或图片等</a>