- Post in | WebDevelop/JavaScript
- Post at | 2007. 10. 15. 19:43 | by 쥬리엘
항상 최상위에 떠있는 팝업창
function window_top(url, width, hight) { if (document.all && window.print) { eval('window.showModelessDialog(url, "", "help:0; resizable:1; dialogWidth:' + width + 'px; dialogHeight:' + hight + 'px")') } else { eval('window.open(url, "", "width=' + width + 'px, height=' + hight + 'px, resizable=1, scrollbars=1")'); } } window_top('http://www.naver.com', 400, 200);팝업된 창은 항상 최상위에 있게된다.
'WebDevelop > JavaScript' 카테고리의 다른 글
스타일 예제 (0) | 2007.10.16 |
---|---|
자바스크립트로 post, get메서드의 form 전송 (0) | 2007.10.05 |
FF/IE 마우스 드래그 앤 드랍 및 이벤트 캡쳐 (0) | 2007.09.19 |