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,109
11년 전 조회 3,513
11년 전 조회 2,302
11년 전 조회 2,099
11년 전 조회 2,235
11년 전 조회 2,326
11년 전 조회 2,589
11년 전 조회 1.7만
11년 전 조회 2,704
11년 전 조회 1,828
11년 전 조회 1,874
11년 전 조회 2,133
11년 전 조회 4,433
11년 전 조회 2,198
11년 전 조회 1,986
11년 전 조회 2,022
11년 전 조회 1,895
11년 전 조회 2,080
11년 전 조회 2,875
11년 전 조회 1,829
11년 전 조회 2,234
11년 전 조회 2,901
11년 전 조회 1,763
11년 전 조회 2,620
11년 전 조회 1,971
11년 전 조회 2,106
11년 전 조회 2,569
11년 전 조회 2,854
11년 전 조회 1,797
11년 전 조회 2,379
11년 전 조회 1,736
11년 전 조회 4,905
11년 전 조회 2,318
11년 전 조회 2,582
11년 전 조회 2,345
11년 전 조회 1,798
11년 전 조회 1,931
11년 전 조회 1,819
11년 전 조회 6,304
11년 전 조회 1,787
11년 전 조회 1,789
11년 전 조회 4,222
11년 전 조회 2,088
11년 전 조회 5,644
11년 전 조회 3,019
11년 전 조회 3,835
11년 전 조회 1,767
11년 전 조회 1,791
11년 전 조회 2,649
11년 전 조회 1,838
11년 전 조회 2,787
11년 전 조회 2,726
11년 전 조회 5,634
11년 전 조회 2,127
11년 전 조회 3,256
11년 전 조회 2,538
11년 전 조회 2,589
11년 전 조회 2,676
11년 전 조회 1,916
11년 전 조회 2,746
11년 전 조회 1,622
11년 전 조회 4,922
11년 전 조회 2,977
11년 전 조회 2,807
11년 전 조회 2,444
11년 전 조회 7,947
11년 전 조회 2,380
11년 전 조회 2,012
11년 전 조회 3,482
11년 전 조회 2,822
11년 전 조회 1,936
11년 전 조회 2,356
11년 전 조회 3,671
11년 전 조회 3,075
11년 전 조회 2,887
11년 전 조회 3,202
11년 전 조회 3,472
11년 전 조회 4,236
11년 전 조회 3,830
11년 전 조회 3,880
11년 전 조회 4,583
11년 전 조회 4,369
11년 전 조회 1,774
11년 전 조회 5,254
12년 전 조회 6,331
12년 전 조회 1,987
12년 전 조회 3,234
12년 전 조회 2,390
12년 전 조회 1,785
12년 전 조회 2,130
12년 전 조회 1,797
12년 전 조회 3,777
12년 전 조회 2,760
12년 전 조회 1,770
12년 전 조회 1,898
12년 전 조회 2,236
12년 전 조회 1,910
12년 전 조회 1,946
12년 전 조회 1,894
12년 전 조회 1,842