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년 전 조회 4,075
11년 전 조회 2,472
11년 전 조회 1,262
11년 전 조회 1,059
11년 전 조회 1,192
11년 전 조회 1,285
11년 전 조회 1,550
11년 전 조회 1.6만
11년 전 조회 1,653
11년 전 조회 809
11년 전 조회 843
11년 전 조회 1,096
11년 전 조회 3,368
11년 전 조회 1,206
11년 전 조회 974
11년 전 조회 1,029
11년 전 조회 879
11년 전 조회 1,035
11년 전 조회 1,816
11년 전 조회 793
11년 전 조회 1,233
11년 전 조회 1,900
11년 전 조회 746
11년 전 조회 1,626
11년 전 조회 941
11년 전 조회 1,070
11년 전 조회 1,548
11년 전 조회 1,829
11년 전 조회 802
11년 전 조회 1,372
11년 전 조회 719
11년 전 조회 3,871
11년 전 조회 1,288
11년 전 조회 1,535
11년 전 조회 1,367
11년 전 조회 790
11년 전 조회 932
11년 전 조회 829
11년 전 조회 5,280
11년 전 조회 786
11년 전 조회 793
11년 전 조회 3,237
11년 전 조회 1,102
11년 전 조회 4,637
11년 전 조회 2,029
11년 전 조회 2,814
11년 전 조회 770
11년 전 조회 799
11년 전 조회 1,642
11년 전 조회 828
11년 전 조회 1,789
11년 전 조회 1,742
11년 전 조회 4,681
11년 전 조회 1,174
11년 전 조회 2,318
11년 전 조회 1,597
11년 전 조회 1,639
11년 전 조회 1,703
11년 전 조회 976
11년 전 조회 1,814
11년 전 조회 681
11년 전 조회 3,969
11년 전 조회 2,051
11년 전 조회 1,855
11년 전 조회 1,516
11년 전 조회 7,014
11년 전 조회 1,491
11년 전 조회 1,073
11년 전 조회 2,554
11년 전 조회 1,913
11년 전 조회 1,029
11년 전 조회 1,437
11년 전 조회 2,788
11년 전 조회 2,189
11년 전 조회 2,021
11년 전 조회 2,286
11년 전 조회 2,577
11년 전 조회 3,352
11년 전 조회 2,920
11년 전 조회 3,005
11년 전 조회 3,719
11년 전 조회 3,503
11년 전 조회 884
11년 전 조회 4,380
11년 전 조회 5,415
11년 전 조회 1,102
11년 전 조회 2,317
11년 전 조회 1,489
11년 전 조회 839
11년 전 조회 1,226
11년 전 조회 877
11년 전 조회 2,905
11년 전 조회 1,899
11년 전 조회 882
11년 전 조회 1,017
11년 전 조회 1,399
11년 전 조회 1,059
11년 전 조회 1,101
11년 전 조회 1,053
11년 전 조회 1,028