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,436
11년 전 조회 3,836
11년 전 조회 2,652
11년 전 조회 2,447
11년 전 조회 2,566
11년 전 조회 2,682
11년 전 조회 2,944
11년 전 조회 1.7만
11년 전 조회 3,023
11년 전 조회 2,173
11년 전 조회 2,222
11년 전 조회 2,475
11년 전 조회 4,764
11년 전 조회 2,556
11년 전 조회 2,333
11년 전 조회 2,390
11년 전 조회 2,234
11년 전 조회 2,391
11년 전 조회 3,193
11년 전 조회 2,162
11년 전 조회 2,591
11년 전 조회 3,248
11년 전 조회 2,147
11년 전 조회 2,931
11년 전 조회 2,284
11년 전 조회 2,420
11년 전 조회 2,907
11년 전 조회 3,187
11년 전 조회 2,125
11년 전 조회 2,729
11년 전 조회 2,079
11년 전 조회 5,203
11년 전 조회 2,668
11년 전 조회 2,884
11년 전 조회 2,683
11년 전 조회 2,129
11년 전 조회 2,243
11년 전 조회 2,147
11년 전 조회 6,629
12년 전 조회 2,139
12년 전 조회 2,114
12년 전 조회 4,555
12년 전 조회 2,421
12년 전 조회 5,974
12년 전 조회 3,335
12년 전 조회 4,137
12년 전 조회 2,102
12년 전 조회 2,099
12년 전 조회 2,955
12년 전 조회 2,153
12년 전 조회 3,088
12년 전 조회 3,052
12년 전 조회 5,967
12년 전 조회 2,450
12년 전 조회 3,581
12년 전 조회 2,835
12년 전 조회 2,900
12년 전 조회 2,976
12년 전 조회 2,233
12년 전 조회 3,058
12년 전 조회 1,904
12년 전 조회 5,200
12년 전 조회 3,282
12년 전 조회 3,117
12년 전 조회 2,723
12년 전 조회 8,219
12년 전 조회 2,668
12년 전 조회 2,297
12년 전 조회 3,778
12년 전 조회 3,095
12년 전 조회 2,222
12년 전 조회 2,624
12년 전 조회 3,972
12년 전 조회 3,383
12년 전 조회 3,207
12년 전 조회 3,498
12년 전 조회 3,763
12년 전 조회 4,522
12년 전 조회 4,104
12년 전 조회 4,197
12년 전 조회 4,874
12년 전 조회 4,692
12년 전 조회 2,040
12년 전 조회 5,550
12년 전 조회 6,599
12년 전 조회 2,268
12년 전 조회 3,502
12년 전 조회 2,691
12년 전 조회 2,060
12년 전 조회 2,417
12년 전 조회 2,079
12년 전 조회 4,057
12년 전 조회 3,043
12년 전 조회 2,039
12년 전 조회 2,178
12년 전 조회 2,513
12년 전 조회 2,197
12년 전 조회 2,233
12년 전 조회 2,163
12년 전 조회 2,108