<script>
function AutoScreen(el){
var doc = document.fullscreenElement;
var moz = document.mozFullScreenElement;
var webkit = document.webkitFullscreenElement;
var ms = document.msFullscreenElement;
if (!doc && !moz && !webkit && !ms) {
fullscreen(el);
} else {
exitscreen();
}
}function fullscreen(el){
if (el.requestFullscreen) {
el.requestFullscreen();
} else if (el.msRequestFullscreen) {
el.msRequestFullscreen();
} else if (el.mozRequestFullScreen) {
el.mozRequestFullScreen();
} else if (el.webkitRequestFullscreen) {
el.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
}
}
function exitscreen(){
var doc = document;
if (doc.exitFullscreen) {
doc.exitFullscreen();
} else if (doc.msExitFullscreen) {
doc.msExitFullscreen();
} else if (doc.mozCancelFullScreen) {
doc.mozCancelFullScreen();
} else if (doc.webkitExitFullscreen) {
doc.webkitExitFullscreen();
}
}
</script><a href="#"onclick="AutoScreen(document.body)">FullScreen</a>
풀스크린 검색시 나와있는 스크립트 정리 해봤습니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4063 | |
| 29 |
아우겐나이스
|
21년 전 | 4448 | |
| 28 |
아우겐나이스
|
21년 전 | 3474 | |
| 27 | 21년 전 | 5846 | ||
| 26 | 21년 전 | 3131 | ||
| 25 | 21년 전 | 6096 | ||
| 24 | 18년 전 | 3661 | ||
| 23 | 21년 전 | 3650 | ||
| 22 | 21년 전 | 4254 | ||
| 21 | 21년 전 | 3826 | ||
| 20 | 21년 전 | 4240 | ||
| 19 | 21년 전 | 6692 | ||
| 18 | 21년 전 | 4742 | ||
| 17 | 21년 전 | 7002 | ||
| 16 | 21년 전 | 4181 | ||
| 15 | 21년 전 | 2652 | ||
| 14 | 21년 전 | 4985 | ||
| 13 | 21년 전 | 3407 | ||
| 12 |
Recluse
|
21년 전 | 3893 | |
| 11 |
아우겐나이스
|
21년 전 | 3578 | |
| 10 |
Recluse
|
21년 전 | 3404 | |
| 9 | 21년 전 | 4014 | ||
| 8 | 21년 전 | 5187 | ||
| 7 | 21년 전 | 4773 | ||
| 6 | 21년 전 | 5701 | ||
| 5 | 21년 전 | 4126 | ||
| 4 | 21년 전 | 4857 | ||
| 3 | 21년 전 | 4758 | ||
| 2 | 21년 전 | 3256 | ||
| 1 | 22년 전 | 4347 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기