SPATIUM Mobile
주소복사
About Operating System Languages Tools Favorites Notice Visit TEST  
     ADK (3)
     android (3)
     ASP (5)
     ASP.Net (1)
     C# (5)
     HTML (9)
     JAVA (7)
     JavaScript (9)
     jQuery (5)
     Mobile Web (2)
     node.js (1)
     Oracle (8)
     PHP (7)
     Spring Framework (4)
     SQL (17)
     WPF (5)
   ID  
   Password  
  |  
  Location United States
  IP Address 3.135.200.121
2024. 11
12
3456789
10111213141516
1718192021
22
23
24252627282930
Category  Languages, JavaScript
Writer 김태우 Date 2012-02-17 18:18:11 Visit 6049
Javascript 팝업 코드

 

JavaScript 팝업 코드

 

팝업 옵션주에 스크롤만 가용 유무를 받게..값: yes, no

정의 부

function popup_ykbnc(address,popupname,top,left,height,width,scroll) {
    var opt = "width=" + width + ",height="+ height +",top="+ top +",left="+ left +",location:no,toolbar=no,scrollbars="+ scroll +",menubar=no,status=no,resizable=no";
    popupname = window.open(address,popupname,opt);
    popupname.focus();
}

 

호출 부

popup_ykbnc('http://www.naver.com','naver',10,10,400,600,'no');

 

 

Tags  window.open, javascript, 팝업
  Relation Articles
[Languages-JavaScript] jQuery(ready, load) VS Javascript(onload) (2014-04-11 10:12:38)
[Languages-JavaScript] Javascript 개체 (2014-01-22 17:51:11)
[Languages-JavaScript] Javascript 팝업 코드 (2012-02-17 18:18:11)
[Languages-PHP] Input 태그 숫자제한, Javascript (2011-07-28 15:25:33)
  Your Opinion
Member ID
150 letters
Copyright (C) SPATIUM. All rights reserved.
[SPATIUM]WebMaster Mail