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,850
11년 전 조회 3,245
11년 전 조회 2,002
11년 전 조회 1,788
11년 전 조회 1,939
11년 전 조회 2,024
11년 전 조회 2,327
11년 전 조회 1.6만
11년 전 조회 2,429
11년 전 조회 1,539
11년 전 조회 1,573
11년 전 조회 1,844
11년 전 조회 4,126
11년 전 조회 1,931
11년 전 조회 1,714
11년 전 조회 1,739
11년 전 조회 1,616
11년 전 조회 1,792
11년 전 조회 2,702
11년 전 조회 1,524
11년 전 조회 1,968
11년 전 조회 2,609
11년 전 조회 1,464
11년 전 조회 2,343
11년 전 조회 1,688
11년 전 조회 1,844
11년 전 조회 2,299
11년 전 조회 2,575
11년 전 조회 1,544
11년 전 조회 2,105
11년 전 조회 1,463
11년 전 조회 4,632
11년 전 조회 2,026
11년 전 조회 2,295
11년 전 조회 2,082
11년 전 조회 1,533
11년 전 조회 1,643
11년 전 조회 1,540
11년 전 조회 6,149
11년 전 조회 1,524
11년 전 조회 1,513
11년 전 조회 3,973
11년 전 조회 1,832
11년 전 조회 5,378
11년 전 조회 2,748
11년 전 조회 3,577
11년 전 조회 1,498
11년 전 조회 1,534
11년 전 조회 2,361
11년 전 조회 1,559
11년 전 조회 2,522
11년 전 조회 2,442
11년 전 조회 5,353
11년 전 조회 1,837
11년 전 조회 2,990
11년 전 조회 2,251
11년 전 조회 2,328
11년 전 조회 2,388
11년 전 조회 1,622
11년 전 조회 2,464
11년 전 조회 1,331
11년 전 조회 4,643
11년 전 조회 2,723
11년 전 조회 2,543
11년 전 조회 2,175
11년 전 조회 7,657
11년 전 조회 2,126
11년 전 조회 1,721
11년 전 조회 3,200
11년 전 조회 2,561
11년 전 조회 1,638
11년 전 조회 2,099
11년 전 조회 3,403
11년 전 조회 2,810
11년 전 조회 2,652
11년 전 조회 2,942
11년 전 조회 3,192
11년 전 조회 3,989
11년 전 조회 3,566
11년 전 조회 3,606
11년 전 조회 4,330
11년 전 조회 4,111
11년 전 조회 1,499
11년 전 조회 5,005
11년 전 조회 6,049
11년 전 조회 1,740
11년 전 조회 2,943
11년 전 조회 2,126
11년 전 조회 1,502
11년 전 조회 1,850
11년 전 조회 1,522
11년 전 조회 3,535
11년 전 조회 2,510
11년 전 조회 1,507
11년 전 조회 1,643
11년 전 조회 1,984
11년 전 조회 1,640
11년 전 조회 1,692
12년 전 조회 1,665
12년 전 조회 1,583