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,437
11년 전 조회 3,841
11년 전 조회 2,656
11년 전 조회 2,448
11년 전 조회 2,569
11년 전 조회 2,688
11년 전 조회 2,946
11년 전 조회 1.7만
11년 전 조회 3,026
11년 전 조회 2,177
11년 전 조회 2,224
11년 전 조회 2,478
11년 전 조회 4,766
11년 전 조회 2,559
11년 전 조회 2,335
11년 전 조회 2,395
11년 전 조회 2,237
11년 전 조회 2,397
11년 전 조회 3,197
11년 전 조회 2,165
11년 전 조회 2,595
11년 전 조회 3,252
11년 전 조회 2,150
11년 전 조회 2,936
11년 전 조회 2,285
11년 전 조회 2,424
11년 전 조회 2,909
11년 전 조회 3,191
11년 전 조회 2,129
11년 전 조회 2,732
11년 전 조회 2,081
11년 전 조회 5,205
11년 전 조회 2,671
11년 전 조회 2,885
11년 전 조회 2,688
11년 전 조회 2,133
11년 전 조회 2,249
11년 전 조회 2,153
11년 전 조회 6,631
12년 전 조회 2,139
12년 전 조회 2,115
12년 전 조회 4,556
12년 전 조회 2,425
12년 전 조회 5,977
12년 전 조회 3,336
12년 전 조회 4,139
12년 전 조회 2,104
12년 전 조회 2,102
12년 전 조회 2,959
12년 전 조회 2,156
12년 전 조회 3,092
12년 전 조회 3,053
12년 전 조회 5,968
12년 전 조회 2,452
12년 전 조회 3,585
12년 전 조회 2,837
12년 전 조회 2,902
12년 전 조회 2,979
12년 전 조회 2,234
12년 전 조회 3,059
12년 전 조회 1,908
12년 전 조회 5,202
12년 전 조회 3,286
12년 전 조회 3,117
12년 전 조회 2,725
12년 전 조회 8,221
12년 전 조회 2,671
12년 전 조회 2,299
12년 전 조회 3,780
12년 전 조회 3,101
12년 전 조회 2,222
12년 전 조회 2,626
12년 전 조회 3,975
12년 전 조회 3,384
12년 전 조회 3,208
12년 전 조회 3,501
12년 전 조회 3,765
12년 전 조회 4,526
12년 전 조회 4,107
12년 전 조회 4,200
12년 전 조회 4,880
12년 전 조회 4,692
12년 전 조회 2,043
12년 전 조회 5,551
12년 전 조회 6,603
12년 전 조회 2,270
12년 전 조회 3,505
12년 전 조회 2,693
12년 전 조회 2,062
12년 전 조회 2,420
12년 전 조회 2,080
12년 전 조회 4,057
12년 전 조회 3,043
12년 전 조회 2,041
12년 전 조회 2,179
12년 전 조회 2,515
12년 전 조회 2,199
12년 전 조회 2,235
12년 전 조회 2,164
12년 전 조회 2,111