hab selber die lösung des probs gefunden
bei jave muss ja beim vergleichen == schreiben, nicht nur =
Code:
<script language="JavaScript">
<!--
function Aufloesung()
{
if(screen.width == 1024)
window.location.href = "hp_1024.htm"
else if(screen.width == 800)
window.location.href = "hp_800.htm"
else if(screen.width == 1280)
window.location.href = "hp_1280.htm"
else
window.location.href == "hp_1024.htm"
}
// -->
</script>