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,486
11년 전 조회 3,888
11년 전 조회 2,708
11년 전 조회 2,496
11년 전 조회 2,626
11년 전 조회 2,746
11년 전 조회 3,004
11년 전 조회 1.7만
11년 전 조회 3,082
11년 전 조회 2,231
11년 전 조회 2,263
11년 전 조회 2,532
11년 전 조회 4,813
11년 전 조회 2,604
11년 전 조회 2,377
11년 전 조회 2,447
11년 전 조회 2,285
11년 전 조회 2,450
11년 전 조회 3,257
11년 전 조회 2,207
11년 전 조회 2,641
11년 전 조회 3,292
11년 전 조회 2,202
11년 전 조회 2,975
11년 전 조회 2,331
11년 전 조회 2,466
11년 전 조회 2,947
11년 전 조회 3,235
11년 전 조회 2,180
11년 전 조회 2,782
11년 전 조회 2,123
11년 전 조회 5,243
11년 전 조회 2,715
11년 전 조회 2,928
11년 전 조회 2,749
11년 전 조회 2,172
11년 전 조회 2,301
11년 전 조회 2,190
12년 전 조회 6,675
12년 전 조회 2,177
12년 전 조회 2,159
12년 전 조회 4,598
12년 전 조회 2,473
12년 전 조회 6,022
12년 전 조회 3,378
12년 전 조회 4,176
12년 전 조회 2,145
12년 전 조회 2,137
12년 전 조회 2,996
12년 전 조회 2,178
12년 전 조회 3,128
12년 전 조회 3,089
12년 전 조회 6,020
12년 전 조회 2,485
12년 전 조회 3,617
12년 전 조회 2,877
12년 전 조회 2,935
12년 전 조회 3,015
12년 전 조회 2,257
12년 전 조회 3,092
12년 전 조회 1,944
12년 전 조회 5,250
12년 전 조회 3,319
12년 전 조회 3,150
12년 전 조회 2,767
12년 전 조회 8,250
12년 전 조회 2,703
12년 전 조회 2,333
12년 전 조회 3,812
12년 전 조회 3,141
12년 전 조회 2,252
12년 전 조회 2,655
12년 전 조회 4,013
12년 전 조회 3,423
12년 전 조회 3,239
12년 전 조회 3,538
12년 전 조회 3,798
12년 전 조회 4,565
12년 전 조회 4,137
12년 전 조회 4,233
12년 전 조회 4,922
12년 전 조회 4,729
12년 전 조회 2,080
12년 전 조회 5,590
12년 전 조회 6,640
12년 전 조회 2,300
12년 전 조회 3,535
12년 전 조회 2,729
12년 전 조회 2,086
12년 전 조회 2,458
12년 전 조회 2,112
12년 전 조회 4,092
12년 전 조회 3,084
12년 전 조회 2,083
12년 전 조회 2,214
12년 전 조회 2,553
12년 전 조회 2,230
12년 전 조회 2,261
12년 전 조회 2,200
12년 전 조회 2,143