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년 전 조회 4,853
11년 전 조회 3,252
11년 전 조회 2,014
11년 전 조회 1,800
11년 전 조회 1,950
11년 전 조회 2,031
11년 전 조회 2,337
11년 전 조회 1.6만
11년 전 조회 2,439
11년 전 조회 1,546
11년 전 조회 1,582
11년 전 조회 1,853
11년 전 조회 4,136
11년 전 조회 1,940
11년 전 조회 1,725
11년 전 조회 1,747
11년 전 조회 1,624
11년 전 조회 1,803
11년 전 조회 2,708
11년 전 조회 1,531
11년 전 조회 1,977
11년 전 조회 2,617
11년 전 조회 1,477
11년 전 조회 2,355
11년 전 조회 1,698
11년 전 조회 1,852
11년 전 조회 2,310
11년 전 조회 2,583
11년 전 조회 1,553
11년 전 조회 2,113
11년 전 조회 1,476
11년 전 조회 4,641
11년 전 조회 2,034
11년 전 조회 2,309
11년 전 조회 2,098
11년 전 조회 1,545
11년 전 조회 1,651
11년 전 조회 1,550
11년 전 조회 6,155
11년 전 조회 1,534
11년 전 조회 1,528
11년 전 조회 3,979
11년 전 조회 1,842
11년 전 조회 5,390
11년 전 조회 2,752
11년 전 조회 3,583
11년 전 조회 1,505
11년 전 조회 1,550
11년 전 조회 2,373
11년 전 조회 1,569
11년 전 조회 2,528
11년 전 조회 2,450
11년 전 조회 5,362
11년 전 조회 1,852
11년 전 조회 3,000
11년 전 조회 2,261
11년 전 조회 2,339
11년 전 조회 2,398
11년 전 조회 1,637
11년 전 조회 2,477
11년 전 조회 1,343
11년 전 조회 4,651
11년 전 조회 2,734
11년 전 조회 2,552
11년 전 조회 2,178
11년 전 조회 7,663
11년 전 조회 2,136
11년 전 조회 1,729
11년 전 조회 3,208
11년 전 조회 2,569
11년 전 조회 1,645
11년 전 조회 2,109
11년 전 조회 3,411
11년 전 조회 2,819
11년 전 조회 2,659
11년 전 조회 2,963
11년 전 조회 3,200
11년 전 조회 3,996
11년 전 조회 3,578
11년 전 조회 3,615
11년 전 조회 4,338
11년 전 조회 4,117
11년 전 조회 1,505
11년 전 조회 5,011
11년 전 조회 6,059
11년 전 조회 1,748
11년 전 조회 2,958
11년 전 조회 2,134
11년 전 조회 1,510
11년 전 조회 1,856
11년 전 조회 1,535
11년 전 조회 3,545
11년 전 조회 2,524
11년 전 조회 1,513
11년 전 조회 1,647
11년 전 조회 1,994
11년 전 조회 1,648
11년 전 조회 1,702
12년 전 조회 1,670
12년 전 조회 1,593