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,279
11년 전 조회 3,664
11년 전 조회 2,477
11년 전 조회 2,288
11년 전 조회 2,409
11년 전 조회 2,498
11년 전 조회 2,761
11년 전 조회 1.7만
11년 전 조회 2,847
11년 전 조회 2,004
11년 전 조회 2,061
11년 전 조회 2,308
11년 전 조회 4,593
11년 전 조회 2,364
11년 전 조회 2,140
11년 전 조회 2,203
11년 전 조회 2,061
11년 전 조회 2,219
11년 전 조회 3,001
11년 전 조회 1,987
11년 전 조회 2,391
11년 전 조회 3,050
11년 전 조회 1,930
11년 전 조회 2,749
11년 전 조회 2,102
11년 전 조회 2,238
11년 전 조회 2,727
11년 전 조회 3,006
11년 전 조회 1,938
11년 전 조회 2,538
11년 전 조회 1,888
11년 전 조회 5,029
11년 전 조회 2,475
11년 전 조회 2,711
11년 전 조회 2,499
11년 전 조회 1,951
11년 전 조회 2,071
11년 전 조회 1,968
11년 전 조회 6,457
11년 전 조회 1,950
11년 전 조회 1,942
11년 전 조회 4,381
11년 전 조회 2,242
11년 전 조회 5,787
11년 전 조회 3,170
11년 전 조회 3,980
11년 전 조회 1,916
11년 전 조회 1,924
11년 전 조회 2,773
11년 전 조회 1,977
11년 전 조회 2,915
11년 전 조회 2,873
12년 전 조회 5,796
12년 전 조회 2,279
12년 전 조회 3,409
12년 전 조회 2,674
12년 전 조회 2,735
12년 전 조회 2,809
12년 전 조회 2,054
12년 전 조회 2,891
12년 전 조회 1,757
12년 전 조회 5,049
12년 전 조회 3,111
12년 전 조회 2,936
12년 전 조회 2,565
12년 전 조회 8,077
12년 전 조회 2,521
12년 전 조회 2,148
12년 전 조회 3,613
12년 전 조회 2,937
12년 전 조회 2,067
12년 전 조회 2,447
12년 전 조회 3,795
12년 전 조회 3,208
12년 전 조회 3,039
12년 전 조회 3,324
12년 전 조회 3,606
12년 전 조회 4,358
12년 전 조회 3,935
12년 전 조회 4,024
12년 전 조회 4,723
12년 전 조회 4,498
12년 전 조회 1,889
12년 전 조회 5,389
12년 전 조회 6,446
12년 전 조회 2,115
12년 전 조회 3,353
12년 전 조회 2,528
12년 전 조회 1,916
12년 전 조회 2,264
12년 전 조회 1,924
12년 전 조회 3,900
12년 전 조회 2,876
12년 전 조회 1,891
12년 전 조회 2,031
12년 전 조회 2,363
12년 전 조회 2,028
12년 전 조회 2,077
12년 전 조회 2,030
12년 전 조회 1,972