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,363
11년 전 조회 3,742
11년 전 조회 2,555
11년 전 조회 2,367
11년 전 조회 2,489
11년 전 조회 2,587
11년 전 조회 2,853
11년 전 조회 1.7만
11년 전 조회 2,938
11년 전 조회 2,093
11년 전 조회 2,140
11년 전 조회 2,398
11년 전 조회 4,661
11년 전 조회 2,468
11년 전 조회 2,230
11년 전 조회 2,291
11년 전 조회 2,151
11년 전 조회 2,298
11년 전 조회 3,090
11년 전 조회 2,075
11년 전 조회 2,485
11년 전 조회 3,144
11년 전 조회 2,030
11년 전 조회 2,836
11년 전 조회 2,183
11년 전 조회 2,335
11년 전 조회 2,804
11년 전 조회 3,094
11년 전 조회 2,033
11년 전 조회 2,633
11년 전 조회 1,980
11년 전 조회 5,114
11년 전 조회 2,582
11년 전 조회 2,792
11년 전 조회 2,588
11년 전 조회 2,039
11년 전 조회 2,159
11년 전 조회 2,056
11년 전 조회 6,549
11년 전 조회 2,049
11년 전 조회 2,022
11년 전 조회 4,467
12년 전 조회 2,326
12년 전 조회 5,883
12년 전 조회 3,248
12년 전 조회 4,061
12년 전 조회 2,010
12년 전 조회 2,014
12년 전 조회 2,873
12년 전 조회 2,061
12년 전 조회 3,011
12년 전 조회 2,978
12년 전 조회 5,882
12년 전 조회 2,366
12년 전 조회 3,500
12년 전 조회 2,747
12년 전 조회 2,819
12년 전 조회 2,887
12년 전 조회 2,132
12년 전 조회 2,976
12년 전 조회 1,823
12년 전 조회 5,122
12년 전 조회 3,190
12년 전 조회 3,021
12년 전 조회 2,638
12년 전 조회 8,144
12년 전 조회 2,591
12년 전 조회 2,213
12년 전 조회 3,704
12년 전 조회 3,024
12년 전 조회 2,137
12년 전 조회 2,523
12년 전 조회 3,899
12년 전 조회 3,293
12년 전 조회 3,122
12년 전 조회 3,408
12년 전 조회 3,689
12년 전 조회 4,454
12년 전 조회 4,023
12년 전 조회 4,119
12년 전 조회 4,801
12년 전 조회 4,604
12년 전 조회 1,970
12년 전 조회 5,474
12년 전 조회 6,525
12년 전 조회 2,188
12년 전 조회 3,433
12년 전 조회 2,609
12년 전 조회 1,981
12년 전 조회 2,347
12년 전 조회 2,006
12년 전 조회 3,982
12년 전 조회 2,959
12년 전 조회 1,965
12년 전 조회 2,114
12년 전 조회 2,447
12년 전 조회 2,115
12년 전 조회 2,154
12년 전 조회 2,099
12년 전 조회 2,040