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,263
11년 전 조회 3,655
11년 전 조회 2,459
11년 전 조회 2,266
11년 전 조회 2,391
11년 전 조회 2,482
11년 전 조회 2,744
11년 전 조회 1.7만
11년 전 조회 2,831
11년 전 조회 1,988
11년 전 조회 2,047
11년 전 조회 2,296
11년 전 조회 4,576
11년 전 조회 2,351
11년 전 조회 2,124
11년 전 조회 2,184
11년 전 조회 2,048
11년 전 조회 2,203
11년 전 조회 2,990
11년 전 조회 1,972
11년 전 조회 2,364
11년 전 조회 3,029
11년 전 조회 1,919
11년 전 조회 2,732
11년 전 조회 2,088
11년 전 조회 2,223
11년 전 조회 2,713
11년 전 조회 2,992
11년 전 조회 1,929
11년 전 조회 2,515
11년 전 조회 1,875
11년 전 조회 5,013
11년 전 조회 2,460
11년 전 조회 2,703
11년 전 조회 2,485
11년 전 조회 1,927
11년 전 조회 2,056
11년 전 조회 1,949
11년 전 조회 6,439
11년 전 조회 1,931
11년 전 조회 1,933
11년 전 조회 4,360
11년 전 조회 2,226
11년 전 조회 5,773
11년 전 조회 3,158
11년 전 조회 3,953
11년 전 조회 1,900
11년 전 조회 1,908
11년 전 조회 2,756
11년 전 조회 1,961
11년 전 조회 2,903
11년 전 조회 2,859
11년 전 조회 5,775
11년 전 조회 2,263
11년 전 조회 3,392
11년 전 조회 2,656
12년 전 조회 2,718
12년 전 조회 2,794
12년 전 조회 2,045
12년 전 조회 2,870
12년 전 조회 1,742
12년 전 조회 5,036
12년 전 조회 3,098
12년 전 조회 2,922
12년 전 조회 2,555
12년 전 조회 8,063
12년 전 조회 2,510
12년 전 조회 2,131
12년 전 조회 3,604
12년 전 조회 2,927
12년 전 조회 2,045
12년 전 조회 2,438
12년 전 조회 3,783
12년 전 조회 3,196
12년 전 조회 3,026
12년 전 조회 3,306
12년 전 조회 3,593
12년 전 조회 4,345
12년 전 조회 3,928
12년 전 조회 4,009
12년 전 조회 4,711
12년 전 조회 4,486
12년 전 조회 1,880
12년 전 조회 5,376
12년 전 조회 6,428
12년 전 조회 2,101
12년 전 조회 3,339
12년 전 조회 2,508
12년 전 조회 1,891
12년 전 조회 2,255
12년 전 조회 1,905
12년 전 조회 3,888
12년 전 조회 2,866
12년 전 조회 1,871
12년 전 조회 2,016
12년 전 조회 2,345
12년 전 조회 2,011
12년 전 조회 2,065
12년 전 조회 2,010
12년 전 조회 1,961