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,236
11년 전 조회 3,625
11년 전 조회 2,435
11년 전 조회 2,230
11년 전 조회 2,358
11년 전 조회 2,455
11년 전 조회 2,717
11년 전 조회 1.7만
11년 전 조회 2,808
11년 전 조회 1,950
11년 전 조회 2,008
11년 전 조회 2,253
11년 전 조회 4,539
11년 전 조회 2,318
11년 전 조회 2,101
11년 전 조회 2,150
11년 전 조회 2,021
11년 전 조회 2,180
11년 전 조회 2,958
11년 전 조회 1,941
11년 전 조회 2,337
11년 전 조회 3,000
11년 전 조회 1,893
11년 전 조회 2,712
11년 전 조회 2,064
11년 전 조회 2,197
11년 전 조회 2,684
11년 전 조회 2,965
11년 전 조회 1,910
11년 전 조회 2,494
11년 전 조회 1,850
11년 전 조회 4,991
11년 전 조회 2,424
11년 전 조회 2,674
11년 전 조회 2,462
11년 전 조회 1,901
11년 전 조회 2,029
11년 전 조회 1,922
11년 전 조회 6,409
11년 전 조회 1,915
11년 전 조회 1,905
11년 전 조회 4,328
11년 전 조회 2,196
11년 전 조회 5,756
11년 전 조회 3,125
11년 전 조회 3,928
11년 전 조회 1,868
11년 전 조회 1,881
11년 전 조회 2,737
11년 전 조회 1,928
11년 전 조회 2,885
11년 전 조회 2,837
11년 전 조회 5,741
11년 전 조회 2,232
11년 전 조회 3,364
11년 전 조회 2,630
11년 전 조회 2,694
11년 전 조회 2,767
11년 전 조회 2,019
12년 전 조회 2,837
12년 전 조회 1,715
12년 전 조회 5,015
12년 전 조회 3,071
12년 전 조회 2,900
12년 전 조회 2,537
12년 전 조회 8,043
12년 전 조회 2,490
12년 전 조회 2,105
12년 전 조회 3,584
12년 전 조회 2,910
12년 전 조회 2,023
12년 전 조회 2,408
12년 전 조회 3,758
12년 전 조회 3,173
12년 전 조회 2,998
12년 전 조회 3,282
12년 전 조회 3,578
12년 전 조회 4,325
12년 전 조회 3,914
12년 전 조회 3,977
12년 전 조회 4,683
12년 전 조회 4,461
12년 전 조회 1,865
12년 전 조회 5,354
12년 전 조회 6,404
12년 전 조회 2,072
12년 전 조회 3,312
12년 전 조회 2,484
12년 전 조회 1,869
12년 전 조회 2,231
12년 전 조회 1,883
12년 전 조회 3,872
12년 전 조회 2,843
12년 전 조회 1,852
12년 전 조회 1,989
12년 전 조회 2,327
12년 전 조회 1,993
12년 전 조회 2,040
12년 전 조회 1,989
12년 전 조회 1,940