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,340
11년 전 조회 3,723
11년 전 조회 2,534
11년 전 조회 2,345
11년 전 조회 2,467
11년 전 조회 2,571
11년 전 조회 2,831
11년 전 조회 1.7만
11년 전 조회 2,916
11년 전 조회 2,068
11년 전 조회 2,119
11년 전 조회 2,379
11년 전 조회 4,638
11년 전 조회 2,439
11년 전 조회 2,211
11년 전 조회 2,270
11년 전 조회 2,122
11년 전 조회 2,276
11년 전 조회 3,062
11년 전 조회 2,050
11년 전 조회 2,456
11년 전 조회 3,117
11년 전 조회 2,001
11년 전 조회 2,816
11년 전 조회 2,164
11년 전 조회 2,298
11년 전 조회 2,776
11년 전 조회 3,067
11년 전 조회 2,007
11년 전 조회 2,610
11년 전 조회 1,955
11년 전 조회 5,094
11년 전 조회 2,553
11년 전 조회 2,760
11년 전 조회 2,560
11년 전 조회 2,004
11년 전 조회 2,133
11년 전 조회 2,028
11년 전 조회 6,520
11년 전 조회 2,022
11년 전 조회 1,997
11년 전 조회 4,442
11년 전 조회 2,305
11년 전 조회 5,851
12년 전 조회 3,218
12년 전 조회 4,031
12년 전 조회 1,973
12년 전 조회 1,985
12년 전 조회 2,839
12년 전 조회 2,025
12년 전 조회 2,988
12년 전 조회 2,943
12년 전 조회 5,855
12년 전 조회 2,330
12년 전 조회 3,475
12년 전 조회 2,721
12년 전 조회 2,787
12년 전 조회 2,861
12년 전 조회 2,099
12년 전 조회 2,952
12년 전 조회 1,802
12년 전 조회 5,097
12년 전 조회 3,160
12년 전 조회 2,994
12년 전 조회 2,607
12년 전 조회 8,119
12년 전 조회 2,564
12년 전 조회 2,189
12년 전 조회 3,671
12년 전 조회 2,995
12년 전 조회 2,111
12년 전 조회 2,495
12년 전 조회 3,862
12년 전 조회 3,268
12년 전 조회 3,099
12년 전 조회 3,382
12년 전 조회 3,667
12년 전 조회 4,430
12년 전 조회 3,999
12년 전 조회 4,091
12년 전 조회 4,773
12년 전 조회 4,576
12년 전 조회 1,938
12년 전 조회 5,449
12년 전 조회 6,500
12년 전 조회 2,168
12년 전 조회 3,402
12년 전 조회 2,584
12년 전 조회 1,954
12년 전 조회 2,319
12년 전 조회 1,972
12년 전 조회 3,957
12년 전 조회 2,932
12년 전 조회 1,944
12년 전 조회 2,081
12년 전 조회 2,421
12년 전 조회 2,081
12년 전 조회 2,122
12년 전 조회 2,080
12년 전 조회 2,013