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,316
11년 전 조회 3,699
11년 전 조회 2,500
11년 전 조회 2,311
11년 전 조회 2,439
11년 전 조회 2,531
11년 전 조회 2,806
11년 전 조회 1.7만
11년 전 조회 2,887
11년 전 조회 2,036
11년 전 조회 2,094
11년 전 조회 2,346
11년 전 조회 4,618
11년 전 조회 2,403
11년 전 조회 2,176
11년 전 조회 2,233
11년 전 조회 2,089
11년 전 조회 2,249
11년 전 조회 3,031
11년 전 조회 2,019
11년 전 조회 2,422
11년 전 조회 3,083
11년 전 조회 1,964
11년 전 조회 2,777
11년 전 조회 2,131
11년 전 조회 2,265
11년 전 조회 2,745
11년 전 조회 3,035
11년 전 조회 1,976
11년 전 조회 2,572
11년 전 조회 1,923
11년 전 조회 5,065
11년 전 조회 2,506
11년 전 조회 2,732
11년 전 조회 2,535
11년 전 조회 1,983
11년 전 조회 2,102
11년 전 조회 2,000
11년 전 조회 6,494
11년 전 조회 1,988
11년 전 조회 1,969
11년 전 조회 4,413
11년 전 조회 2,284
11년 전 조회 5,817
11년 전 조회 3,190
11년 전 조회 4,011
11년 전 조회 1,947
12년 전 조회 1,954
12년 전 조회 2,804
12년 전 조회 2,003
12년 전 조회 2,947
12년 전 조회 2,914
12년 전 조회 5,831
12년 전 조회 2,305
12년 전 조회 3,443
12년 전 조회 2,701
12년 전 조회 2,766
12년 전 조회 2,833
12년 전 조회 2,077
12년 전 조회 2,925
12년 전 조회 1,773
12년 전 조회 5,067
12년 전 조회 3,134
12년 전 조회 2,973
12년 전 조회 2,583
12년 전 조회 8,095
12년 전 조회 2,538
12년 전 조회 2,172
12년 전 조회 3,641
12년 전 조회 2,961
12년 전 조회 2,087
12년 전 조회 2,467
12년 전 조회 3,828
12년 전 조회 3,234
12년 전 조회 3,061
12년 전 조회 3,353
12년 전 조회 3,633
12년 전 조회 4,389
12년 전 조회 3,966
12년 전 조회 4,056
12년 전 조회 4,745
12년 전 조회 4,527
12년 전 조회 1,909
12년 전 조회 5,416
12년 전 조회 6,474
12년 전 조회 2,135
12년 전 조회 3,372
12년 전 조회 2,550
12년 전 조회 1,932
12년 전 조회 2,292
12년 전 조회 1,941
12년 전 조회 3,928
12년 전 조회 2,903
12년 전 조회 1,917
12년 전 조회 2,054
12년 전 조회 2,390
12년 전 조회 2,047
12년 전 조회 2,098
12년 전 조회 2,054
12년 전 조회 1,995