tom: target?

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

  1. hi

    diese beiden zeilen dürften für dich interessant sein

    if (sponsor==1) window.location.href="http://www.avw.at/aktuell.htm";
       if (sponsor==2) window.location.href="http://www.auervonwelsbach-seebungalows.at";

    ersetzt "window.location.href" durch das was du brauchst.

    so long
    ole
    (8-)>

    --
    Die Summe aller menschlichen Intelligenz ist eine Konstante.
    Das Problem ist das Bevölkerungswachtum...
    sh:( fo:) ch:| rl:° br:& n4:° ie:% mo:} va:| de:] zu:| fl:( ss:) ls:\ js:|
    If you can't beat 'em...eat 'em !
    1. hi ole

      danke für die antwort, aber i glaub heute ist nicht unbedingt mein tag :-(

      kannst du mir dass nochmals sagen so wie für einen idioten weil so fühl ich mich heute ;-)..

      also ich bräuchte target="new"

      danke lg tom

      1. Hallo

        also ich bräuchte target="new"

        <zaunpfahl>
        Nein, du möchtest ein Fenster öffnen
        </zaunpfahl>

        Grüße
          David

        --
        >>Nobody will ever need more than 640k RAM!<<
        1981 Bill Gates