t

클릭없이 게시글 미리보기<..로 사용할수 있는 소스>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>미리보기</TITLE> <LINK href="http://sokho.es.kr/sokho.ico" rel="SHORTCUT ICON"> <META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987"> <STYLE>.hide_sub { BORDER-RIGHT: 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: 1px solid; PADDING-LEFT: 3px; VISIBILITY: hidden; PADDING-BOTTOM: 3px; BORDER-LEFT: 1px solid; PADDING-TOP: 3px; BORDER-BOTTOM: 1px solid; POSITION: absolute; BACKGROUND-COLOR: #ffffff } </STYLE> <!------ 떠있는 레이어를 위한 소스 -----------------> <STYLE type=text/css>#watermark { POSITION: absolute } </STYLE> <!---------떠있는 레이어를 위한 소스 여기까지 ---------------> <SCRIPT language=JavaScript> <!-- function newin(width,height,url,name,opt) { var scroll = (opt == "no_scroll") ? "no" : "yes"; msgWindow=window.open(url,name,'statusbar=no,scrollbars='+scroll+',status=no,resizable=yes,width='+width+',height='+height) } function clearField(field){ if (field.value == field.defaultValue) { field.value = ""; } } function checkField(field){ if (field.value == "") { field.value = field.defaultValue; } } // 하부메뉴 출력(nn4+, ie4+) function view_menu(sub_id, opt, evt, cmt) { var plus_left, plus_top; if(cmt) { plus_left = 9; plus_top = 19; } else { plus_left = 0; plus_top = 0; } if(document.all || document.getElementById) { if(document.all) { obj = document.all[sub_id]; if(opt == "") { var x_pos = evt.clientX + document.body.scrollLeft + plus_left; x_pos = (cmt && (document.body.clientWidth - (x_pos + 420 + plus_left) < 0)) ? (document.body.clientWidth - (420 + plus_left)) : x_pos; obj.style.left = x_pos; obj.style.top = evt.clientY + document.body.scrollTop + plus_top; } } else { obj = document.getElementById(sub_id); if(opt == "") { var x_pos = evt.clientX + window.scrollX + plus_left; x_pos = (cmt && (self.innerWidth - (x_pos + 420 + plus_left) < 0)) ? (document.body.clientWidth - (420 + plus_left)) : x_pos; obj.style.left = x_pos; obj.style.top = evt.clientY + window.scrollY + plus_top; } } obj.style.visibility = "visible"; } else{ obj = document.layers[sub_id]; obj.visibility = "visible"; if(opt == "") { obj.left = evt.pageX + plus_left; obj.top = evt.pageY + plus_top; } } } // 하부메뉴 숨기기(nn4+, ie4+) function hide_menu(sub_id) { if(document.all || document.getElementById) { if(document.all) { obj = document.all[sub_id]; } else { obj = document.getElementById(sub_id); } obj.style.visibility = "hidden"; } else{ obj = document.layers[sub_id]; obj.visibility = "hidden"; } } //--> </SCRIPT> </HEAD> <BODY bgColor=#ffffff leftMargin=0 topMargin=5> <DIV class=hide_sub id=open> <TABLE cellSpacing=0 cellPadding=3 width=420 border=0> <TR> <TR> <TD class=cont>내용<BR></TD></TR></TABLE></DIV> <!--게시물 추출 테이블 시작--> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR> <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TR height=24> <TD><SPAN id=cmt_home_work8 style="VISIBILITY: visible; CURSOR: hand" onmouseout="hide_menu('synd8');"> <A onmousemove="view_menu('synd8', '', event, 'cmt');" href="#"><FONT color=#4e4e4e>제목</FONT></A></SPAN></TD> </TR> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </BODY> </HTML>
|

댓글 1개

잘만 제련한다면 좋은 스킨 만들수 있겠죠/ ㅋ.ㅋ
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 팁자료실

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요. 나누면 즐거움이 커집니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 3,752
18년 전 조회 3,087
18년 전 조회 3,222
18년 전 조회 3,033
18년 전 조회 7,949
18년 전 조회 5,539
18년 전 조회 3,558
18년 전 조회 5,760
18년 전 조회 7,831
18년 전 조회 3,434
18년 전 조회 3,188
18년 전 조회 5,320
18년 전 조회 4,941
18년 전 조회 4,967
18년 전 조회 1.2만
18년 전 조회 4,429
18년 전 조회 2,940
18년 전 조회 6,219
18년 전 조회 4,422
18년 전 조회 1.6만
🐛 버그신고