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,326
11년 전 조회 3,707
11년 전 조회 2,511
11년 전 조회 2,321
11년 전 조회 2,449
11년 전 조회 2,545
11년 전 조회 2,815
11년 전 조회 1.7만
11년 전 조회 2,898
11년 전 조회 2,048
11년 전 조회 2,106
11년 전 조회 2,352
11년 전 조회 4,623
11년 전 조회 2,416
11년 전 조회 2,187
11년 전 조회 2,241
11년 전 조회 2,094
11년 전 조회 2,256
11년 전 조회 3,038
11년 전 조회 2,028
11년 전 조회 2,440
11년 전 조회 3,100
11년 전 조회 1,976
11년 전 조회 2,791
11년 전 조회 2,141
11년 전 조회 2,273
11년 전 조회 2,759
11년 전 조회 3,047
11년 전 조회 1,984
11년 전 조회 2,583
11년 전 조회 1,935
11년 전 조회 5,072
11년 전 조회 2,515
11년 전 조회 2,739
11년 전 조회 2,539
11년 전 조회 1,989
11년 전 조회 2,115
11년 전 조회 2,012
11년 전 조회 6,499
11년 전 조회 1,999
11년 전 조회 1,978
11년 전 조회 4,426
11년 전 조회 2,291
11년 전 조회 5,828
11년 전 조회 3,195
12년 전 조회 4,015
12년 전 조회 1,956
12년 전 조회 1,965
12년 전 조회 2,814
12년 전 조회 2,011
12년 전 조회 2,956
12년 전 조회 2,923
12년 전 조회 5,838
12년 전 조회 2,315
12년 전 조회 3,452
12년 전 조회 2,711
12년 전 조회 2,775
12년 전 조회 2,845
12년 전 조회 2,083
12년 전 조회 2,934
12년 전 조회 1,783
12년 전 조회 5,075
12년 전 조회 3,141
12년 전 조회 2,977
12년 전 조회 2,591
12년 전 조회 8,099
12년 전 조회 2,544
12년 전 조회 2,175
12년 전 조회 3,650
12년 전 조회 2,969
12년 전 조회 2,094
12년 전 조회 2,477
12년 전 조회 3,835
12년 전 조회 3,241
12년 전 조회 3,074
12년 전 조회 3,359
12년 전 조회 3,639
12년 전 조회 4,397
12년 전 조회 3,976
12년 전 조회 4,064
12년 전 조회 4,752
12년 전 조회 4,542
12년 전 조회 1,919
12년 전 조회 5,431
12년 전 조회 6,483
12년 전 조회 2,142
12년 전 조회 3,379
12년 전 조회 2,561
12년 전 조회 1,934
12년 전 조회 2,302
12년 전 조회 1,947
12년 전 조회 3,934
12년 전 조회 2,912
12년 전 조회 1,927
12년 전 조회 2,059
12년 전 조회 2,400
12년 전 조회 2,059
12년 전 조회 2,105
12년 전 조회 2,058
12년 전 조회 2,002