artykułów: 62
« wróć
Javascript · 07.07.04 11:43 · 18.01.12 22:15
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
</head>

<script language="JavaScript"><!--
var url640 = "640.htm";
var url800 = "800.htm";
var url1024 = "1024.htm";
var url1152 = "1152.htm";

if(screen.width<800||screen.height<600) window.location.href= url640;
else if(screen.width<1024||screen.height<768) window.location.href= url800;
else if(screen.width<1152||screen.height<864) window.location.href= url1024;
else if(screen.width>=1152||screen.height>=864) window.location.href= url1152;
--></script>

<body bgcolor="#FFFFFF" text="#000000">

</body>
</html>