Marc Reichelt: Screen nur in Alert möglich?

Beitrag lesen

Hi!

<script language="JavaScript">
<!--
var screen = screen.width + "x" + screen.height;
document.write(screen);

//-->
</script>

Was ist denn das? Eine doppelte Deklaration von "screen"? ;-)

so ist's glaube ich besser:

<script language="JavaScript">
<!--
var myscreen = screen.width + "x" + screen.height;
document.write(myscreen);

//-->
</script>

Marc Reichelt || http://www.step2identity.com/

--
Linux is like a wigwam - no windows, no gates and an Apache inside!!!