tom: target?

Beitrag lesen

hallo:)

kann mir wer sagen wo ich hier den target="" eingib damit die urls in einem neuen fenster angezeigt werden???

hab schon so viel versucht :-(

---->
<html><head><title>Aktuelles</title>
</head><body bgcolor="#efc562" onLoad="window.setTimeout('rotate();',4000);">

<a href="javascript:GoSponsor();">
<img name="banner" src="banner1.gif" border="0"></a>

<script LANGUAGE="JavaScript">
<!--
// global variable for current sponsor
var sponsor = 1;
// function to link to appropriate sponsor
// (for demonstration, displays a dialog instead)
function GoSponsor() {
   if (sponsor==1) window.location.href="http://www.avw.at/aktuell.htm";
   if (sponsor==2) window.location.href="http://www.auervonwelsbach-seebungalows.at";
}

// function to rotate image (currently uses 3 images)
function rotate() {
   if (++sponsor > 2)  sponsor = 1;
   document.images[0].src = "banner" + sponsor + ".gif";
   window.setTimeout('rotate();',6000);
}
//-->
</script>
</body></html>

danke lg tom