I found a solution , by fire resize event for window, this will make re-position for SimpleDialog2.
Here are the code:
var evt = document.createEvent('UIEvents');
evt.initUIEvent('resize', true, false,window,0);
window.dispatchEvent(evt);
See it in action here: http://jsfiddle.net/9hsBA/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.