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,214
11년 전 조회 3,603
11년 전 조회 2,423
11년 전 조회 2,206
11년 전 조회 2,342
11년 전 조회 2,433
11년 전 조회 2,700
11년 전 조회 1.7만
11년 전 조회 2,801
11년 전 조회 1,936
11년 전 조회 1,986
11년 전 조회 2,236
11년 전 조회 4,527
11년 전 조회 2,301
11년 전 조회 2,094
11년 전 조회 2,139
11년 전 조회 2,009
11년 전 조회 2,168
11년 전 조회 2,943
11년 전 조회 1,926
11년 전 조회 2,321
11년 전 조회 2,988
11년 전 조회 1,878
11년 전 조회 2,701
11년 전 조회 2,050
11년 전 조회 2,189
11년 전 조회 2,666
11년 전 조회 2,946
11년 전 조회 1,895
11년 전 조회 2,480
11년 전 조회 1,828
11년 전 조회 4,982
11년 전 조회 2,406
11년 전 조회 2,658
11년 전 조회 2,444
11년 전 조회 1,890
11년 전 조회 2,019
11년 전 조회 1,909
11년 전 조회 6,394
11년 전 조회 1,902
11년 전 조회 1,891
11년 전 조회 4,312
11년 전 조회 2,188
11년 전 조회 5,740
11년 전 조회 3,113
11년 전 조회 3,918
11년 전 조회 1,846
11년 전 조회 1,866
11년 전 조회 2,726
11년 전 조회 1,920
11년 전 조회 2,870
11년 전 조회 2,823
11년 전 조회 5,726
11년 전 조회 2,212
11년 전 조회 3,355
11년 전 조회 2,620
11년 전 조회 2,682
11년 전 조회 2,759
11년 전 조회 2,007
11년 전 조회 2,821
11년 전 조회 1,699
12년 전 조회 5,001
12년 전 조회 3,064
12년 전 조회 2,893
12년 전 조회 2,526
12년 전 조회 8,035
12년 전 조회 2,475
12년 전 조회 2,091
12년 전 조회 3,570
12년 전 조회 2,891
12년 전 조회 2,011
12년 전 조회 2,399
12년 전 조회 3,754
12년 전 조회 3,160
12년 전 조회 2,985
12년 전 조회 3,270
12년 전 조회 3,561
12년 전 조회 4,311
12년 전 조회 3,902
12년 전 조회 3,964
12년 전 조회 4,668
12년 전 조회 4,454
12년 전 조회 1,854
12년 전 조회 5,339
12년 전 조회 6,391
12년 전 조회 2,052
12년 전 조회 3,300
12년 전 조회 2,471
12년 전 조회 1,859
12년 전 조회 2,214
12년 전 조회 1,871
12년 전 조회 3,857
12년 전 조회 2,830
12년 전 조회 1,844
12년 전 조회 1,974
12년 전 조회 2,315
12년 전 조회 1,985
12년 전 조회 2,027
12년 전 조회 1,978
12년 전 조회 1,927