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,426
11년 전 조회 3,826
11년 전 조회 2,642
11년 전 조회 2,443
11년 전 조회 2,556
11년 전 조회 2,666
11년 전 조회 2,938
11년 전 조회 1.7만
11년 전 조회 3,013
11년 전 조회 2,164
11년 전 조회 2,215
11년 전 조회 2,462
11년 전 조회 4,757
11년 전 조회 2,554
11년 전 조회 2,326
11년 전 조회 2,380
11년 전 조회 2,229
11년 전 조회 2,387
11년 전 조회 3,188
11년 전 조회 2,151
11년 전 조회 2,585
11년 전 조회 3,234
11년 전 조회 2,141
11년 전 조회 2,924
11년 전 조회 2,275
11년 전 조회 2,410
11년 전 조회 2,903
11년 전 조회 3,179
11년 전 조회 2,113
11년 전 조회 2,719
11년 전 조회 2,067
11년 전 조회 5,198
11년 전 조회 2,654
11년 전 조회 2,878
11년 전 조회 2,678
11년 전 조회 2,120
11년 전 조회 2,237
11년 전 조회 2,140
11년 전 조회 6,621
12년 전 조회 2,129
12년 전 조회 2,108
12년 전 조회 4,547
12년 전 조회 2,415
12년 전 조회 5,969
12년 전 조회 3,328
12년 전 조회 4,130
12년 전 조회 2,097
12년 전 조회 2,091
12년 전 조회 2,952
12년 전 조회 2,146
12년 전 조회 3,086
12년 전 조회 3,047
12년 전 조회 5,959
12년 전 조회 2,445
12년 전 조회 3,576
12년 전 조회 2,828
12년 전 조회 2,898
12년 전 조회 2,970
12년 전 조회 2,221
12년 전 조회 3,056
12년 전 조회 1,896
12년 전 조회 5,194
12년 전 조회 3,275
12년 전 조회 3,109
12년 전 조회 2,715
12년 전 조회 8,214
12년 전 조회 2,667
12년 전 조회 2,292
12년 전 조회 3,775
12년 전 조회 3,091
12년 전 조회 2,216
12년 전 조회 2,619
12년 전 조회 3,964
12년 전 조회 3,380
12년 전 조회 3,201
12년 전 조회 3,494
12년 전 조회 3,758
12년 전 조회 4,513
12년 전 조회 4,101
12년 전 조회 4,192
12년 전 조회 4,869
12년 전 조회 4,689
12년 전 조회 2,034
12년 전 조회 5,547
12년 전 조회 6,597
12년 전 조회 2,263
12년 전 조회 3,495
12년 전 조회 2,686
12년 전 조회 2,056
12년 전 조회 2,415
12년 전 조회 2,075
12년 전 조회 4,051
12년 전 조회 3,038
12년 전 조회 2,032
12년 전 조회 2,173
12년 전 조회 2,511
12년 전 조회 2,195
12년 전 조회 2,225
12년 전 조회 2,161
12년 전 조회 2,104