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,400
11년 전 조회 3,804
11년 전 조회 2,608
11년 전 조회 2,411
11년 전 조회 2,536
11년 전 조회 2,636
11년 전 조회 2,898
11년 전 조회 1.7만
11년 전 조회 2,980
11년 전 조회 2,131
11년 전 조회 2,182
11년 전 조회 2,432
11년 전 조회 4,716
11년 전 조회 2,522
11년 전 조회 2,284
11년 전 조회 2,351
11년 전 조회 2,198
11년 전 조회 2,339
11년 전 조회 3,149
11년 전 조회 2,122
11년 전 조회 2,545
11년 전 조회 3,209
11년 전 조회 2,103
11년 전 조회 2,897
11년 전 조회 2,243
11년 전 조회 2,383
11년 전 조회 2,863
11년 전 조회 3,147
11년 전 조회 2,081
11년 전 조회 2,693
11년 전 조회 2,036
11년 전 조회 5,169
11년 전 조회 2,630
11년 전 조회 2,850
11년 전 조회 2,650
11년 전 조회 2,092
11년 전 조회 2,212
11년 전 조회 2,115
11년 전 조회 6,597
11년 전 조회 2,099
12년 전 조회 2,080
12년 전 조회 4,518
12년 전 조회 2,383
12년 전 조회 5,937
12년 전 조회 3,302
12년 전 조회 4,109
12년 전 조회 2,064
12년 전 조회 2,064
12년 전 조회 2,921
12년 전 조회 2,116
12년 전 조회 3,061
12년 전 조회 3,025
12년 전 조회 5,939
12년 전 조회 2,418
12년 전 조회 3,553
12년 전 조회 2,797
12년 전 조회 2,876
12년 전 조회 2,947
12년 전 조회 2,201
12년 전 조회 3,022
12년 전 조회 1,872
12년 전 조회 5,171
12년 전 조회 3,248
12년 전 조회 3,084
12년 전 조회 2,690
12년 전 조회 8,189
12년 전 조회 2,640
12년 전 조회 2,263
12년 전 조회 3,750
12년 전 조회 3,067
12년 전 조회 2,187
12년 전 조회 2,590
12년 전 조회 3,947
12년 전 조회 3,353
12년 전 조회 3,173
12년 전 조회 3,463
12년 전 조회 3,738
12년 전 조회 4,491
12년 전 조회 4,077
12년 전 조회 4,167
12년 전 조회 4,848
12년 전 조회 4,654
12년 전 조회 2,019
12년 전 조회 5,520
12년 전 조회 6,576
12년 전 조회 2,235
12년 전 조회 3,467
12년 전 조회 2,660
12년 전 조회 2,031
12년 전 조회 2,392
12년 전 조회 2,058
12년 전 조회 4,030
12년 전 조회 3,011
12년 전 조회 2,013
12년 전 조회 2,147
12년 전 조회 2,488
12년 전 조회 2,164
12년 전 조회 2,199
12년 전 조회 2,138
12년 전 조회 2,082