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,275
11년 전 조회 3,663
11년 전 조회 2,468
11년 전 조회 2,279
11년 전 조회 2,403
11년 전 조회 2,495
11년 전 조회 2,753
11년 전 조회 1.7만
11년 전 조회 2,844
11년 전 조회 1,997
11년 전 조회 2,057
11년 전 조회 2,301
11년 전 조회 4,586
11년 전 조회 2,356
11년 전 조회 2,133
11년 전 조회 2,195
11년 전 조회 2,057
11년 전 조회 2,213
11년 전 조회 2,996
11년 전 조회 1,982
11년 전 조회 2,383
11년 전 조회 3,040
11년 전 조회 1,927
11년 전 조회 2,743
11년 전 조회 2,099
11년 전 조회 2,230
11년 전 조회 2,722
11년 전 조회 3,000
11년 전 조회 1,935
11년 전 조회 2,532
11년 전 조회 1,887
11년 전 조회 5,024
11년 전 조회 2,471
11년 전 조회 2,708
11년 전 조회 2,494
11년 전 조회 1,944
11년 전 조회 2,065
11년 전 조회 1,962
11년 전 조회 6,450
11년 전 조회 1,943
11년 전 조회 1,938
11년 전 조회 4,373
11년 전 조회 2,237
11년 전 조회 5,784
11년 전 조회 3,165
11년 전 조회 3,968
11년 전 조회 1,910
11년 전 조회 1,920
11년 전 조회 2,767
11년 전 조회 1,972
11년 전 조회 2,911
11년 전 조회 2,866
11년 전 조회 5,789
12년 전 조회 2,276
12년 전 조회 3,404
12년 전 조회 2,669
12년 전 조회 2,731
12년 전 조회 2,802
12년 전 조회 2,052
12년 전 조회 2,883
12년 전 조회 1,751
12년 전 조회 5,041
12년 전 조회 3,105
12년 전 조회 2,928
12년 전 조회 2,561
12년 전 조회 8,075
12년 전 조회 2,519
12년 전 조회 2,142
12년 전 조회 3,610
12년 전 조회 2,931
12년 전 조회 2,055
12년 전 조회 2,442
12년 전 조회 3,791
12년 전 조회 3,204
12년 전 조회 3,032
12년 전 조회 3,317
12년 전 조회 3,601
12년 전 조회 4,352
12년 전 조회 3,931
12년 전 조회 4,017
12년 전 조회 4,720
12년 전 조회 4,494
12년 전 조회 1,885
12년 전 조회 5,382
12년 전 조회 6,440
12년 전 조회 2,109
12년 전 조회 3,347
12년 전 조회 2,522
12년 전 조회 1,905
12년 전 조회 2,260
12년 전 조회 1,915
12년 전 조회 3,896
12년 전 조회 2,873
12년 전 조회 1,886
12년 전 조회 2,027
12년 전 조회 2,357
12년 전 조회 2,021
12년 전 조회 2,070
12년 전 조회 2,027
12년 전 조회 1,966