일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- SKT
- KB증권
- nginx
- centos
- PHP-FPM
- proxmox
- KB국민카드
- 알리익스프레스
- iptime
- 킹북이초월
- 아파치
- 시놀로지
- 자바스크립트
- 가상서버호스팅
- mysql
- OpenWrt
- 티스토리
- ConoHa
- php
- 보르비스초월
- 윈도우10
- Apache
- 알뜰폰
- 스톤에이지
- 복현오거리
- 리눅스
- 램가스초월
- 소비전력
- jQuery
- Rocky
- Today
- Total
목록jQuery (23)
맛집 여행 캠핑 일상 생활
jQuery iframe 안에서 $(window).scroll 이 안 먹힐때
jQuery iframe 안에서 $(window).scroll 이 안 먹힐때 $(window).scroll 이 안되는 경우는 아마도 iframe 내에서 콘트롤 하려고 할때 실행이 되지 않을 것이다. 이럴때는 window.parent 를 넣어주면 된다. $(document).ready(function(){$(window.parent).scroll(function(){alert($(window.parent).scrollTop());});});
jQuery
2016. 5. 30. 11:00
jQuery / JAVASCRIPT offset 과 position 차이점
jQuery / JAVASCRIPT offset 과 position 차이점 jQuery 로 가져오는 방법 $('#tLayer').offset().left $('#tLayer').offset().top $('#tLayer').position().left $('#tLayer').position().top 자바스크립트로 가져오는 방법 document.getElementById('tLayer').offsetLeft document.getElementById('tLayer').offsetTop document.getElementById('tLayer').style.left document.getElementById('tLayer').style.top 차이점을 직접 테스트 하도록 해보자.DIV ID : tLayer..
jQuery
2016. 3. 24. 15:06