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,861
11년 전 조회 3,254
11년 전 조회 2,018
11년 전 조회 1,803
11년 전 조회 1,952
11년 전 조회 2,034
11년 전 조회 2,344
11년 전 조회 1.6만
11년 전 조회 2,442
11년 전 조회 1,549
11년 전 조회 1,589
11년 전 조회 1,860
11년 전 조회 4,147
11년 전 조회 1,945
11년 전 조회 1,732
11년 전 조회 1,753
11년 전 조회 1,630
11년 전 조회 1,810
11년 전 조회 2,709
11년 전 조회 1,534
11년 전 조회 1,982
11년 전 조회 2,620
11년 전 조회 1,482
11년 전 조회 2,359
11년 전 조회 1,700
11년 전 조회 1,854
11년 전 조회 2,317
11년 전 조회 2,586
11년 전 조회 1,556
11년 전 조회 2,117
11년 전 조회 1,481
11년 전 조회 4,652
11년 전 조회 2,039
11년 전 조회 2,313
11년 전 조회 2,106
11년 전 조회 1,548
11년 전 조회 1,656
11년 전 조회 1,552
11년 전 조회 6,158
11년 전 조회 1,537
11년 전 조회 1,531
11년 전 조회 3,984
11년 전 조회 1,849
11년 전 조회 5,395
11년 전 조회 2,758
11년 전 조회 3,588
11년 전 조회 1,513
11년 전 조회 1,553
11년 전 조회 2,378
11년 전 조회 1,572
11년 전 조회 2,533
11년 전 조회 2,454
11년 전 조회 5,369
11년 전 조회 1,856
11년 전 조회 3,002
11년 전 조회 2,267
11년 전 조회 2,345
11년 전 조회 2,403
11년 전 조회 1,639
11년 전 조회 2,482
11년 전 조회 1,347
11년 전 조회 4,659
11년 전 조회 2,741
11년 전 조회 2,556
11년 전 조회 2,182
11년 전 조회 7,665
11년 전 조회 2,144
11년 전 조회 1,737
11년 전 조회 3,216
11년 전 조회 2,574
11년 전 조회 1,651
11년 전 조회 2,112
11년 전 조회 3,416
11년 전 조회 2,819
11년 전 조회 2,662
11년 전 조회 2,970
11년 전 조회 3,204
11년 전 조회 4,001
11년 전 조회 3,586
11년 전 조회 3,623
11년 전 조회 4,339
11년 전 조회 4,126
11년 전 조회 1,511
11년 전 조회 5,016
11년 전 조회 6,067
11년 전 조회 1,752
11년 전 조회 2,961
11년 전 조회 2,139
11년 전 조회 1,513
11년 전 조회 1,862
11년 전 조회 1,540
11년 전 조회 3,551
11년 전 조회 2,530
11년 전 조회 1,515
11년 전 조회 1,648
11년 전 조회 2,002
11년 전 조회 1,654
11년 전 조회 1,710
12년 전 조회 1,677
12년 전 조회 1,596