½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > À©µµ¿ìâ°ü·Ã > Open Window (Æ˾÷À©µµ¿ì) »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
css
html
mysql
jquery
image
API
Mobile
¸Þ´º
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
Open Window (Æ˾÷À©µµ¿ì)
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù À©µµ¿ìâ°ü·Ã
´Ù¿î·Îµå Ƚ¼ö 1309 ȸ
°£´Ü¼³¸í Æ˾÷À©µµ¿ìâ °ü·Ã ÀÚ¹Ù½ºÅ©¸³Æ®ÀÔ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ

<!---// ÀÚ¹Ù½ºÅ©¸³Æ® ÄÚµå //------------>
<script>
function openWindow(anchor, options) {

 var args = '';

 if (typeof(options) == 'undefined') { var options = new Object(); }
 if (typeof(options.name) == 'undefined') { options.name = 'win' + Math.round(Math.random()*100000); }

 if (typeof(options.height) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  args += "height=" + options.height + ",";
 }

 if (typeof(options.width) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  args += "width=" + options.width + ",";
 }

 if (typeof(options.fullscreen) != 'undefined') {
  args += "width=" + screen.availWidth + ",";
  args += "height=" + screen.availHeight + ",";
 }

 if (typeof(options.center) == 'undefined') {
  options.x = 0;
  options.y = 0;
  args += "screenx=" + options.x + ",";
  args += "screeny=" + options.y + ",";
  args += "left=" + options.x + ",";
  args += "top=" + options.y + ",";
 }

 if (typeof(options.center) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  options.y=Math.floor((screen.availHeight-(options.height || screen.height))/2)-(screen.height-screen.availHeight);
  options.x=Math.floor((screen.availWidth-(options.width || screen.width))/2)-(screen.width-screen.availWidth);
  args += "screenx=" + options.x + ",";
  args += "screeny=" + options.y + ",";
  args += "left=" + options.x + ",";
  args += "top=" + options.y + ",";
 }

 if (typeof(options.scrollbars) != 'undefined') { args += "scrollbars=1,"; }
 if (typeof(options.menubar) != 'undefined') { args += "menubar=1,"; }
 if (typeof(options.locationbar) != 'undefined') { args += "location=1,"; }
 if (typeof(options.resizable) != 'undefined') { args += "resizable=1,"; }

 var win = window.open(anchor, options.name, args);
 return false;

}
</script>
<!---// ÀÚ¹Ù½ºÅ©¸³Æ® ÄÚµå //------------>

 


<a href="http://www.happycgi.com" title="happycgi"
onclick="return openWindow(this, {width:790,height:450,center:true})">
Æ˾÷ À©µµ¿ìº¸±â</a>

 

¼Ó¼º

  • width
  • height
  • left
  • top
  • center
  • name
  • scrollbars
  • menubar
  • locationbar
  • resizable

  • ³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
    ³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
    µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
    1
    À̸§
    ³»¿ë
    :³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
    Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
    µµ¹è¹æÁöÅ°
     91417648 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.