클릭시 화면 상단부터 나올수 있게 처리하고 싶습니다.

클릭시 화면 상단부터 나올수 있게 처리하고 싶습니다.

QA

클릭시 화면 상단부터 나올수 있게 처리하고 싶습니다.

본문

https://woosungent.com/product06.php에서 이미지를 한개 클릭하고 들어가면 하단에 설치사례라는 이미지가 잇습니다. 클릭하면 화면 중간부분이 나오는데 이것을 화면 상단이나 타이틀부분이 먼저 나올스 있게 수정이 가능할까요? 앵커를 쓰면될까요? #으로 처리하면 됐었는데 안먹네요 도와주세요

이 질문에 댓글 쓰기 :

답변 2

클릭사건 이후 스코롤시작점을 0으로 재설정 하면 될거 같습니다.

window.scrollTop = 0;

이렇게 말이죠.... 한번 해보시구 안되면 다시 연락주세요.

이게 소스코드입니다.


<div>
<li><img src="../../assets/images/product/scrubber/1/detail01.jpg" width="1244" height="1538" usemap="#Map" border="0" />
<map name="Map" id="Map">
  <area shape="rect" coords="614,247,909,297" href="../../order.php" target="_top" />
</map></li>
<li><img src="../../assets/images/product/wap/detail02.jpg" width="1244" height="1020" usemap="#p1" border="0" />
<map name="p1" id="p1"><area shape="rect" coords="880,105,1239,460" href="https://woosungent.cafe24.com/gnuboard/bbs/board.php?bo_table=result03&wr_id=50" /><area shape="rect" coords="441,104,804,460" href="https://woosungent.cafe24.com/gnuboard/bbs/board.php?bo_table=result03&wr_id=54" /><area shape="rect" coords="2,104,364,459" href="https://woosungent.cafe24.com/gnuboard/bbs/board.php?bo_table=result03&wr_id=54" /><area shape="rect" coords="1,509,361,865" href="https://woosungent.cafe24.com/gnuboard/bbs/board.php?bo_table=result03&wr_id=55" /><area shape="rect" coords="441,510,799,865" href="https://woosungent.cafe24.com/gnuboard/bbs/board.php?bo_table=result03&wr_id=57" />
  <area shape="rect" coords="441,919,800,991" href="../../result03.php" target="_top" />
  <area shape="rect" coords="880,510,1241,865" href="https://woosungent.cafe24.com/gnuboard/bbs/board.php?bo_table=result03&wr_id=56" />
</map></li>
</ul></div>

 
답변을 작성하시기 전에 로그인 해주세요.
전체 0 | RSS
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT