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,372
11년 전 조회 3,762
11년 전 조회 2,567
11년 전 조회 2,380
11년 전 조회 2,499
11년 전 조회 2,599
11년 전 조회 2,861
11년 전 조회 1.7만
11년 전 조회 2,950
11년 전 조회 2,105
11년 전 조회 2,145
11년 전 조회 2,404
11년 전 조회 4,672
11년 전 조회 2,481
11년 전 조회 2,243
11년 전 조회 2,300
11년 전 조회 2,162
11년 전 조회 2,305
11년 전 조회 3,103
11년 전 조회 2,085
11년 전 조회 2,497
11년 전 조회 3,156
11년 전 조회 2,046
11년 전 조회 2,849
11년 전 조회 2,190
11년 전 조회 2,345
11년 전 조회 2,815
11년 전 조회 3,107
11년 전 조회 2,048
11년 전 조회 2,647
11년 전 조회 1,991
11년 전 조회 5,128
11년 전 조회 2,590
11년 전 조회 2,801
11년 전 조회 2,601
11년 전 조회 2,049
11년 전 조회 2,169
11년 전 조회 2,070
11년 전 조회 6,558
11년 전 조회 2,059
11년 전 조회 2,037
12년 전 조회 4,477
12년 전 조회 2,347
12년 전 조회 5,892
12년 전 조회 3,258
12년 전 조회 4,067
12년 전 조회 2,025
12년 전 조회 2,027
12년 전 조회 2,886
12년 전 조회 2,079
12년 전 조회 3,026
12년 전 조회 2,985
12년 전 조회 5,893
12년 전 조회 2,375
12년 전 조회 3,515
12년 전 조회 2,763
12년 전 조회 2,835
12년 전 조회 2,907
12년 전 조회 2,151
12년 전 조회 2,985
12년 전 조회 1,837
12년 전 조회 5,140
12년 전 조회 3,199
12년 전 조회 3,038
12년 전 조회 2,654
12년 전 조회 8,153
12년 전 조회 2,607
12년 전 조회 2,227
12년 전 조회 3,713
12년 전 조회 3,034
12년 전 조회 2,151
12년 전 조회 2,541
12년 전 조회 3,908
12년 전 조회 3,309
12년 전 조회 3,135
12년 전 조회 3,417
12년 전 조회 3,700
12년 전 조회 4,461
12년 전 조회 4,035
12년 전 조회 4,135
12년 전 조회 4,810
12년 전 조회 4,617
12년 전 조회 1,985
12년 전 조회 5,487
12년 전 조회 6,538
12년 전 조회 2,200
12년 전 조회 3,441
12년 전 조회 2,619
12년 전 조회 1,999
12년 전 조회 2,357
12년 전 조회 2,017
12년 전 조회 3,991
12년 전 조회 2,971
12년 전 조회 1,981
12년 전 조회 2,116
12년 전 조회 2,458
12년 전 조회 2,127
12년 전 조회 2,167
12년 전 조회 2,110
12년 전 조회 2,051