kaepten: onLoad mehrfach verwendbar?

Beitrag lesen

Hoi Dirk,

<body onLoad="window.resizeTo(500,750)" onLoad="window.moveTo(10,10)">

Das unten von Stefan geht natürlich, aber noch fast schöner (für meine Begriffe) wäre es, wenn du eine Funktion machst:

<script>
function doIt()
{
window.resizeTo(500,750);
window.moveTo(10,10);
}
</script>

<body onLoad="doIt()">

cheers
kaepten
another SPONTI man

<img src="http://www.sponti.ch/banners/banner_sponti.gif" alt="bist Du spontan?" style="cursor:hand;" onmouseup="window.location.href='http://www.sponti.ch'" onmouseover="window.status='http://www.sponti.ch';return true;" onmouseout="window.status='';return true">