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,257
11년 전 조회 3,648
11년 전 조회 2,455
11년 전 조회 2,259
11년 전 조회 2,384
11년 전 조회 2,477
11년 전 조회 2,736
11년 전 조회 1.7만
11년 전 조회 2,825
11년 전 조회 1,981
11년 전 조회 2,042
11년 전 조회 2,287
11년 전 조회 4,568
11년 전 조회 2,348
11년 전 조회 2,119
11년 전 조회 2,177
11년 전 조회 2,044
11년 전 조회 2,197
11년 전 조회 2,981
11년 전 조회 1,969
11년 전 조회 2,352
11년 전 조회 3,024
11년 전 조회 1,914
11년 전 조회 2,727
11년 전 조회 2,083
11년 전 조회 2,216
11년 전 조회 2,711
11년 전 조회 2,987
11년 전 조회 1,924
11년 전 조회 2,512
11년 전 조회 1,873
11년 전 조회 5,010
11년 전 조회 2,452
11년 전 조회 2,696
11년 전 조회 2,479
11년 전 조회 1,921
11년 전 조회 2,051
11년 전 조회 1,945
11년 전 조회 6,430
11년 전 조회 1,928
11년 전 조회 1,925
11년 전 조회 4,352
11년 전 조회 2,221
11년 전 조회 5,769
11년 전 조회 3,152
11년 전 조회 3,949
11년 전 조회 1,891
11년 전 조회 1,903
11년 전 조회 2,749
11년 전 조회 1,955
11년 전 조회 2,899
11년 전 조회 2,855
11년 전 조회 5,769
11년 전 조회 2,256
11년 전 조회 3,385
11년 전 조회 2,655
12년 전 조회 2,712
12년 전 조회 2,789
12년 전 조회 2,038
12년 전 조회 2,863
12년 전 조회 1,737
12년 전 조회 5,032
12년 전 조회 3,089
12년 전 조회 2,916
12년 전 조회 2,553
12년 전 조회 8,059
12년 전 조회 2,505
12년 전 조회 2,124
12년 전 조회 3,598
12년 전 조회 2,924
12년 전 조회 2,044
12년 전 조회 2,433
12년 전 조회 3,778
12년 전 조회 3,192
12년 전 조회 3,023
12년 전 조회 3,296
12년 전 조회 3,590
12년 전 조회 4,338
12년 전 조회 3,927
12년 전 조회 4,003
12년 전 조회 4,707
12년 전 조회 4,483
12년 전 조회 1,878
12년 전 조회 5,371
12년 전 조회 6,423
12년 전 조회 2,094
12년 전 조회 3,335
12년 전 조회 2,502
12년 전 조회 1,887
12년 전 조회 2,252
12년 전 조회 1,901
12년 전 조회 3,886
12년 전 조회 2,861
12년 전 조회 1,869
12년 전 조회 2,007
12년 전 조회 2,341
12년 전 조회 2,011
12년 전 조회 2,057
12년 전 조회 2,003
12년 전 조회 1,958