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,385
11년 전 조회 3,775
11년 전 조회 2,580
11년 전 조회 2,394
11년 전 조회 2,516
11년 전 조회 2,615
11년 전 조회 2,881
11년 전 조회 1.7만
11년 전 조회 2,960
11년 전 조회 2,117
11년 전 조회 2,161
11년 전 조회 2,415
11년 전 조회 4,687
11년 전 조회 2,500
11년 전 조회 2,256
11년 전 조회 2,321
11년 전 조회 2,178
11년 전 조회 2,320
11년 전 조회 3,118
11년 전 조회 2,102
11년 전 조회 2,515
11년 전 조회 3,173
11년 전 조회 2,072
11년 전 조회 2,871
11년 전 조회 2,215
11년 전 조회 2,360
11년 전 조회 2,839
11년 전 조회 3,121
11년 전 조회 2,064
11년 전 조회 2,668
11년 전 조회 2,010
11년 전 조회 5,148
11년 전 조회 2,603
11년 전 조회 2,819
11년 전 조회 2,621
11년 전 조회 2,069
11년 전 조회 2,190
11년 전 조회 2,087
11년 전 조회 6,575
11년 전 조회 2,077
11년 전 조회 2,054
12년 전 조회 4,498
12년 전 조회 2,367
12년 전 조회 5,910
12년 전 조회 3,279
12년 전 조회 4,085
12년 전 조회 2,040
12년 전 조회 2,045
12년 전 조회 2,903
12년 전 조회 2,097
12년 전 조회 3,044
12년 전 조회 3,008
12년 전 조회 5,918
12년 전 조회 2,392
12년 전 조회 3,530
12년 전 조회 2,779
12년 전 조회 2,850
12년 전 조회 2,930
12년 전 조회 2,177
12년 전 조회 2,996
12년 전 조회 1,851
12년 전 조회 5,153
12년 전 조회 3,224
12년 전 조회 3,060
12년 전 조회 2,669
12년 전 조회 8,169
12년 전 조회 2,619
12년 전 조회 2,242
12년 전 조회 3,728
12년 전 조회 3,052
12년 전 조회 2,171
12년 전 조회 2,559
12년 전 조회 3,929
12년 전 조회 3,326
12년 전 조회 3,151
12년 전 조회 3,444
12년 전 조회 3,718
12년 전 조회 4,476
12년 전 조회 4,053
12년 전 조회 4,145
12년 전 조회 4,825
12년 전 조회 4,636
12년 전 조회 2,001
12년 전 조회 5,504
12년 전 조회 6,562
12년 전 조회 2,206
12년 전 조회 3,452
12년 전 조회 2,641
12년 전 조회 2,016
12년 전 조회 2,369
12년 전 조회 2,035
12년 전 조회 4,008
12년 전 조회 2,992
12년 전 조회 1,998
12년 전 조회 2,132
12년 전 조회 2,465
12년 전 조회 2,146
12년 전 조회 2,183
12년 전 조회 2,120
12년 전 조회 2,063