onclick 소스 질문 드립니다.

onclick으로 링크해서 div 두개가 탭 형식으로 왔다 갔다 하는데...


열리는건 잘 열리는데... 해당 자리에서 움직여야 하는데... 스크롤 탑으로 이동을 합니다.


이거 해결할수 있는 방법을 아시면 부탁좀 드립니다.


작동은 하는데 맨 위로 이동을 합니다.




<div id="layers_1">
<table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td style="padding-top:30px;padding-bottom:25px">
<table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="191">
   <a name="buttons" href="#" onclick="show_over(this); show_layer('layers_1');"><img src="/images/main/main_list_title1_over.png"><img src="/images/main/main_list_title1_over.png" style="display:none;"></a>
  </td>
        <td width="191">
   <a name="buttons" href="#" onclick="show_over(this); show_layer('layers_2');"><img src="/images/main/main_list_title2.png"><img src="/images/main/main_list_title2_over.png" style="display:none;"></a>
  </td>
        <td background="images/main/main_list_bg.png"> </td>
      </tr>
</table>
    </td>
  </tr>
</table>
<? echo latest2("index_portfolio_140314", "portfolio_01", 16, 30); ?>
</div>


<div id="layers_2" style="display:none;">
<table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td style="padding-top:30px;padding-bottom:25px">
<table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="191">
   <a name="buttons" href="#" onclick="show_over(this); show_layer('layers_1');"><img src="/images/main/main_list_title1.png"><img src="/images/main/main_list_title1_over.png" style="display:none;"></a>
  </td>
        <td width="191">
   <a name="buttons" href="#" onclick="show_over(this); show_layer('layers_2');"><img src="/images/main/main_list_title2_over.png"><img src="/images/main/main_list_title2_over.png" style="display:none;"></a>
  </td>
        <td background="images/main/main_list_bg.png"> </td>
      </tr>
</table>
    </td>
  </tr>
</table>

<? echo latest2("index_portfolio_140314", "portfolio_02", 16, 30);  ?>

</div>

|

댓글 1개

href="#" => href="javascript:;"
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
11년 전 조회 5,011
11년 전 조회 3,420
11년 전 조회 2,203
11년 전 조회 1,980
11년 전 조회 2,118
11년 전 조회 2,197
11년 전 조회 2,510
11년 전 조회 1.7만
11년 전 조회 2,602
11년 전 조회 1,710
11년 전 조회 1,743
11년 전 조회 2,033
11년 전 조회 4,319
11년 전 조회 2,102
11년 전 조회 1,870
11년 전 조회 1,915
11년 전 조회 1,799
11년 전 조회 1,974
11년 전 조회 2,794
11년 전 조회 1,704
11년 전 조회 2,146
11년 전 조회 2,789
11년 전 조회 1,650
11년 전 조회 2,529
11년 전 조회 1,863
11년 전 조회 2,023
11년 전 조회 2,476
11년 전 조회 2,765
11년 전 조회 1,718
11년 전 조회 2,278
11년 전 조회 1,658
11년 전 조회 4,829
11년 전 조회 2,221
11년 전 조회 2,491
11년 전 조회 2,268
11년 전 조회 1,708
11년 전 조회 1,833
11년 전 조회 1,726
11년 전 조회 6,247
11년 전 조회 1,713
11년 전 조회 1,700
11년 전 조회 4,152
11년 전 조회 2,012
11년 전 조회 5,565
11년 전 조회 2,935
11년 전 조회 3,764
11년 전 조회 1,680
11년 전 조회 1,724
11년 전 조회 2,556
11년 전 조회 1,748
11년 전 조회 2,716
11년 전 조회 2,641
11년 전 조회 5,541
11년 전 조회 2,040
11년 전 조회 3,179
11년 전 조회 2,431
11년 전 조회 2,504
11년 전 조회 2,590
11년 전 조회 1,819
11년 전 조회 2,660
11년 전 조회 1,504
11년 전 조회 4,835
11년 전 조회 2,892
11년 전 조회 2,728
11년 전 조회 2,351
11년 전 조회 7,847
11년 전 조회 2,299
11년 전 조회 1,915
11년 전 조회 3,375
11년 전 조회 2,749
11년 전 조회 1,836
11년 전 조회 2,279
11년 전 조회 3,581
11년 전 조회 2,991
11년 전 조회 2,817
11년 전 조회 3,129
11년 전 조회 3,378
11년 전 조회 4,152
11년 전 조회 3,744
11년 전 조회 3,806
11년 전 조회 4,495
11년 전 조회 4,293
11년 전 조회 1,682
11년 전 조회 5,178
11년 전 조회 6,242
11년 전 조회 1,906
11년 전 조회 3,143
12년 전 조회 2,298
12년 전 조회 1,682
12년 전 조회 2,051
12년 전 조회 1,721
12년 전 조회 3,693
12년 전 조회 2,675
12년 전 조회 1,676
12년 전 조회 1,815
12년 전 조회 2,149
12년 전 조회 1,823
12년 전 조회 1,860
12년 전 조회 1,812
12년 전 조회 1,758