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,287
11년 전 조회 3,668
11년 전 조회 2,483
11년 전 조회 2,290
11년 전 조회 2,413
11년 전 조회 2,502
11년 전 조회 2,766
11년 전 조회 1.7만
11년 전 조회 2,852
11년 전 조회 2,008
11년 전 조회 2,067
11년 전 조회 2,316
11년 전 조회 4,595
11년 전 조회 2,369
11년 전 조회 2,146
11년 전 조회 2,207
11년 전 조회 2,067
11년 전 조회 2,225
11년 전 조회 3,009
11년 전 조회 1,991
11년 전 조회 2,395
11년 전 조회 3,057
11년 전 조회 1,933
11년 전 조회 2,752
11년 전 조회 2,108
11년 전 조회 2,244
11년 전 조회 2,732
11년 전 조회 3,009
11년 전 조회 1,942
11년 전 조회 2,543
11년 전 조회 1,893
11년 전 조회 5,034
11년 전 조회 2,477
11년 전 조회 2,712
11년 전 조회 2,505
11년 전 조회 1,955
11년 전 조회 2,076
11년 전 조회 1,971
11년 전 조회 6,463
11년 전 조회 1,955
11년 전 조회 1,945
11년 전 조회 4,388
11년 전 조회 2,246
11년 전 조회 5,794
11년 전 조회 3,173
11년 전 조회 3,983
11년 전 조회 1,918
11년 전 조회 1,928
11년 전 조회 2,779
11년 전 조회 1,978
11년 전 조회 2,920
11년 전 조회 2,878
12년 전 조회 5,801
12년 전 조회 2,282
12년 전 조회 3,419
12년 전 조회 2,682
12년 전 조회 2,741
12년 전 조회 2,812
12년 전 조회 2,058
12년 전 조회 2,900
12년 전 조회 1,758
12년 전 조회 5,052
12년 전 조회 3,117
12년 전 조회 2,945
12년 전 조회 2,571
12년 전 조회 8,078
12년 전 조회 2,523
12년 전 조회 2,154
12년 전 조회 3,617
12년 전 조회 2,943
12년 전 조회 2,070
12년 전 조회 2,450
12년 전 조회 3,807
12년 전 조회 3,211
12년 전 조회 3,043
12년 전 조회 3,326
12년 전 조회 3,613
12년 전 조회 4,368
12년 전 조회 3,939
12년 전 조회 4,032
12년 전 조회 4,728
12년 전 조회 4,503
12년 전 조회 1,891
12년 전 조회 5,397
12년 전 조회 6,451
12년 전 조회 2,120
12년 전 조회 3,358
12년 전 조회 2,536
12년 전 조회 1,919
12년 전 조회 2,269
12년 전 조회 1,925
12년 전 조회 3,901
12년 전 조회 2,882
12년 전 조회 1,893
12년 전 조회 2,036
12년 전 조회 2,364
12년 전 조회 2,031
12년 전 조회 2,083
12년 전 조회 2,031
12년 전 조회 1,975