hi
ich habe eine seite mit 3 frames und in einer hab ic heine bannerroation eingebaut. nun mein problem wenn man jetzt auf einen banner klickt dann öffnet sich die neue seite in dem frame in dem die bannerrotaion ist. aber mein ziel ist es das sich eine neue seite öfnet.
nLoad="window.setTimeout('rotate();',2000);">
<a HREF="javascript:GoSponsor();"><img NAME="banner" SRC="banner1.gif" border="0" width="468" height="60"></a>
<div align="center">
<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.........de";
if (sponsor==2) window.location.href="http://www.........de";
if (sponsor==3) window.location.href="http://www.........de";
}
// function to rotate image (currently uses 3 images)
function rotate() {
if (++sponsor > 3) sponsor = 1;
document.images.banner.src = "banner" + sponsor + ".gif";
window.setTimeout('rotate();',2000);
}
</script>
danke schon mal im voraus