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,204
11년 전 조회 3,592
11년 전 조회 2,413
11년 전 조회 2,195
11년 전 조회 2,332
11년 전 조회 2,424
11년 전 조회 2,689
11년 전 조회 1.7만
11년 전 조회 2,797
11년 전 조회 1,924
11년 전 조회 1,978
11년 전 조회 2,220
11년 전 조회 4,517
11년 전 조회 2,294
11년 전 조회 2,086
11년 전 조회 2,129
11년 전 조회 1,994
11년 전 조회 2,160
11년 전 조회 2,934
11년 전 조회 1,922
11년 전 조회 2,315
11년 전 조회 2,980
11년 전 조회 1,865
11년 전 조회 2,696
11년 전 조회 2,040
11년 전 조회 2,183
11년 전 조회 2,657
11년 전 조회 2,934
11년 전 조회 1,882
11년 전 조회 2,468
11년 전 조회 1,816
11년 전 조회 4,977
11년 전 조회 2,401
11년 전 조회 2,652
11년 전 조회 2,434
11년 전 조회 1,883
11년 전 조회 2,007
11년 전 조회 1,894
11년 전 조회 6,389
11년 전 조회 1,894
11년 전 조회 1,886
11년 전 조회 4,305
11년 전 조회 2,182
11년 전 조회 5,734
11년 전 조회 3,105
11년 전 조회 3,907
11년 전 조회 1,841
11년 전 조회 1,858
11년 전 조회 2,719
11년 전 조회 1,916
11년 전 조회 2,863
11년 전 조회 2,812
11년 전 조회 5,719
11년 전 조회 2,204
11년 전 조회 3,345
11년 전 조회 2,613
11년 전 조회 2,673
11년 전 조회 2,756
11년 전 조회 2,003
11년 전 조회 2,815
11년 전 조회 1,691
12년 전 조회 4,996
12년 전 조회 3,061
12년 전 조회 2,890
12년 전 조회 2,520
12년 전 조회 8,022
12년 전 조회 2,465
12년 전 조회 2,086
12년 전 조회 3,563
12년 전 조회 2,886
12년 전 조회 2,007
12년 전 조회 2,396
12년 전 조회 3,747
12년 전 조회 3,152
12년 전 조회 2,978
12년 전 조회 3,262
12년 전 조회 3,556
12년 전 조회 4,304
12년 전 조회 3,896
12년 전 조회 3,957
12년 전 조회 4,662
12년 전 조회 4,442
12년 전 조회 1,847
12년 전 조회 5,333
12년 전 조회 6,386
12년 전 조회 2,044
12년 전 조회 3,297
12년 전 조회 2,465
12년 전 조회 1,854
12년 전 조회 2,206
12년 전 조회 1,860
12년 전 조회 3,848
12년 전 조회 2,828
12년 전 조회 1,838
12년 전 조회 1,969
12년 전 조회 2,310
12년 전 조회 1,977
12년 전 조회 2,023
12년 전 조회 1,972
12년 전 조회 1,916