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,371
11년 전 조회 3,754
11년 전 조회 2,562
11년 전 조회 2,376
11년 전 조회 2,495
11년 전 조회 2,593
11년 전 조회 2,860
11년 전 조회 1.7만
11년 전 조회 2,946
11년 전 조회 2,101
11년 전 조회 2,141
11년 전 조회 2,403
11년 전 조회 4,667
11년 전 조회 2,473
11년 전 조회 2,241
11년 전 조회 2,298
11년 전 조회 2,160
11년 전 조회 2,302
11년 전 조회 3,099
11년 전 조회 2,082
11년 전 조회 2,495
11년 전 조회 3,151
11년 전 조회 2,041
11년 전 조회 2,844
11년 전 조회 2,186
11년 전 조회 2,341
11년 전 조회 2,812
11년 전 조회 3,100
11년 전 조회 2,040
11년 전 조회 2,644
11년 전 조회 1,987
11년 전 조회 5,128
11년 전 조회 2,586
11년 전 조회 2,800
11년 전 조회 2,596
11년 전 조회 2,046
11년 전 조회 2,164
11년 전 조회 2,063
11년 전 조회 6,558
11년 전 조회 2,057
11년 전 조회 2,028
12년 전 조회 4,472
12년 전 조회 2,340
12년 전 조회 5,891
12년 전 조회 3,255
12년 전 조회 4,064
12년 전 조회 2,019
12년 전 조회 2,024
12년 전 조회 2,884
12년 전 조회 2,074
12년 전 조회 3,020
12년 전 조회 2,982
12년 전 조회 5,891
12년 전 조회 2,373
12년 전 조회 3,509
12년 전 조회 2,761
12년 전 조회 2,833
12년 전 조회 2,902
12년 전 조회 2,146
12년 전 조회 2,983
12년 전 조회 1,832
12년 전 조회 5,137
12년 전 조회 3,196
12년 전 조회 3,036
12년 전 조회 2,649
12년 전 조회 8,149
12년 전 조회 2,602
12년 전 조회 2,222
12년 전 조회 3,712
12년 전 조회 3,030
12년 전 조회 2,143
12년 전 조회 2,535
12년 전 조회 3,905
12년 전 조회 3,303
12년 전 조회 3,132
12년 전 조회 3,413
12년 전 조회 3,695
12년 전 조회 4,459
12년 전 조회 4,033
12년 전 조회 4,127
12년 전 조회 4,809
12년 전 조회 4,614
12년 전 조회 1,980
12년 전 조회 5,485
12년 전 조회 6,532
12년 전 조회 2,198
12년 전 조회 3,438
12년 전 조회 2,615
12년 전 조회 1,995
12년 전 조회 2,352
12년 전 조회 2,011
12년 전 조회 3,990
12년 전 조회 2,970
12년 전 조회 1,975
12년 전 조회 2,115
12년 전 조회 2,456
12년 전 조회 2,123
12년 전 조회 2,165
12년 전 조회 2,106
12년 전 조회 2,047