<script>
var windowW=459
var windowH=278
var windowX = (screen.width - windowW)/2 // from left
var windowY = (screen.height - windowH)/2 // from top
var title = "슬라이드쇼"
var autoclose = true
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless() {
var urlPop = "http://www.onstory.fun";
if (beIE) {
NFW = window.open("","EasyInstaller","fullscreen,"+s);
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
var frameString= "" +
" <html>" +
" <head>" +
" <title>" + title + " </title>" +
" </head>" +
" <frameset rows='*,0' framespacing=0 border=0 frameborder=0>" +
" <frame name='top' src='"+urlPop+"' scrolling=no>" +
" <frame name='bottom' src='about:blank' scrolling='no'>" +
" </frameset>" +
" </html>";
NFW.document.open();
NFW.document.write(frameString);
NFW.document.close();
} else {
NFW = window.open(urlPop,"popFrameless","scrollbars,"+s);
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
}
NFW.focus();
if (autoclose) {
window.onunload = function(){NFW.close();}
}
}
</script>
<a href="#" onClick="openFrameless()">풀창띄우기 </a>
function openFullscreen() {
window.open("http://www.onstory.fun", "fullscreen", "fullscreen=yes, toolbar=0, menubar=0, scrollbars=no, resizable=no")
}
function OpenPrg() {
newwin=window.open("/YoriPrg/index.html","_blank","fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0");
//newwin.resizeTo(400,600);
//newwin.moveTo(300,70);
newwin.moveTo (0, 0);
var w = screen.availWidth;
var h = screen.availHeight;
newwin.resizeTo (w, h);
}