<script>
//insert_select(저장변수명,가로,폰트크기,보드색,배경색,선택색,화살표이미지);
//insert_select_option(저장변수명,폰트크기,보드색,배경색,선택색,value,view_value);
//기본셀릭트만들기
insert_select("test","100","8","F6D8B0","FFFFFF","F6D8B0","./images/menu_02/btn_select.gif");
//셀렉트 옵션추가
insert_select_option("test","8","F6D8B0","FFFFFF","F6D8B0","1","1");
insert_select_option("test","8","F6D8B0","FFFFFF","F6D8B0","2","2");
insert_select_option("test","8","F6D8B0","FFFFFF","F6D8B0","3","3","Y");
</script>
================================= js부분
//처리부분 js로 저장해서 사용하세요..^^
var zindex = 10000;
function insert_select ( sn,w,f,b,g,c,img) {
select_count = new Array();
select_count[sn] = 0;
zindex--;
document.write(" <div >");
document.write(" <table border='0' cellspacing='1' cellpadding='1' width='"+w+"' style='table-layout:fixed;width:"+w+";' bgcolor='"+b+"' onclick='select_click(\""+sn+"\");' >");
document.write(" <tr>");
document.write(" <td bgcolor='"+g+"'>");
document.write(" <input type='text' id='"+sn+"' name='"+sn+"' style='border:none;cursor:hand;width:100%;font-size:"+f+"pt;' onselectstart=\"return false\" readonly> ");
document.write(" </td>");
if(img != "") {
document.write(" <td width=18 bgcolor='"+g+"' align=center valign=bottom style='cursor:hand'><img src='"+img+"'></td>");
} else {
document.write(" <td width=18 bgcolor='"+g+"' align=center valign=bottom style='cursor:hand'>v</td>");
}
document.write(" </tr>");
document.write(" </table>");
document.write(" </div>");
document.write("<div id='"+sn+"_select_div' name='"+sn+"_select_div' style='display:none;z-index:"+zindex+";position:absolute;' onmouseover='"+sn+"_select_div.style.display=\"\";' onmouseout='"+sn+"_select_div.style.display=\"none\";'>");
document.write(" <table border='0' cellspacing='1' cellpadding='1' bgcolor='"+b+"' width="+w+" onmouseover='"+sn+"_select_div.style.display=\"\";'>");
document.write(" <tr><td bgcolor='"+g+"' style='line-height:1.3em;' id='"+sn+"_select_span'></td></tr>");
document.write(" </table>");
document.write(" </div>");
}
function insert_select_option(sn,f,b,g,c,v,vv,chk) {
select_count[sn] ++;
option_html = "<span style='width:100%;font-size:"+f+"pt' onclick='"+sn+".value=\""+v+"\";"+sn+"_select_div.style.display=\"none\";' onmouseover='this.style.background=\""+c+"\"' onmouseout='this.style.background=\""+g+"\"'>"+vv+"/"+select_count[sn] +"</span><br>";
if(select_count[sn] == 1 || chk == "Y" ) {
document.getElementById( sn ).value = v
}
document.getElementById( sn+"_select_span").innerHTML += option_html;
}
function select_click(sn) {
if ( document.getElementById( sn+"_select_div").style.display == "none") {
document.getElementById( sn+"_select_div").style.display = "";
} else {
document.getElementById( sn+"_select_div").style.display = "none";
}
}
//insert_select(저장변수명,가로,폰트크기,보드색,배경색,선택색,화살표이미지);
//insert_select_option(저장변수명,폰트크기,보드색,배경색,선택색,value,view_value);
//기본셀릭트만들기
insert_select("test","100","8","F6D8B0","FFFFFF","F6D8B0","./images/menu_02/btn_select.gif");
//셀렉트 옵션추가
insert_select_option("test","8","F6D8B0","FFFFFF","F6D8B0","1","1");
insert_select_option("test","8","F6D8B0","FFFFFF","F6D8B0","2","2");
insert_select_option("test","8","F6D8B0","FFFFFF","F6D8B0","3","3","Y");
</script>
================================= js부분
//처리부분 js로 저장해서 사용하세요..^^
var zindex = 10000;
function insert_select ( sn,w,f,b,g,c,img) {
select_count = new Array();
select_count[sn] = 0;
zindex--;
document.write(" <div >");
document.write(" <table border='0' cellspacing='1' cellpadding='1' width='"+w+"' style='table-layout:fixed;width:"+w+";' bgcolor='"+b+"' onclick='select_click(\""+sn+"\");' >");
document.write(" <tr>");
document.write(" <td bgcolor='"+g+"'>");
document.write(" <input type='text' id='"+sn+"' name='"+sn+"' style='border:none;cursor:hand;width:100%;font-size:"+f+"pt;' onselectstart=\"return false\" readonly> ");
document.write(" </td>");
if(img != "") {
document.write(" <td width=18 bgcolor='"+g+"' align=center valign=bottom style='cursor:hand'><img src='"+img+"'></td>");
} else {
document.write(" <td width=18 bgcolor='"+g+"' align=center valign=bottom style='cursor:hand'>v</td>");
}
document.write(" </tr>");
document.write(" </table>");
document.write(" </div>");
document.write("<div id='"+sn+"_select_div' name='"+sn+"_select_div' style='display:none;z-index:"+zindex+";position:absolute;' onmouseover='"+sn+"_select_div.style.display=\"\";' onmouseout='"+sn+"_select_div.style.display=\"none\";'>");
document.write(" <table border='0' cellspacing='1' cellpadding='1' bgcolor='"+b+"' width="+w+" onmouseover='"+sn+"_select_div.style.display=\"\";'>");
document.write(" <tr><td bgcolor='"+g+"' style='line-height:1.3em;' id='"+sn+"_select_span'></td></tr>");
document.write(" </table>");
document.write(" </div>");
}
function insert_select_option(sn,f,b,g,c,v,vv,chk) {
select_count[sn] ++;
option_html = "<span style='width:100%;font-size:"+f+"pt' onclick='"+sn+".value=\""+v+"\";"+sn+"_select_div.style.display=\"none\";' onmouseover='this.style.background=\""+c+"\"' onmouseout='this.style.background=\""+g+"\"'>"+vv+"/"+select_count[sn] +"</span><br>";
if(select_count[sn] == 1 || chk == "Y" ) {
document.getElementById( sn ).value = v
}
document.getElementById( sn+"_select_span").innerHTML += option_html;
}
function select_click(sn) {
if ( document.getElementById( sn+"_select_div").style.display == "none") {
document.getElementById( sn+"_select_div").style.display = "";
} else {
document.getElementById( sn+"_select_div").style.display = "none";
}
}
[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 2030 | 17년 전 | 2796 | ||
| 2029 | 17년 전 | 1603 | ||
| 2028 | 17년 전 | 1352 | ||
| 2027 | 17년 전 | 1609 | ||
| 2026 |
진정한승리
|
17년 전 | 2518 | |
| 2025 | 17년 전 | 1741 | ||
| 2024 | 17년 전 | 2019 | ||
| 2023 | 17년 전 | 1311 | ||
| 2022 |
SE7EN
|
17년 전 | 1046 | |
| 2021 | 17년 전 | 1126 | ||
| 2020 | 17년 전 | 2927 | ||
| 2019 | 17년 전 | 2467 | ||
| 2018 | 17년 전 | 2051 | ||
| 2017 | 17년 전 | 2051 | ||
| 2016 | 17년 전 | 1798 | ||
| 2015 | 17년 전 | 2251 | ||
| 2014 | 17년 전 | 2018 | ||
| 2013 | 17년 전 | 1987 | ||
| 2012 | 17년 전 | 1874 | ||
| 2011 | 17년 전 | 1215 | ||
| 2010 | 17년 전 | 1821 | ||
| 2009 | 17년 전 | 2231 | ||
| 2008 | 17년 전 | 2306 | ||
| 2007 | 17년 전 | 1642 | ||
| 2006 |
Arone
|
17년 전 | 1515 | |
| 2005 |
|
17년 전 | 1363 | |
| 2004 | 17년 전 | 2584 | ||
| 2003 |
suerte
|
17년 전 | 2680 | |
| 2002 |
suerte
|
17년 전 | 2083 | |
| 2001 |
suerte
|
17년 전 | 2424 | |
| 2000 |
|
17년 전 | 2728 | |
| 1999 |
|
17년 전 | 1330 | |
| 1998 |
|
17년 전 | 1193 | |
| 1997 | 17년 전 | 6331 | ||
| 1996 | 17년 전 | 1187 | ||
| 1995 | 17년 전 | 1632 | ||
| 1994 | 17년 전 | 1780 | ||
| 1993 | 17년 전 | 1108 | ||
| 1992 | 17년 전 | 1195 | ||
| 1991 | 17년 전 | 1897 | ||
| 1990 |
sdjsu
|
17년 전 | 1526 | |
| 1989 | 17년 전 | 3623 | ||
| 1988 |
smilesol
|
17년 전 | 1214 | |
| 1987 |
|
17년 전 | 1911 | |
| 1986 | 17년 전 | 1191 | ||
| 1985 | 17년 전 | 1394 | ||
| 1984 | 17년 전 | 2367 | ||
| 1983 | 17년 전 | 2027 | ||
| 1982 | 17년 전 | 1040 | ||
| 1981 | 17년 전 | 1044 | ||
| 1980 | 17년 전 | 1106 | ||
| 1979 |
오렌지76
|
17년 전 | 6052 | |
| 1978 |
오렌지76
|
17년 전 | 5851 | |
| 1977 | 17년 전 | 2040 | ||
| 1976 |
없어씨바라
|
17년 전 | 1031 | |
| 1975 | 17년 전 | 1120 | ||
| 1974 | 17년 전 | 2086 | ||
| 1973 | 17년 전 | 1520 | ||
| 1972 | 17년 전 | 1159 | ||
| 1971 |
smilesol
|
17년 전 | 1196 | |
| 1970 | 17년 전 | 1149 | ||
| 1969 |
smilesol
|
17년 전 | 1070 | |
| 1968 |
소행성블루
|
17년 전 | 3973 | |
| 1967 |
소행성블루
|
17년 전 | 2178 | |
| 1966 | 17년 전 | 1654 | ||
| 1965 |
소행성블루
|
17년 전 | 2778 | |
| 1964 |
고양Ol아빠
|
17년 전 | 1483 | |
| 1963 | 17년 전 | 1169 | ||
| 1962 | 17년 전 | 1188 | ||
| 1961 |
choijinhee
|
17년 전 | 1251 | |
| 1960 | 17년 전 | 1135 | ||
| 1959 | 17년 전 | 1255 | ||
| 1958 |
하이웹솔루션
|
17년 전 | 2408 | |
| 1957 | 17년 전 | 4194 | ||
| 1956 | 17년 전 | 1194 | ||
| 1955 | 17년 전 | 3952 | ||
| 1954 | 17년 전 | 4109 | ||
| 1953 | 17년 전 | 1237 | ||
| 1952 | 17년 전 | 2185 | ||
| 1951 | 17년 전 | 1623 | ||
| 1950 | 17년 전 | 3217 | ||
| 1949 | 17년 전 | 1366 | ||
| 1948 | 17년 전 | 3611 | ||
| 1947 | 17년 전 | 3404 | ||
| 1946 | 17년 전 | 2576 | ||
| 1945 | 17년 전 | 2939 | ||
| 1944 | 17년 전 | 2629 | ||
| 1943 | 17년 전 | 1947 | ||
| 1942 | 17년 전 | 3314 | ||
| 1941 | 17년 전 | 2628 | ||
| 1940 | 17년 전 | 3524 | ||
| 1939 |
|
17년 전 | 1165 | |
| 1938 | 17년 전 | 2248 | ||
| 1937 | 17년 전 | 1327 | ||
| 1936 |
smilesol
|
17년 전 | 1199 | |
| 1935 |
AHEEZII
|
17년 전 | 1062 | |
| 1934 |
smilesol
|
17년 전 | 1043 | |
| 1933 | 17년 전 | 1418 | ||
| 1932 | 17년 전 | 2860 | ||
| 1931 | 17년 전 | 3254 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기