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,334
11년 전 조회 3,715
11년 전 조회 2,517
11년 전 조회 2,328
11년 전 조회 2,455
11년 전 조회 2,552
11년 전 조회 2,819
11년 전 조회 1.7만
11년 전 조회 2,909
11년 전 조회 2,052
11년 전 조회 2,111
11년 전 조회 2,359
11년 전 조회 4,626
11년 전 조회 2,424
11년 전 조회 2,199
11년 전 조회 2,245
11년 전 조회 2,101
11년 전 조회 2,259
11년 전 조회 3,048
11년 전 조회 2,034
11년 전 조회 2,444
11년 전 조회 3,105
11년 전 조회 1,983
11년 전 조회 2,796
11년 전 조회 2,147
11년 전 조회 2,283
11년 전 조회 2,763
11년 전 조회 3,053
11년 전 조회 1,990
11년 전 조회 2,591
11년 전 조회 1,940
11년 전 조회 5,075
11년 전 조회 2,528
11년 전 조회 2,744
11년 전 조회 2,542
11년 전 조회 1,992
11년 전 조회 2,124
11년 전 조회 2,017
11년 전 조회 6,503
11년 전 조회 2,004
11년 전 조회 1,984
11년 전 조회 4,433
11년 전 조회 2,297
11년 전 조회 5,834
11년 전 조회 3,200
12년 전 조회 4,017
12년 전 조회 1,961
12년 전 조회 1,967
12년 전 조회 2,821
12년 전 조회 2,014
12년 전 조회 2,967
12년 전 조회 2,926
12년 전 조회 5,840
12년 전 조회 2,318
12년 전 조회 3,458
12년 전 조회 2,717
12년 전 조회 2,779
12년 전 조회 2,849
12년 전 조회 2,086
12년 전 조회 2,937
12년 전 조회 1,785
12년 전 조회 5,081
12년 전 조회 3,143
12년 전 조회 2,982
12년 전 조회 2,592
12년 전 조회 8,104
12년 전 조회 2,545
12년 전 조회 2,177
12년 전 조회 3,655
12년 전 조회 2,973
12년 전 조회 2,098
12년 전 조회 2,480
12년 전 조회 3,844
12년 전 조회 3,246
12년 전 조회 3,080
12년 전 조회 3,364
12년 전 조회 3,648
12년 전 조회 4,406
12년 전 조회 3,986
12년 전 조회 4,074
12년 전 조회 4,757
12년 전 조회 4,550
12년 전 조회 1,923
12년 전 조회 5,435
12년 전 조회 6,487
12년 전 조회 2,146
12년 전 조회 3,381
12년 전 조회 2,567
12년 전 조회 1,939
12년 전 조회 2,306
12년 전 조회 1,953
12년 전 조회 3,938
12년 전 조회 2,917
12년 전 조회 1,936
12년 전 조회 2,066
12년 전 조회 2,404
12년 전 조회 2,065
12년 전 조회 2,113
12년 전 조회 2,063
12년 전 조회 2,002