ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/skin/board/ga_movie/ |
Upload File : |
// -- 이미지 새창보여주는 스크립터 : 지역정보게시판에 사용 (기타 docu 에서 사용가능) function img_view(img, w, h) { var img, w, h; if(!w) { if(img.tmp_width) { // this 1 w = img.tmp_width; h = img.tmp_height; img = img.src; } else if(!img.width) { // this 2 var imgObj = new Image(); imgObj.src = img; img = imgObj.src; w = imgObj.width; h = imgObj.height; } else { // url w = img.width; h = img.height; img = img.src; } } // 로딩되지(읽지) 않은 이미지의 오류. beta 2006.06.26 if(!parseInt(w)) { // w = img.width; // h = img.height; w = 800; h = 600; } wsw = window.screen.width; wsh = window.screen.height; winl = (w >= wsw) ? 0 : (wsw-w)/2; wint = (h >= wsh) ? 0 : (wsh-h)/3; if(!g4_charset) var g4_charset = 'euc-kr'; win=window.open('','newWindow','width='+w+',height='+h+',top='+wint+',left='+winl+',scrollbars=no,resizable=no,status=no'); win.document.open(); win.document.write ("<html><head> \n<meta http-equiv='imagetoolbar' CONTENT='no'> \n<meta http-equiv='content-type' content='text/html; charset="+g4_charset+"'>\n"); win.document.write ("<title>이미지 "+w+" x "+h+"</title> \n"); if(!winl || !wint) { var js_url = "<script language='JavaScript'> \n"; js_url += "<!-- \n"; js_url += "var is_ie=document.all; \n"; js_url += "var isdrag=false; \n"; js_url += "var x,y,dobj; \n"; js_url += "function movemouse(e) { \n"; js_url += "if (isdrag) { \n"; js_url += "dobj.style.left = is_ie ? tx + event.clientX - x : tx + e.clientX - x; \n"; js_url += "dobj.style.top = is_ie ? ty + event.clientY - y : ty + e.clientY - y; \n"; js_url += "return false; }} \n"; js_url += "function selectmouse(e) { \n"; js_url += "var fobj = is_ie ? event.srcElement : e.target; \n"; js_url += "var topelement = is_ie ? 'BODY' : 'HTML'; \n"; js_url += "while (fobj.tagName != topelement && fobj.className != 'dragme') { \n"; js_url += "fobj = is_ie ? fobj.parentElement : fobj.parentNode; } \n"; js_url += "if (fobj.className=='dragme') { \n"; js_url += "isdrag = true; \n"; js_url += "dobj = fobj; \n"; js_url += "tx = parseInt(dobj.style.left+0); \n"; js_url += "ty = parseInt(dobj.style.top+0); \n"; js_url += "x = is_ie ? event.clientX : e.clientX; \n"; js_url += "y = is_ie ? event.clientY : e.clientY; \n"; js_url += "document.onmousemove=movemouse; \n"; js_url += "return false; }} \n"; js_url += "document.onmousedown=selectmouse; \n"; js_url += "document.onmouseup=new Function('isdrag=false'); \n"; js_url += "//--> \n"; js_url += "</"+"script> \n"; win.document.write (js_url); var click = "ondblclick='window.close();' style='cursor:move'"; } else var click = "onclick='window.close();' style='cursor:pointer'"; win.document.write ("<style>.dragme{position:relative;}</style>\n"); win.document.write ("</head> \n\n"); win.document.write ("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' bgcolor='#dddddd'> \n"); win.document.write ("<table cellpadding='0' cellspacing='0' width='100%' height='100%'><tr><td align='center'><img src='"+img+"' name='imgs' width='"+w+"' height='"+h+"' oncontextmenu=\"if(confirm('프린트 하겠습니까?')){window.print(); return false;}\"; "+click+" class='dragme'></td></tr></table> \n"); win.document.write ("</body></html>"); win.document.close(); if(parseInt(navigator.appVersion) >= 4){win.window.focus();} }