<script type="text/javascript">
document.write('가로: ', screen.width, '<br />', '세로: ', screen.height, '<br />');
document.write('<br /><br />'); // 줄바꿈
if ( (screen.width == 1024) && (screen.height == 768) ) {
document.write('평균적인 해상도이군요<br />');
}
else if ( (screen.width < 1024) && (screen.height < 768) ) {
document.write('저해상도이군요.<br />');
}
else if ( (screen.width > 1024) && (screen.height > 768) ) {
document.write('고해상도이군요.<br />');
}
else
document.write('비표준 해상도군요.<br />');
< /script>
document.write('가로: ', screen.width, '<br />', '세로: ', screen.height, '<br />');
document.write('<br /><br />'); // 줄바꿈
if ( (screen.width == 1024) && (screen.height == 768) ) {
document.write('평균적인 해상도이군요<br />');
}
else if ( (screen.width < 1024) && (screen.height < 768) ) {
document.write('저해상도이군요.<br />');
}
else if ( (screen.width > 1024) && (screen.height > 768) ) {
document.write('고해상도이군요.<br />');
}
else
document.write('비표준 해상도군요.<br />');
< /script>
게시글 목록
| 번호 | 제목 |
|---|---|
| 10937 | |
| 10936 |
JavaScript
내 쇼핑몰에 즐겨찾기 등록 버튼 만드는 방법
|
| 10926 |
JavaScript
네이버 지도 API 다중마커 구현 소스 입니다.
9
|
| 10924 |
PHP
카운터 늘리기 방법은?
1
|
| 20444 | |
| 10919 | |
| 20468 | |
| 10913 |
PHP
정규식 사용법입니다.
5
|
| 10911 | |
| 10910 | |
| 10907 | |
| 10905 | |
| 10904 | |
| 10900 | |
| 10897 | |
| 10895 |
PHP
자릿수만큼 문자열 채우기
1
|
| 20418 | |
| 20428 | |
| 20396 | |
| 10894 |
JavaScript
공백제거
|
| 10892 |
PHP
셀렉트박스 간편하게 만들기
1
|
| 10890 | |
| 10887 |
PHP
게시판의 페이징 방법
2
|
| 10884 |
PHP
이미지에 워터마크 처리하기
2
|
| 10873 |
Mobile
Chrome 를 이용한 모바일모드
10
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기