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,250
11년 전 조회 3,640
11년 전 조회 2,448
11년 전 조회 2,251
11년 전 조회 2,376
11년 전 조회 2,469
11년 전 조회 2,729
11년 전 조회 1.7만
11년 전 조회 2,820
11년 전 조회 1,975
11년 전 조회 2,034
11년 전 조회 2,279
11년 전 조회 4,552
11년 전 조회 2,336
11년 전 조회 2,114
11년 전 조회 2,163
11년 전 조회 2,037
11년 전 조회 2,191
11년 전 조회 2,972
11년 전 조회 1,962
11년 전 조회 2,345
11년 전 조회 3,011
11년 전 조회 1,905
11년 전 조회 2,721
11년 전 조회 2,076
11년 전 조회 2,213
11년 전 조회 2,704
11년 전 조회 2,983
11년 전 조회 1,915
11년 전 조회 2,507
11년 전 조회 1,862
11년 전 조회 5,001
11년 전 조회 2,439
11년 전 조회 2,692
11년 전 조회 2,476
11년 전 조회 1,913
11년 전 조회 2,044
11년 전 조회 1,937
11년 전 조회 6,420
11년 전 조회 1,921
11년 전 조회 1,920
11년 전 조회 4,345
11년 전 조회 2,214
11년 전 조회 5,766
11년 전 조회 3,142
11년 전 조회 3,941
11년 전 조회 1,881
11년 전 조회 1,897
11년 전 조회 2,743
11년 전 조회 1,944
11년 전 조회 2,897
11년 전 조회 2,847
11년 전 조회 5,762
11년 전 조회 2,250
11년 전 조회 3,378
11년 전 조회 2,646
12년 전 조회 2,704
12년 전 조회 2,786
12년 전 조회 2,032
12년 전 조회 2,852
12년 전 조회 1,730
12년 전 조회 5,028
12년 전 조회 3,082
12년 전 조회 2,910
12년 전 조회 2,546
12년 전 조회 8,059
12년 전 조회 2,504
12년 전 조회 2,119
12년 전 조회 3,595
12년 전 조회 2,919
12년 전 조회 2,037
12년 전 조회 2,426
12년 전 조회 3,773
12년 전 조회 3,186
12년 전 조회 3,011
12년 전 조회 3,292
12년 전 조회 3,586
12년 전 조회 4,337
12년 전 조회 3,923
12년 전 조회 3,997
12년 전 조회 4,698
12년 전 조회 4,471
12년 전 조회 1,876
12년 전 조회 5,364
12년 전 조회 6,416
12년 전 조회 2,084
12년 전 조회 3,328
12년 전 조회 2,497
12년 전 조회 1,884
12년 전 조회 2,241
12년 전 조회 1,895
12년 전 조회 3,880
12년 전 조회 2,855
12년 전 조회 1,864
12년 전 조회 1,999
12년 전 조회 2,336
12년 전 조회 2,007
12년 전 조회 2,049
12년 전 조회 1,997
12년 전 조회 1,952