Code: <a HREF="javascript:GoSponsor();"><img NAME="banner" SRC="banner1.jpg" border="0" width="250" height="80"></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.ekiwi.de";
if (sponsor==2) window.location.href="http://www,ekiwi.de";
if (sponsor==3) window.location.href="http://www.ekiwi.de";
}
// function to rotate image (currently uses 3 images)
function rotate() {
if (++sponsor > 3) sponsor = 1;
document.images[0].src = "banner" + sponsor + ".jpg";
window.setTimeout('rotate();',2000);
}
</script>
Vielleicht kann ja jemand damit was anfangen. Ich finde mich leider immer nochnicht zurecht! ^^ Bei den Links ekiwi.de kann man bestimmt eine andere Adresse eingeben, oder?
Bitte im Hilfe!
Lg, Osterholzer
______________
Leben heißt nicht zu warten, bis der
Sturm vorüberzieht, sondern zu lernen, im
Regen zu tanzen!