마우스로 탭 오버시 다른 내용(최근게시글) 보이기 > 기술자료 | 해피정닷컴

마우스로 탭 오버시 다른 내용(최근게시글) 보이기 > 기술자료

본문 바로가기

사이트 내 전체검색

마우스로 탭 오버시 다른 내용(최근게시글) 보이기 > 기술자료

JavaScript 마우스로 탭 오버시 다른 내용(최근게시글) 보이기

페이지 정보


본문




1. table 로 구성하기

<script>
// LAYER SHOW HIDE
function Lbbs(stat){
  if (stat == 1){
    document.all.Lbbs1.style.display = "block";
    document.all.Lbbs2.style.display = "none";
    document.all.Lbbs3.style.display = "none";
  } else if (stat == 2){  
    document.all.Lbbs1.style.display = "none";
    document.all.Lbbs2.style.display = "block";
    document.all.Lbbs3.style.display = "none";
  } else if (stat == 3){  
    document.all.Lbbs1.style.display = "none";
    document.all.Lbbs2.style.display = "none";
    document.all.Lbbs3.style.display = "block";
  }
}
</script>
<!-- START : 최근게시물 -->
<div id="Lbbs" style="z-index:1; border-width:0px; border-style:none; visibility: visible;">
    <!-- Board 1 -->
    <div id="Lbbs1" style="display: block;">
        <table width="320" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="50"><a href="board1.html" onfocus="blur()" onmouseover="Lbbs(1)"><img src="img1_on.gif" alt=""></a></td>
                <td width="50"><a href="board2.html" onfocus="blur()" onmouseover="Lbbs(2)"><img src="img2.gif" alt=""></a></td>
                <td width="50"><a href="board3.html" onfocus="blur()" onmouseover="Lbbs(3)"><img src="img3.gif" alt=""></a></td>
                <td align="right"><a href="board1.html"><img src="img/img_more.gif" alt="" /></a></td>
            </tr>
            <tr>
                <td colspan="4">게시글리스트</td>
            </tr>
        </table>
    </div>
    <!-- Board 2 -->
    <div id="Lbbs2" style="display: none;">
        <table width="320" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="50"><a href="board1.html" onfocus="blur()" onmouseover="Lbbs(1)"><img src="img1.gif" alt=""></a></td>
                <td width="50"><a href="board2.html" onfocus="blur()" onmouseover="Lbbs(2)"><img src="img2_on.gif" alt=""></a></td>
                <td width="50"><a href="board3.html" onfocus="blur()" onmouseover="Lbbs(3)"><img src="img3.gif" alt=""></a></td>
                <td align="right"><a href="board2.html"><img src="img/img_more.gif" alt=""></a></td>
            </tr>
            <tr>
                <td colspan="4">게시글리스트</td>
            </tr>
        </table>
    </div>
    <!-- Board 3  -->
    <div id="Lbbs3" style="display: none;">
        <table width="320" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="50"><a href="board1.html" onfocus="blur()" onmouseover="Lbbs(1)"><img src="img1.gif" alt=""></a></td>
                <td width="50"><a href="board2.html" onfocus="blur()" onmouseover="Lbbs(2)"><img src="img2.gif" alt=""></a></td>
                <td width="50"><a href="board3.html" onfocus="blur()" onmouseover="Lbbs(3)"><img src="img3_on.gif" alt=""></a></td>
                <td align="right"><a href="board3.html"><img src="img/img_more.gif" alt=""></a></td>
            </tr>
            <tr>
                <td colspan="4">게시글리스트</td>
            </tr>
        </table>
    </div>
    <!-- //Board  -->
</div>


2. div 로 구성하기

<script>
// LAYER SHOW HIDE
function Lbbs(stat){
  if (stat == 1){
    document.all.Lbbs1.style.display = "block";
    document.all.Lbbs2.style.display = "none";
    document.all.Lbbs3.style.display = "none";
  } else if (stat == 2){  
    document.all.Lbbs1.style.display = "none";
    document.all.Lbbs2.style.display = "block";
    document.all.Lbbs3.style.display = "none";
  } else if (stat == 3){  
    document.all.Lbbs1.style.display = "none";
    document.all.Lbbs2.style.display = "none";
    document.all.Lbbs3.style.display = "block";
  }
}
</script>
<!-- START : 최근게시물 -->
<div id="Lbbs" style="z-index:1; border-width:0px; border-style:none; visibility: visible;">
    <!-- Board 1 -->
    <div id="Lbbs1" style="display: block;">
        <div style="border-bottom:1px solid #d9d9d9;">
            <div style="float:left;"><a href="board1.html" onfocus="blur()" onmouseover="Lbbs(1)"><img src="img1_on.png"></a></div>
            <div style="float:left;"><a href="board2.html" onfocus="blur()" onmouseover="Lbbs(2)"><img src="img2.png"></a></div>
            <div style="float:left;"><a href="board3.html" onfocus="blur()" onmouseover="Lbbs(3)"><img src="img3.png"></a></div>
            <div style="float:right;"><a href="board1.html"><img src="img_more.png"></a></div>
            <div style="clear:both;"></div>
        </div>
        <div style="min-height:110px;">게시글리스트</div>
    </div>
    <!-- Board 2 -->
    <div id="Lbbs2" style="display: none;">
        <div style="border-bottom:1px solid #d9d9d9;">
            <div style="float:left;"><a href="board1.html" onfocus="blur()" onmouseover="Lbbs(1)"><img src="img1.png"></a></div>
            <div style="float:left;"><a href="board2.html" onfocus="blur()" onmouseover="Lbbs(2)"><img src="img2_on.png"></a></div>
            <div style="float:left;"><a href="board3.html" onfocus="blur()" onmouseover="Lbbs(3)"><img src="img3.png"></a></div>
            <div style="float:right;"><a href="board2.html"><img src="img_more.png"></a></div>
            <div style="clear:both;"></div>
        </div>
        <div style="min-height:110px;">게시글리스트</div>
    </div>
    <!-- Board 3  -->
    <div id="Lbbs3" style="display: none;">
        <div style="border-bottom:1px solid #d9d9d9;">
            <div style="float:left;"><a href="board1.html" onfocus="blur()" onmouseover="Lbbs(1)"><img src="img1.png"></a></div>
            <div style="float:left;"><a href="board2.html" onfocus="blur()" onmouseover="Lbbs(2)"><img src="img2.png"></a></div>
            <div style="float:left;"><a href="board3.html" onfocus="blur()" onmouseover="Lbbs(3)"><img src="img3_on.png"></a></div>
            <div style="float:right;"><a href="board3.html"><img src="img_more.png"></a></div>
            <div style="clear:both;"></div>
        </div>
        <div style="min-height:110px;">게시글리스트</div>
    </div>
    <!-- //Board  -->
</div>

댓글목록

등록된 댓글이 없습니다.


Total 152건 3 페이지
  • RSS
기술자료 목록
112
JavaScript   13101  2016-09-07 16:25 ~ 2016-09-08 00:00  
111
JavaScript   13840  2016-01-21 17:25  
110
JavaScript   22677  2015-04-20 09:32 ~ 2021-02-26 16:54  
109
JavaScript   13805  2014-12-03 13:30  
108
JavaScript   17953  2014-11-15 21:09  
107
JavaScript   19188  2014-09-27 08:32  
106
JavaScript   13696  2014-09-25 14:32  
105
JavaScript   24749  2014-08-29 01:06 ~ 2016-08-04 00:00  
104
JavaScript   21170  2013-10-07 22:18  
열람
JavaScript   35998  2013-07-24 22:44 ~ 2018-01-04 12:28  
102
JavaScript   21188  2013-07-02 12:11 ~ 2014-08-20 00:00  
101
JavaScript   14663  2013-06-28 16:03  
100
JavaScript   35419  2013-06-24 05:27  
99
JavaScript   14674  2013-06-19 01:10  
98
JavaScript   14126  2013-05-28 14:03  
97
JavaScript   20919  2013-05-24 19:37  
96
JavaScript   56974  2013-05-07 01:05 ~ 2013-05-09 00:00  
95
JavaScript   33459  2013-05-04 19:16 ~ 2019-12-16 11:47  
94
JavaScript   18203  2013-02-05 11:27  
93
JavaScript   15022  2013-01-28 00:42  

검색

해피정닷컴 정보

회사소개 회사연혁 협력사 오시는길 서비스 이용약관 개인정보 처리방침

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 1동 222호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 제2024-대전대덕-0405호 [사업자등록확인]  
Copyright 2001~2024 해피정닷컴. All Rights Reserved.