13/27 페이지 열람 중
<scRIPTLANGUAGE="Javascript"><!--functionNumber_Format(fn){varstr=fn.value;varRe=/[^0-9]/g;varReN=/(-?[0-9]+)([0-9]{3})/;str=str.replace(Re,'');while(ReN.test(str)){str=str.replace(ReN,"$1,$2");}fn.value=str;}//--></scRIPT><FORMname…
<INPUT onkeydown=onlyEditableNumber(this) onkeyup=onlyEditableNumber(this) name=number> 숫자를 입력 해 보세요~<scRIPT language=Javascript>//콤마표현 없는 정수만입력function onlyEditableNumber(obj){var str = obj.value;str = new String(str);var Re = /[^0-9]/g; str = str.r…
function check_BizRegNo(bizID) { var checkID = new Array(1, 3, 7, 1, 3, 7, 1, 3, 5, 1); var i, Sum=0, c2, remander; bizID = bizID.replace(/-/gi,''); for (i=0; i<=7; i++){ Sum += checkID[i] * bizID.charAt(i); } c2 = "0" + (checkID[8] * bizID.charAt(8)); c2 = c2.substring(c2.…
index.php 부분에 shop.js 파일을 불러오도록 되어있으니 shop.js 파일 내용 아래에============var clickmessage="그림에는 마우스 오른쪽 버튼이 금지되었어요" function disableclick(e) { if (document.all) { if (event.button==2||event.button==3) { if (event.srcElement.tagName=="IMG"){ alert(clickmessage); return false; } …
function getCookie( name ) { var nameOfCookie = name + "="; var x = 0;while ( x <= document.cookie.length ) { var y = ( x + nameOfCookie.length ); if ( document.cookie.substring( x, y ) == nameOfCookie ) {if ( ( endOfCookie=document.cookie.indexOf( ";", y ) ) == -1 ) {endOfCo…
/* 스타일 */.SLB_center { cursor:pointer; visibility:hidden; background-color: #FFF}.SLB_close { cursor: pointer; display:none; font-family: verdana,tahoma; font-size: 9pt; background-color:#000000; color: #ffffff; padding-bottom: 4px; }.SLB_caption { cursor: pointer; display:none; font-family: verdana…
<script> function initMoving(target, position, topLimit, btmLimit) { if (!target) return false; var obj = target; obj.initTop = position; obj.topLimit = topLimit; obj.bottomLimit = document.documentElement.scrollHeight - btmLimit; obj.style.position = "absolute"; obj.to…
function lastday(calyear, calmonth){ var monthDays = new Array(31, 28, 31, 30, 31, 30, 31, 31,30, 31, 30, 31); if (((calyear % 4 == 0) && (calyear % 100 != 0)) || (calyear % 400 == 0)) monthDays[1] = 29; var nDays = monthDays[calmonth - 1]; return nDays;}
function CheckByte(str){var i;var strLen;var strByte;strLen = str.length;if(IEYES == 1){for(i=0, strByte=0;i<strLen;i++){if(str.charAt(i) >= ' ' && str.charAt(i) <= '~' )strByte++;elsestrByte += 2;}return strByte;}else{return strLen;}}
navigator.userAgent.indexOf("Opera") != -1 navigator.userAgent.indexOf("Safari") != -1navigator.platform.indexOf("Mac") != -1navigator.userAgent.indexOf("Firefox") != -1navigator.appVersion.indexOf("MSIE 8")navigator.platform.indexOf("Linux"…