how to prevent tinybox close when click outside of the box

// your usual code here
TINY.box.show({...});

// for IE < 9 you'll have to implement getElementsByClassName - or use a library
document.getElementsByClassName('tmask')[0].onclick=null;

评论

热门博文