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,466
11년 전 조회 3,870
11년 전 조회 2,691
11년 전 조회 2,486
11년 전 조회 2,607
11년 전 조회 2,735
11년 전 조회 2,994
11년 전 조회 1.7만
11년 전 조회 3,061
11년 전 조회 2,210
11년 전 조회 2,253
11년 전 조회 2,517
11년 전 조회 4,804
11년 전 조회 2,590
11년 전 조회 2,362
11년 전 조회 2,433
11년 전 조회 2,274
11년 전 조회 2,440
11년 전 조회 3,237
11년 전 조회 2,194
11년 전 조회 2,626
11년 전 조회 3,282
11년 전 조회 2,190
11년 전 조회 2,962
11년 전 조회 2,316
11년 전 조회 2,454
11년 전 조회 2,935
11년 전 조회 3,225
11년 전 조회 2,158
11년 전 조회 2,768
11년 전 조회 2,111
11년 전 조회 5,236
11년 전 조회 2,706
11년 전 조회 2,914
11년 전 조회 2,736
11년 전 조회 2,162
11년 전 조회 2,287
11년 전 조회 2,180
12년 전 조회 6,668
12년 전 조회 2,167
12년 전 조회 2,149
12년 전 조회 4,589
12년 전 조회 2,461
12년 전 조회 6,015
12년 전 조회 3,369
12년 전 조회 4,164
12년 전 조회 2,134
12년 전 조회 2,128
12년 전 조회 2,988
12년 전 조회 2,168
12년 전 조회 3,115
12년 전 조회 3,076
12년 전 조회 6,006
12년 전 조회 2,477
12년 전 조회 3,610
12년 전 조회 2,860
12년 전 조회 2,923
12년 전 조회 3,002
12년 전 조회 2,250
12년 전 조회 3,083
12년 전 조회 1,939
12년 전 조회 5,235
12년 전 조회 3,312
12년 전 조회 3,145
12년 전 조회 2,759
12년 전 조회 8,239
12년 전 조회 2,696
12년 전 조회 2,327
12년 전 조회 3,802
12년 전 조회 3,130
12년 전 조회 2,244
12년 전 조회 2,648
12년 전 조회 4,004
12년 전 조회 3,413
12년 전 조회 3,228
12년 전 조회 3,531
12년 전 조회 3,791
12년 전 조회 4,554
12년 전 조회 4,129
12년 전 조회 4,226
12년 전 조회 4,913
12년 전 조회 4,720
12년 전 조회 2,068
12년 전 조회 5,581
12년 전 조회 6,634
12년 전 조회 2,293
12년 전 조회 3,526
12년 전 조회 2,721
12년 전 조회 2,079
12년 전 조회 2,448
12년 전 조회 2,102
12년 전 조회 4,081
12년 전 조회 3,073
12년 전 조회 2,072
12년 전 조회 2,206
12년 전 조회 2,547
12년 전 조회 2,220
12년 전 조회 2,255
12년 전 조회 2,188
12년 전 조회 2,132