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,985
11년 전 조회 3,394
11년 전 조회 2,164
11년 전 조회 1,940
11년 전 조회 2,087
11년 전 조회 2,160
11년 전 조회 2,475
11년 전 조회 1.7만
11년 전 조회 2,570
11년 전 조회 1,679
11년 전 조회 1,717
11년 전 조회 2,001
11년 전 조회 4,287
11년 전 조회 2,074
11년 전 조회 1,830
11년 전 조회 1,874
11년 전 조회 1,769
11년 전 조회 1,951
11년 전 조회 2,771
11년 전 조회 1,672
11년 전 조회 2,108
11년 전 조회 2,758
11년 전 조회 1,619
11년 전 조회 2,482
11년 전 조회 1,832
11년 전 조회 1,989
11년 전 조회 2,442
11년 전 조회 2,717
11년 전 조회 1,699
11년 전 조회 2,249
11년 전 조회 1,632
11년 전 조회 4,798
11년 전 조회 2,192
11년 전 조회 2,457
11년 전 조회 2,227
11년 전 조회 1,666
11년 전 조회 1,796
11년 전 조회 1,692
11년 전 조회 6,233
11년 전 조회 1,684
11년 전 조회 1,661
11년 전 조회 4,117
11년 전 조회 1,982
11년 전 조회 5,545
11년 전 조회 2,911
11년 전 조회 3,729
11년 전 조회 1,641
11년 전 조회 1,689
11년 전 조회 2,521
11년 전 조회 1,711
11년 전 조회 2,672
11년 전 조회 2,602
11년 전 조회 5,500
11년 전 조회 2,008
11년 전 조회 3,147
11년 전 조회 2,413
11년 전 조회 2,478
11년 전 조회 2,556
11년 전 조회 1,787
11년 전 조회 2,624
11년 전 조회 1,474
11년 전 조회 4,807
11년 전 조회 2,866
11년 전 조회 2,697
11년 전 조회 2,322
11년 전 조회 7,817
11년 전 조회 2,264
11년 전 조회 1,884
11년 전 조회 3,347
11년 전 조회 2,715
11년 전 조회 1,807
11년 전 조회 2,251
11년 전 조회 3,553
11년 전 조회 2,958
11년 전 조회 2,786
11년 전 조회 3,099
11년 전 조회 3,345
11년 전 조회 4,126
11년 전 조회 3,711
11년 전 조회 3,764
11년 전 조회 4,466
11년 전 조회 4,261
11년 전 조회 1,647
11년 전 조회 5,143
11년 전 조회 6,211
11년 전 조회 1,874
11년 전 조회 3,101
11년 전 조회 2,272
11년 전 조회 1,653
12년 전 조회 2,021
12년 전 조회 1,679
12년 전 조회 3,668
12년 전 조회 2,653
12년 전 조회 1,642
12년 전 조회 1,782
12년 전 조회 2,121
12년 전 조회 1,793
12년 전 조회 1,827
12년 전 조회 1,786
12년 전 조회 1,734