½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
CSS
HTML
MYSQL
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 339 | Á¶È¸¼ö 3,107 | µî·ÏÀÏ 2011-10-07 15:54:53

´Ð³×ÀÓ

xxxx

À̸ÞÀÏ

nexcel@naver.com

Á¦¸ñ

[Q] ¿À¸¥ÂÊ ¹öÆ°´©¸£¸é â ´ÝÈ÷°Ô ÇÒ·Á¸é ¾î¶»°Ô Çؾߵdzª¿ä ? (HTM)
³»¿ë

<script>
function _ID(obj)
{
return document.getElementById(obj)
}

function popupLayer(s,w,h)
{
if (!w) w = 0;
if (!h) h = 0;

var pixelBorder = 0;
var titleHeight = 0;

var bodyW = document.body.clientWidth;
var bodyH = document.body.clientHeight;

var posX = (bodyW - w) / 2;
var posY = (bodyH - h) / 2;

hiddenSelectBox('hidden');

var obj = document.createElement("div");
with (obj.style){
}
obj.id = "objPopupLayer";
document.body.appendChild(obj);

var ifrm = document.createElement("iframe");
with (ifrm.style){
width = w - 0;
height = h - pixelBorder * 0 - titleHeight - 0;
}
ifrm.frameBorder = 0;
ifrm.src = s;
obj.appendChild(ifrm);
}
function closeLayer()
{
hiddenSelectBox('visible');
_ID('objPopupLayer').parentNode.removeChild( _ID('objPopupLayer') );
_ID('objPopupLayerBg').parentNode.removeChild( _ID('objPopupLayerBg') );
}
function hiddenSelectBox(mode)
{

var obj = document.getElementsByTagName('select');
for (i=0;i<obj.length;i++){

obj[i].style.visibility = mode;
}
}
</script>

<script language ="javascript">
function goEvtApp( url ) {

    popupLayer(  url , 725, 500);

}
</script>

<a href ="#" onClick ="goEvtApp('./img/01.jpg'); return false">°øÁö<a>



À§ ¼Ò½º¿¡¼­ "°øÁö" ¹öÆ° Ŭ¸¯ Çϸé
À̹ÌÁö°¡ ¶ß´Âµ¥¿ä À̹ÌÁö ¿À¸¥ÂÊ ¹öÆ° Ŭ¸¯Çϸé
ÇÁ·¹ÀÓ ´ÝÈ÷°Ô ÇÒ·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä ?

"function goEvtApp" ¾È¿¡ oncontextmenu="closeLayer();"³Ö¾îµµ À̹ÌÁö¿¡ ¿ìÃø¹öÆ°ÀÌ ¸ÔÇô¿ä..¤Ð¤Ð

 

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÄÚµùÀïÀÌ 2011-10-11 14:09:48
´ä±Û

obj.oncontextmenu = function()
{
closeLayer();
}
iframeÀ» ¿Ö »ç¿ëÇϼ̴ÂÁö ¸ð¸£°Ú³×¿ä ;
popupLayer ¾È¿¡ Àú ¼Ò½º¸¦ ³Ö¾îº¸½Ã±â ¹Ù¶ø´Ï´Ù.

ÀÌÀü°Ô½Ã±Û [JAVA] Swing °ü·Ã À¯Æ¿ Áú¹®ÀÔ´Ï´Ù. 2011-09-11 19:20:15
´ÙÀ½°Ô½Ã±Û ¿©·¯°³ÀÇ ÀÚ¹Ù½ºÆ®¸³Æ®¸¦ ¾²¸ç´Â Çϳª´Â ¾È³ª¿Í¿ä.. 2011-10-08 11:56:14