/*
ÇöÀç Á¤ÀǵǾîÀÖ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
1. ÀԷ°ª¿¡ °ø¹éÀÌ µé¾î°¡¸é ¸Þ¼¼Áö¶ç¿ò...
function TrimStr(str){
2. ȸéÁß¾Ó¿¡ »õâ¶ç¿ì±â ÇÔ¼ö
function new_window(url, name, option, width, height, left, top)
»ç¿ë¹ý : javascript:new_window('./order/order_pop.php', 'ORDER', '', 485, 330, '', '')
3. Ç÷¹½¬ º¸´õ ¾ø¾Ö±â
function writeObject(obj_file,width,height,wmode)
4. ÁֹιøÈ£ °ËÁõ
function C_jumin(){
5. ȸ¿ø°¡ÀÔÀü ȸ¿ø¾à°ü µ¿ÀÇÇϱâ...
function memRegi(){
6. ¾ÆÀ̵ð, ÆÐ½º¿öµå ã±â
function findIDchk() {
7. ÁֹιøÈ£ ÀÚµ¿ Æ÷Ä¿½ºÀ̵¿..
function jumin_focus(form, obj, len) {
onKeyUp="javascript:jumin_focus(document.frm, this, 6)"
8. ÀԷ°ªÀÌ ¼ýÀÚÀÎÁö °Ë»ç
function IsNumber(str)
9. ȸ¿ø°¡ÀÔ ±âº» üũ...
function registCheck(mode){
10. ¸µÅ©°É±â
function linka(a) {
11. ¼ýÀÚ¸¸ ÀÔ·ÂÇÒ¼ö ÀÖÀ½...
function onlyNumber()
»ç¿ë¹ý : Onkeypress="onlyNumber();"
12. ´ë¹®ÀÚ¸¸ ÀÔ·ÂÇÒ¼ö ÀÖÀ½...
function validate(field) {
»ç¿ë¹ý : onBlur="validate(this);"
13. ÀԷ°ª¿¡ °ø¹éÀÌ µé¾î°¡¸é ¸Þ¼¼Áö¶ç¿ò...
function TrimStr(str){
»ç¿ë¹ý : Æû¾È¿¡ ³ÖÀ¸¸é µÊ......onBlur="trimAll(this.form.cardNum1)"
14. Űº¸µå ÀÔ·ÂÇÒ¶§ ¼Ò¹®ÀÚ¸¦ ´ë¹®ÀÚ·Î ¹Ù²Ù¾î ÁÜ...
onkeyup="javascript:this.value=this.value.toUpperCase();"
15. Űº¸µå ÀÔ·ÂÇÒ¶§ ´ë¹®ÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²Ù¾î ÁÜ...
onkeyup="javascript:this.value=this.value.toLowerCase();"
16. Áñ°Üã±âÃß°¡...
17.»óǰ»ó¼¼º¸±â¿¡¼ ±¸¸Å¼ö·® ÀÚµ¿¾÷/´Ù¿î
function count_change(temp){
18. ¿ìÆí¹øÈ£Ã£±â
function zipFind(name, url, width, height, scrollbar){
19. »óǰ »ó¼¼º¸±â ÆäÀÌÁö¿¡¼ »óǰÀ̹ÌÁö ¿øº»Å©±â·Î º¸±â..ºñÁÖ¾óÇϰÔ..
function bigsize(src){
20. ¸¶¿ì½º¿À¸¥ÂÊ ¹öư ´©¸£¸é ¾ÈµÊ...
document.oncontextmenu = function (e) {
*/
function movie_show(obj_file,width,height)
{
var obj_src = "";
obj_src += " \n";
document.write(obj_src);
}
//¿ìÆí¹øÈ£Ã£±â
function zipFind(name, url, width, height, scrollbar){
scrollbar_str = scrollbar ? 'yes' : 'no';
window.open(url, name, 'width='+width+',height='+height+',scrollbars='+scrollbar_str);
}
function w_confirm(sess){
if(sess==''){
alert("·Î±×ÀÎÈÄ ÀÛ¼ºÇØÁÖ¼¼¿ä");
return;
}
frm = document.orderFrm;
frm.action = "content_ok.php";
frm.submit();
}
function del(num,mode){
frm = document.orderFrm;
frm.action = "content_ok.php?num="+num+"&mode="+mode;
frm.submit();
}
//¼ýÀÚ¸¸ ÀÔ·ÂÇÒ¼ö ÀÖÀ½...
function onlyNumber()
{
if((event.keyCode<48)||(event.keyCode>57)) event.returnValue=false;
}
//Æ÷Ä¿½º À̵¿ÇÒ¶§ °ø¹éÁ¦°Å
function trimAll(str) {
a = str.value;
for (; a.indexOf(" ") != -1 ;){
a = a.replace(" ","")
}
str.value = a;
}
//´ë¹®ÀÚ¸¸ ÀÔ·ÂÇÒ¼ö ÀÖÀ½...
function validate(field) {
var valid = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
var ok = "yes";
var temp;
for (var i=0; i";
top_html+=" | | ";
top_html+=" | | | ";
top_html+=" | | | ";
top_html+=" |
| ";
top_html+=" | |
";
top_html+=" | | ";
top_html+=" |
| ";
top_html+=" | |
";
document.write(top_html);
}
function bottom_round(w,c) {
var bottom_html;
bottom_html="";
bottom_html+=" | | | ";
bottom_html+=" | | | ";
bottom_html+=" | | |
";
bottom_html+=" | | | ";
bottom_html+=" | |
| ";
bottom_html+=" | | | |
";
bottom_html+=" | | |
";
document.write(bottom_html);
}
// ȸéÁß¾Ó¿¡ »õâ¶ç¿ì±â ÇÔ¼ö
function new_window(url, name, option, width, height, left, top)
{
var win_width;
var win_height;
// »õâÀ» À§ÇÑ ÁÂÇ¥°ªÀ» ±¸ÇÑ´Ù.
if(screen.width < width)
{
win_width = 0;
width = screen.width;
}
else
{
win_width = (screen.width - width) / 2;
}
if(screen.height < height)
{
win_height = 0;
height = screen.height;
}
else
{
win_height = (screen.height - height) / 2;
}
// ¿É¼Çó¸®
if(!option)
{
option = "resizable=yes,scrollbars=no,menubar=no,status=no";
}
if(left)
win_width = left;
if(top)
win_height = top;
// »õâÀ» ¶ç¿î´Ù.
window.open(url,name,option+',width='+width+',height='+height+',left='+win_width+',top='+win_height);
}
//javascript:new_window('./order/order_pop.php', 'ORDER', '', 485, 330, '', '')
//Ç÷¹½¬ º¸´õ ¾ø¾Ö±â
function writeObject(obj_file,width,height,wmode)
{
var obj_src = "";
obj_src += "\n";
document.write(obj_src);
}
/////////////////////////////////////////////////
//
/*
//ÁֹιøÈ£ °ËÁõ
function C_jumin(){
var fom = document.frm;
var str;
str = fom.jumin1.value + fom.jumin2.value;
var sum=0;
for(i=0;i<8;i++) { sum+=str.substring(i,i+1)*(i+2); }
for(i=8;i<12;i++) { sum+=str.substring(i,i+1)*(i-6); }
sum=11-(sum%11);
if (sum>=10) { sum-=10; }
if (str.substring(12,13) != sum) {return ;}
return true;
}
//ȸ¿ø°¡ÀÔÀü ȸ¿ø¾à°ü µ¿ÀÇÇϱâ...
function memRegi(){
var f = document.frm;
//¾à°ü¿¡ µ¿ÀÇ Ã¼Å©..
for(var i=0; i= len)
form.jumin2.focus();
}
function validate2(form, obj, len) {
if (obj.value.length >= len)
form.tel2.focus();
}
// À̸ÞÀÏ °Ë»ç
function isEmail(str)
{
var exclude=/[^@\-\.\w]|^[_@\.\-]|[\._\-]{2}|[@\.]{2}|(@)[^@]*\1/;
var check=/@[\w\-]+\./;
var checkend=/\.[a-zA-Z]{2,3}$/;
if(((str.search(exclude)!=-1)||(str.search(check))==-1)||(str.search(checkend)==-1))
return false;
else
return true;
}
// ÀԷ°ªÀÌ ¼ýÀÚÀÎÁö °Ë»ç
function IsNumber(str)
{
var temp;
var digits = "0123456789";
for(var i=0; i 1) test--;
}
document.orderFrm.amount.value=test;
}
/*
function checkDelReply(){
var f = document.coDelFrm;
if(!f.co_pass.value){
alert('ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä');
f.co_pass.focus();
return false;
}
}
function doCommentDelete(seq, e)
{
getPassLayer(seq, e);
return false;
}
function PassInputClose()
{
document.getElementById('PassCheckLayer').style.display = 'none';
}
function getPassLayer(seq, e){
if(!x) var x = e.pageX ? e.pageX : document.body.scrollLeft+event.clientX;
if(!y) var y = e.pageY ? e.pageY : document.body.scrollTop+event.clientY;
var l = document.getElementById('PassCheckLayer');
var f = document.coDelFrm;
l.style.display = 'block';
l.style.left = x - 200;
l.style.top = y + 20;
f.seq.value = seq;
}
function doCommentDelete2(seq)
{
var a = confirm("»èÁ¦ÇϽðڽÀ´Ï±î?");
if(a) location.href="./board/new_complete.php?mode=replyDel&tname==$tname?>&idx==$idx?>&page==$page?>&seq="+seq+"&preReferer3==urlencode($REQUEST_URI)?>";
}
*/