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,297
11년 전 조회 3,676
11년 전 조회 2,487
11년 전 조회 2,299
11년 전 조회 2,422
11년 전 조회 2,518
11년 전 조회 2,777
11년 전 조회 1.7만
11년 전 조회 2,859
11년 전 조회 2,017
11년 전 조회 2,074
11년 전 조회 2,328
11년 전 조회 4,603
11년 전 조회 2,382
11년 전 조회 2,158
11년 전 조회 2,218
11년 전 조회 2,074
11년 전 조회 2,234
11년 전 조회 3,013
11년 전 조회 2,004
11년 전 조회 2,402
11년 전 조회 3,066
11년 전 조회 1,939
11년 전 조회 2,764
11년 전 조회 2,113
11년 전 조회 2,253
11년 전 조회 2,735
11년 전 조회 3,018
11년 전 조회 1,950
11년 전 조회 2,554
11년 전 조회 1,901
11년 전 조회 5,043
11년 전 조회 2,484
11년 전 조회 2,721
11년 전 조회 2,512
11년 전 조회 1,964
11년 전 조회 2,084
11년 전 조회 1,979
11년 전 조회 6,475
11년 전 조회 1,965
11년 전 조회 1,951
11년 전 조회 4,389
11년 전 조회 2,259
11년 전 조회 5,801
11년 전 조회 3,178
11년 전 조회 3,996
11년 전 조회 1,931
11년 전 조회 1,938
12년 전 조회 2,785
12년 전 조회 1,986
12년 전 조회 2,927
12년 전 조회 2,889
12년 전 조회 5,811
12년 전 조회 2,286
12년 전 조회 3,427
12년 전 조회 2,687
12년 전 조회 2,749
12년 전 조회 2,818
12년 전 조회 2,062
12년 전 조회 2,904
12년 전 조회 1,763
12년 전 조회 5,060
12년 전 조회 3,119
12년 전 조회 2,952
12년 전 조회 2,575
12년 전 조회 8,084
12년 전 조회 2,528
12년 전 조회 2,157
12년 전 조회 3,622
12년 전 조회 2,948
12년 전 조회 2,073
12년 전 조회 2,453
12년 전 조회 3,814
12년 전 조회 3,220
12년 전 조회 3,049
12년 전 조회 3,334
12년 전 조회 3,619
12년 전 조회 4,372
12년 전 조회 3,946
12년 전 조회 4,038
12년 전 조회 4,733
12년 전 조회 4,509
12년 전 조회 1,897
12년 전 조회 5,401
12년 전 조회 6,460
12년 전 조회 2,122
12년 전 조회 3,360
12년 전 조회 2,538
12년 전 조회 1,925
12년 전 조회 2,275
12년 전 조회 1,929
12년 전 조회 3,910
12년 전 조회 2,887
12년 전 조회 1,901
12년 전 조회 2,042
12년 전 조회 2,374
12년 전 조회 2,036
12년 전 조회 2,085
12년 전 조회 2,040
12년 전 조회 1,977