해상도를 자동조절하는 머시기없을까요??

그누에대한 질문은 아닙니다..죄송하구요.
스크롤바를따라다니는 스크립적용을할려고합니다...
근데..레이어를 고정하는방식은 많이있는것같은데..
사용자의 해상도에따라서 자동조절할수있는 방법은..잘 못찾겠게요..
혹시..나 해서 올려봅니다..
유사한팁이라도 있으면...도움을 주싶시요..
|

댓글 2개

좋은스크립트를 알려주신 짱이님께..감사드립니다..~@@
<html>
<title>모니터 해상도별 페이지 이동</title>
<head>
<script language="JavaScript">
<!--
function win_resolution(url_640x480, url_800x600, url_1024x768, other)
{
var url_640x480;
var url_800x600;
var url_1024x768;
if (screen.width==640||screen.height==480)
window.location.replace(url_640x480)
else if (screen.width == 800 ||screen.height == 600)
window.location.replace(url_800x600);
else if (screen.width == 1024||screen.height == 768)
window.location.replace(url_1024x768);
else
window.location.replace(other);
}

// -->
</script>
</head>

<body OnLoad="win_resolution('640*480일때 경로', '800*600일때 경로', '1024*768일때 경로', '기타일때 경로');">

....................................

</body>
</html>
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

+
제목 글쓴이 날짜 조회
21년 전 조회 493
21년 전 조회 428
21년 전 조회 394
21년 전 조회 427
21년 전 조회 448
21년 전 조회 405
21년 전 조회 508
21년 전 조회 861
21년 전 조회 740
21년 전 조회 482
21년 전 조회 444
21년 전 조회 539
21년 전 조회 1,080
21년 전 조회 624
21년 전 조회 651
21년 전 조회 543
21년 전 조회 633
21년 전 조회 469
21년 전 조회 1,085
21년 전 조회 586