Michael: Bildschirmauflösung erkennen

Beitrag lesen

Hi Klaus,

versuch mal, das > umzusetzen:

<script language="JavaScript">
<!--
if(screen.width = 1024)
window.location.href = "1024/indextest1024.htm"
else if(screen.width >= 1280)
window.location.href = "1280/indextest1280.htm"
else
window.location.href = "home_640.htm"
//-->
</script>

Vielleich klappt's ja dann. Ist nur ne Idee, hab's nicht getestet.