Jump to content

Recommended Posts

<head>

<script language="javascript">

<!--

function loadpage() {

 

    index1 = 0;

    listofimages = new Array(6);

    // BANNER ID 2009 babeland.com

    listofimages[0] = new Image(458,60)

    listofimages[0].src = "http://www.domconla.com/images/frontpagebanners/0.gif"

 

  // BANNER ID 2009 athenaangel.com

    listofimages[1] = new Image(458,60)

    listofimages[1].src = "http://www.xxx.com/images/frontpagebanners/1.gif"

 

  // BANNER ID 2009 mistressalexiajordan.com

    listofimages[2] = new Image(458,60)

    listofimages[2].src = "http://www.xxx.com/images/frontpagebanners/2.gif"

 

  // BANNER ID 2009 tabooleather.com

    listofimages[3] = new Image(458,60)

    listofimages[3].src = "http://www.xxx.com/images/frontpagebanners/3.jpg"

 

  // BANNER ID 2009 clips4sale.com

    listofimages[4] = new Image(458,60)

    listofimages[4].src = "http://www.xxx.com/images/frontpagebanners/4.jpg"

   

    // BANNER ID 2009 fetishmovies.com

    listofimages[5] = new Image(458,60)

    listofimages[5].src = "http://www.xxx.com/images/frontpagebanners/5.jpg"

   

    thetimer = setTimeout("changeimage()", 10000);

 

}

 

function changeimage(){

 

    index1 = index1 + 1

    if (index1 == "6") {

 

        index1 = 0

 

    }

    imagesource = listofimages[index1].src

    window.document.banner1.src = imagesource

 

    thetimer = setTimeout("changeimage()", 10000);

 

}

 

function changepage() {

 

    if (index1 == 0) {

 

        newlocation = "http://www.xxx.com"

 

    }

    else if (index1 == 1) {

 

        newlocation = "http://www.xxx.com"

 

    }

    else if (index1 == 2) {

 

        newlocation = "http://www.xxx.com"

 

    }

    else if (index1 == 3) {

 

        newlocation = "http://www.xxx.com"

 

    }

    else if (index1 == 4) {

 

        newlocation = "http://www.xxx.com"

 

    }

    else if (index1 == 5) {

 

        newlocation = "http://www.xxx.com"

 

    }

    location = newlocation

 

}

 

// -->

</script>

</head>

<body>

<A HREF="javascript:changepage()"><img src="http://www.xxx.com/images/frontpagebanners/0.gif" alt="alt text here" border=0" name="banner1" WIDTH="458" HEIGHT="60"></A> 

</body>

 

Code is working to this point. 

 

What I need help with is getting the banners to open in a new window. Any assistance would be greatly appreciated!

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.