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,278
11년 전 조회 3,663
11년 전 조회 2,471
11년 전 조회 2,283
11년 전 조회 2,407
11년 전 조회 2,497
11년 전 조회 2,759
11년 전 조회 1.7만
11년 전 조회 2,846
11년 전 조회 2,003
11년 전 조회 2,059
11년 전 조회 2,307
11년 전 조회 4,591
11년 전 조회 2,362
11년 전 조회 2,139
11년 전 조회 2,201
11년 전 조회 2,059
11년 전 조회 2,219
11년 전 조회 2,997
11년 전 조회 1,985
11년 전 조회 2,388
11년 전 조회 3,046
11년 전 조회 1,928
11년 전 조회 2,748
11년 전 조회 2,101
11년 전 조회 2,237
11년 전 조회 2,725
11년 전 조회 3,005
11년 전 조회 1,938
11년 전 조회 2,536
11년 전 조회 1,887
11년 전 조회 5,025
11년 전 조회 2,473
11년 전 조회 2,708
11년 전 조회 2,499
11년 전 조회 1,949
11년 전 조회 2,071
11년 전 조회 1,965
11년 전 조회 6,456
11년 전 조회 1,945
11년 전 조회 1,940
11년 전 조회 4,378
11년 전 조회 2,241
11년 전 조회 5,786
11년 전 조회 3,170
11년 전 조회 3,978
11년 전 조회 1,912
11년 전 조회 1,921
11년 전 조회 2,771
11년 전 조회 1,974
11년 전 조회 2,915
11년 전 조회 2,871
12년 전 조회 5,795
12년 전 조회 2,277
12년 전 조회 3,409
12년 전 조회 2,673
12년 전 조회 2,735
12년 전 조회 2,808
12년 전 조회 2,053
12년 전 조회 2,889
12년 전 조회 1,752
12년 전 조회 5,047
12년 전 조회 3,109
12년 전 조회 2,934
12년 전 조회 2,563
12년 전 조회 8,077
12년 전 조회 2,520
12년 전 조회 2,148
12년 전 조회 3,612
12년 전 조회 2,935
12년 전 조회 2,064
12년 전 조회 2,445
12년 전 조회 3,793
12년 전 조회 3,208
12년 전 조회 3,038
12년 전 조회 3,322
12년 전 조회 3,604
12년 전 조회 4,356
12년 전 조회 3,935
12년 전 조회 4,023
12년 전 조회 4,720
12년 전 조회 4,497
12년 전 조회 1,886
12년 전 조회 5,389
12년 전 조회 6,444
12년 전 조회 2,112
12년 전 조회 3,350
12년 전 조회 2,525
12년 전 조회 1,910
12년 전 조회 2,263
12년 전 조회 1,920
12년 전 조회 3,900
12년 전 조회 2,876
12년 전 조회 1,890
12년 전 조회 2,029
12년 전 조회 2,361
12년 전 조회 2,025
12년 전 조회 2,074
12년 전 조회 2,028
12년 전 조회 1,970