{"id":787,"date":"2003-03-11T08:53:29","date_gmt":"2003-03-11T08:53:29","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=787"},"modified":"2003-03-11T08:53:29","modified_gmt":"2003-03-11T08:53:29","slug":"%ea%b3%b5%ec%a7%80%ec%82%ac%ed%95%ad","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=787","title":{"rendered":"\uacf5\uc9c0\uc0ac\ud56d"},"content":{"rendered":"<link href=\"http:\/\/www.scriptasylum.com\/scripts.css\" rel=\"stylesheet\" type=\"text\/css\">\n<p><SCRIPT LANGUAGE=\"JavaScript\"><br \/>\n<!--<br \/>\n\/\/ Popup Windows - V 3.0<br \/>\n\/\/ Author: Brian Gosselin<br \/>\n\/\/ Site URL: http:\/\/scriptasylum.com<br \/>\n\/\/<br \/>\n\/\/ Browser compatibility:<br \/>\n\/\/ IE4+, NS4+, NS6+ (with limited functionality in pre 5.0 browsers)<br \/>\n\/\/<br \/>\n\/\/ Supported Features:<br \/>\n\/\/ > Seperate Drag and Drop (both can be disabled), minimize\/restore\/close, drag resize, and <br \/>\n\/\/&nbsp;&nbsp; fonts\/colors\/dimensions\/placement for each popup.<br \/>\n\/\/ > Allows any number of popups per page limited only by browser\/computer performance.<br \/>\n\/\/ > Popups are created after page runtime allowing for truly dynamic windows.<br \/>\n\/\/ > Popups can be created in their \"closed\" state and then opened via javascript function if desired.<br \/>\n\/\/ > Degrades gracefully in older browsers by creating normal browser windows.\n\n\nvar W3C=(document.getElementById)? true: false;<br \/>\nvar IE5=(W3C && document.all)? true : false;<br \/>\nvar NS6=(W3C && (navigator.appName==\"Netscape\"))? true: false;<br \/>\ncurrIDb=null; xoff=0; yoff=0;<br \/>\ncurrRS=null; rsxoff=0; rsyoff=0;<br \/>\noldac=null; newac=null; zdx=1; mx=0; my=0;\n\n\nvar idlist=new Array();<br \/>\nidlist.btns=new Array();<br \/>\nidlist.btns[0]=new Image(); idlist.btns[0].src=\"http:\/\/www.scriptasylum.com\/min.gif\";<br \/>\nidlist.btns[1]=new Image(); idlist.btns[1].src=\"http:\/\/www.scriptasylum.com\/max.gif\";<br \/>\nidlist.btns[2]=new Image(); idlist.btns[2].src=\"http:\/\/www.scriptasylum.com\/close.gif\";<br \/>\nidlist.btns[3]=new Image(); idlist.btns[3].src=\"http:\/\/www.scriptasylum.com\/resize.gif\";\n\n\nfunction hidebox(id){<br \/>\nif(W3C){<br \/>\ndocument.getElementById(id+'_b').style.display='none';<br \/>\ndocument.getElementById(id+'_s').style.display='none';<br \/>\n}}\n\n\nfunction showbox(id){<br \/>\nif(W3C){<br \/>\nvar bx=document.getElementById(id+'_b').style;<br \/>\nvar sh=document.getElementById(id+'_s').style;<br \/>\nbx.display='block';<br \/>\nsh.display='block';<br \/>\nsh.zIndex=++zdx;<br \/>\nbx.zIndex=++zdx;<br \/>\n}}\n\n\nfunction minimize(){<br \/>\nif(W3C){<br \/>\nthis.IDS[0].style.height=(IE5)? '28px':'24px';<br \/>\nthis.IDS[3].style.height='28px';<br \/>\nthis.IDS[2].style.display='none';<br \/>\nthis.IDS[4].style.display='none';<br \/>\nsetTimeout('NS6bugfix()',100);<br \/>\n}}\n\n\nfunction restore(){<br \/>\nif(W3C){<br \/>\nvar h=this.IDS[10];<br \/>\nthis.IDS[0].style.height=h+'px'; \/\/box<br \/>\nthis.IDS[3].style.height=(IE5)? h+'px':h+5+'px'; \/\/shd<br \/>\nthis.IDS[2].style.display='block';<br \/>\nthis.IDS[4].style.display='block'; <br \/>\nsetTimeout('NS6bugfix()',100);<br \/>\n}}\n\n\nfunction NS6bugfix(){<br \/>\nself.resizeBy(0,1);<br \/>\nself.resizeBy(0,-1);<br \/>\n}\n\n\nfunction trackmouse(evt){<br \/>\nmx=(IE5)?event.clientX+document.body.scrollLeft:evt.pageX;<br \/>\nmy=(IE5)?event.clientY+document.body.scrollTop:evt.pageY;<br \/>\nif(!NS6)movepopup();<br \/>\nif((currIDb!=null)||(currRS!=null))return false;<br \/>\n}\n\n\nfunction movepopup(){<br \/>\nif((currIDb!=null)&&W3C){<br \/>\nvar x=mx+xoff;<br \/>\nvar y=my+yoff;<br \/>\ncurrIDb.style.left=x+'px';<br \/>\ncurrIDs.style.left=x+8+'px';<br \/>\ncurrIDb.style.top=y+'px';<br \/>\ncurrIDs.style.top=y+8+'px';<br \/>\n}<br \/>\nif((currRS!=null)&&W3C){<br \/>\nvar rx=mx+rsxoff;<br \/>\nvar ry=my+rsyoff;<br \/>\nvar c=currRS;<br \/>\nc.style.left=Math.max(rx,((NS6)?92:88))+'px';<br \/>\nc.style.top=Math.max(ry,((NS6)?72:68))+'px';<br \/>\nc.IDS[0].style.width=Math.max(rx+((NS6)?8:12),100)+'px';<br \/>\nc.IDS[0].style.height=Math.max(ry+((NS6)?8:12),80)+'px';<br \/>\nc.IDS[1].style.width=Math.max(rx+((NS6)?3:4),((NS6)?95:92))+'px';<br \/>\nc.IDS[5].style.left=parseInt(c.IDS[1].style.width)-48+'px';<br \/>\nc.IDS[3].style.width=Math.max(rx+12,((NS6)?104:100))+'px';<br \/>\nc.IDS[3].style.height=Math.max(ry+((NS6)?13:12),((NS6)?86:80))+'px';<br \/>\nc.IDS[2].style.width=Math.max(rx-((NS6)?5:-5),((NS6)?87:92))+'px';<br \/>\nc.IDS[2].style.height=Math.max(ry-((NS6)?28:24),44)+'px';<br \/>\nc.IDS[10]=parseInt(c.IDS[0].style.height);<br \/>\n}}\n\n\nfunction startRS(evt){<br \/>\nvar ex=(IE5)?event.clientX+document.body.scrollLeft:evt.pageX;<br \/>\nvar ey=(IE5)?event.clientY+document.body.scrollTop:evt.pageY;<br \/>\nrsxoff=parseInt(this.style.left)-ex;<br \/>\nrsyoff=parseInt(this.style.top)-ey;<br \/>\ncurrRS=this;<br \/>\nif(NS6)this.IDS[2].style.overflow='hidden';<br \/>\nreturn false;<br \/>\n}\n\n\nfunction stopdrag(){<br \/>\ncurrIDb=null;<br \/>\nNS6bugfix();<br \/>\n}\n\n\nfunction grab_id(evt){<br \/>\nvar ex=(IE5)?event.clientX+document.body.scrollLeft:evt.pageX;<br \/>\nvar ey=(IE5)?event.clientY+document.body.scrollTop:evt.pageY;<br \/>\nxoff=parseInt(this.IDS[0].style.left)-ex;<br \/>\nyoff=parseInt(this.IDS[0].style.top)-ey;<br \/>\ncurrIDb=this.IDS[0];<br \/>\ncurrIDs=this.IDS[3];<br \/>\nreturn false;<br \/>\n}\n\n\nfunction subBox(x,y,w,h,bgc,id){<br \/>\nvar v=document.createElement('div');<br \/>\nv.setAttribute('id',id); <br \/>\nv.style.position='absolute';<br \/>\nv.style.left=x+'px';<br \/>\nv.style.top=y+'px';<br \/>\nv.style.width=w+'px';<br \/>\nv.style.height=h+'px';<br \/>\nv.style.backgroundColor=bgc;<br \/>\nv.style.visibility='visible';<br \/>\nv.style.padding='0px 0px 0px 0px';<br \/>\nreturn v;<br \/>\n}\n\n\nfunction popUp(x,y,w,h,cid,text,bgcolor,textcolor,fontstyleset,title,titlecolor,titletextcolor,bordercolor,scrollcolor,shadowcolor,showonstart,isdrag,isresize,doold){<br \/>\nif(W3C){<br \/>\nvar tw, th;<br \/>\nw=Math.max(w,100);<br \/>\nh=Math.max(h,80);<br \/>\nvar rdiv=new subBox(w-((IE5)?12:8),h-((IE5)?12:8),7,7,'',cid+'_rs');<br \/>\nif(isresize){<br \/>\nrdiv.innerHTML='<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.scriptasylum.com\/resize.gif\" width=\"7\" height=\"7\">';<br \/>\nrdiv.style.cursor='move';<br \/>\n}<br \/>\ntw=(IE5)?w:w+4;<br \/>\nth=(IE5)?h:h+6;<br \/>\nvar shadow=new subBox(x+8,y+8,tw,th,shadowcolor,cid+'_s');<br \/>\nif(IE5)shadow.style.filter=\"alpha(opacity=50)\";<br \/>\nif(NS6)shadow.style.MozOpacity=.5;<br \/>\nshadow.style.zIndex=++zdx;<br \/>\nvar tw,th;<br \/>\nvar outerdiv=new subBox(x,y,w,h,bordercolor,cid+'_b');<br \/>\nouterdiv.style.borderStyle=\"outset\";<br \/>\nouterdiv.style.borderWidth=\"2px\";<br \/>\nouterdiv.style.borderColor=bordercolor;<br \/>\nouterdiv.style.zIndex=++zdx;<br \/>\ntw=(IE5)?w-8:w-5;<br \/>\nth=(IE5)?h+4:h-4;<br \/>\nvar titlebar=new subBox(2,2,tw,20,titlecolor,cid+'_t');<br \/>\ntitlebar.style.overflow=\"hidden\";<br \/>\ntitlebar.style.cursor=\"default\";<br \/>\ntitlebar.innerHTML='<span style=\"position:absolute; left:3px; top:1px; font:bold 10pt sans-serif; color:'+titletextcolor+'; height:18px; overflow:hidden; clip-height:16px;\">'+title+'<\/span><span id=\"'+cid+'_btt\" style=\"position:absolute; width:48px; height:16px; left:'+(tw-48)+'px; top:2px;\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.scriptasylum.com\/min.gif\" width=\"16\" height=\"16\" id=\"'+cid+'_min\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.scriptasylum.com\/max.gif\" width=\"16\" height=\"16\" id=\"'+cid+'_max\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.scriptasylum.com\/close.gif\" width=\"16\" height=\"16\" id=\"'+cid+'_cls\"><\/span>';<br \/>\ntw=(IE5)?w-7:w-13;<br \/>\nth=(IE5)?h-36:h-36;<br \/>\nvar content=new subBox(2,24,tw,th,bgcolor,cid+'_c');<br \/>\ncontent.style.borderColor=bordercolor;<br \/>\ncontent.style.borderStyle=\"inset\";<br \/>\ncontent.style.borderWidth=\"2px\";<br \/>\ncontent.style.overflow=\"auto\";<br \/>\ncontent.style.padding=\"0px 2px 0px 4px\";<br \/>\ncontent.style.font=fontstyleset;<br \/>\ncontent.style.color=textcolor;<br \/>\nif(IE5)content.style.scrollbarBaseColor=scrollcolor;<br \/>\ncontent.innerHTML=text;<br \/>\nouterdiv.appendChild(titlebar);<br \/>\nouterdiv.appendChild(content);<br \/>\nouterdiv.appendChild(rdiv);<br \/>\ndocument.body.appendChild(shadow);<br \/>\ndocument.body.appendChild(outerdiv);<br \/>\nif(!showonstart)hidebox(cid);<br \/>\nvar IDS=new Array();<br \/>\nIDS[0]=document.getElementById(cid+'_b');<br \/>\nIDS[1]=document.getElementById(cid+'_t');<br \/>\nIDS[2]=document.getElementById(cid+'_c');<br \/>\nIDS[3]=document.getElementById(cid+'_s');<br \/>\nIDS[4]=document.getElementById(cid+'_rs');<br \/>\nIDS[5]=document.getElementById(cid+'_btt');<br \/>\nIDS[6]=document.getElementById(cid+'_min');<br \/>\nIDS[7]=document.getElementById(cid+'_max');<br \/>\nIDS[8]=document.getElementById(cid+'_cls');<br \/>\nIDS[9]=cid;<br \/>\nIDS[10]=h;<br \/>\nthis.IDb=IDS[0]; this.IDb.IDS=IDS;<br \/>\nthis.IDt=IDS[1]; this.IDt.IDS=IDS;<br \/>\nthis.IDc=IDS[2]; this.IDc.IDS=IDS;<br \/>\nthis.IDs=IDS[3]; this.IDs.IDS=IDS;<br \/>\nthis.IDrs=IDS[4]; this.IDrs.IDS=IDS;<br \/>\nthis.IDbtt=IDS[5]; this.IDbtt.IDS=IDS;<br \/>\nthis.IDmin=IDS[6]; this.IDmin.IDS=IDS;<br \/>\nthis.IDmax=IDS[7]; this.IDmax.IDS=IDS;<br \/>\nthis.IDcls=IDS[8]; this.IDcls.IDS=IDS;<br \/>\nthis.IDb.activecolor=titlecolor;<br \/>\nthis.IDb.inactivecolor=scrollcolor;<br \/>\nif(oldac!=null)oldac.IDS[1].style.backgroundColor=oldac.inactivecolor;<br \/>\noldac=this.IDb;<br \/>\nthis.IDcls.onclick=new Function(\"hidebox('\"+cid+\"');\");<br \/>\nif(isresize){<br \/>\nthis.IDmin.onclick=minimize;<br \/>\nthis.IDmax.onclick=restore;<br \/>\nthis.IDrs.onmousedown=startRS;<br \/>\nthis.IDrs.onmouseup=new Function(\"currRS=null\");<br \/>\n}<br \/>\nthis.IDb.onmousedown=function(){<br \/>\nif(oldac!=null){<br \/>\n\/\/if(NS6)oldac.IDS[2].style.overflow='hidden';<br \/>\noldac.IDS[1].style.backgroundColor=oldac.inactivecolor;<br \/>\n}<br \/>\nif(NS6)this.IDS[2].style.overflow='auto';<br \/>\noldac=this;<br \/>\nthis.IDS[1].style.backgroundColor=this.activecolor;<br \/>\nthis.IDS[3].style.zIndex=++zdx;<br \/>\nthis.style.zIndex=++zdx;<br \/>\n}<br \/>\nif(isdrag){<br \/>\nthis.IDt.onmousedown=grab_id;<br \/>\nthis.IDt.onmouseup=stopdrag;<br \/>\n}<br \/>\n}else{<br \/>\nif(doold){<br \/>\nvar ctr=new Date();<br \/>\nctr=ctr.getTime();<br \/>\nvar win=window.open(\"\" , \"abc\"+ctr , \"status=no,menubar=no,width=\"+w+\",height=\"+h+\",resizable=yes,scrollbars=yes\");<br \/>\nvar t='<html><head><title>'+title+'<\/title><\/head><body bgcolor=\"'+bgcolor+'\"><font style=\"font:'+fontstyleset+'; color:'+textcolor+'\">'+text+'<\/font><\/body><\/html>';<br \/>\nwin.document.write(t);<br \/>\nwin.document.close();<br \/>\n}}}\n\n\nif(NS6)setInterval('movepopup()',40);\n\n\nif(W3C){<br \/>\ndocument.onmousemove=trackmouse;<br \/>\ndocument.onmouseup=new Function(\"currRS=null\");<br \/>\n}\n\n\n\/\/--><br \/>\n<\/SCRIPT><br \/>\n<script language=\"javascript\"><br \/>\nwindow.onload=function(){<\/p>\n<p>new popUp(390, 10, 310, 190, \"Div\", \"\uc5c5\ubb34\ub54c\ubb38\uc5d0 \uc11c\ud551\ud558\ub2e4\uac00 \ucc3e\uc740 \uc18c\uc2a4\uc785\ub2c8\ub2e4.<br \/>\uc5b4\ub518\uac00\uc5d0 \uadf8\ub9bc\uc790 \ub808\uc774\uc5b4\uc5d0 \ub300\ud55c \ub0b4\uc6a9\uc744 \ubcf8\uac83\ub3c4 \uac19\uc740\ub370...<br \/>\uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ud558\uc138\uc694<br \/>Ex) \uacf5\uc9c0\uc0ac\ud56d, \uc54c\ub9bc, \uba54\uc2dc\uc9c0, \ucabd\uc9c0\ub4f1...<\/p>\n<p>\uae30\ub2a5\ub3c4 \ub2e4\uc591\ud569\ub2c8\ub2e4. \uc904\uc774\uae30, \ud0a4\uc6b0\uae30, \ub2eb\uae30, \uc0ac\uc774\uc988\uc870\uc808\uae4c\uc9c0\", \"#D9D9D9\", \"black\", \"9pt verdana\", \"\uacf5\uc9c0\uc0ac\ud56d.....\", \"#00385c\", \"white\", \"#006bae\", \"#00436e\", \"black\",true,true,true,false);<\/p>\n<p>}<br \/>\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-787","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=787"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/787\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}