Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS ad-rotater won't take more than 1 string value

Status
Not open for further replies.

gavray

Programmer
Jul 17, 2000
65
GB
Hi,

I've got the ad-rotator to work, but it doesn't seem to allow anymore than one value in a string. My affiliate system asks for 2 values
e.g
when is gets redirected I only get the part the & bit does not seem to be included.

Does anyone have any ideas, please.

Thanks,

Gavin


the boho from soho
 
are you looping properly??

Display your looping code to troubleshoot it


user.gif

There's never time to do it right, but there's always time to do it over!


pong.jpg

-TonyU
 
paper bag head,

I'm not looping at all, it's just a straight string.

why would I need to loop?

gav

the boho from soho
 
I would make the ad rotator point to a redirect page on your site that would then put the necessary info in.

-Bad Dos
 
Sorry then, I assumed you were using a JS add rotator like this one:



*****************************
<script LANGUAGE=&quot;JavaScript&quot;>
<!--Hide

var numImages = 5
var allImages = new Array(numImages)
var i = 0
allImages[0] = new Image()
allImages[0].src = &quot;logo1.gif&quot;
allImages[1] = new Image()
allImages[1].src = &quot;logo2.gif&quot;
allImages[2] = new Image()
allImages[2].src = &quot;logo3.gif&quot;
allImages[3] = new Image()
allImages[3].src = &quot;logo4.gif&quot;
allImages[4] = new Image()
allImages[4].src = &quot;logo5.gif&quot;


function nextImage() {
document.images[0].src = allImages.src
i = i + 1
if (i>=numImages)
{
i = 0
}
setTimeout(&quot;nextImage()&quot;, 4000)
}
setTimeout(&quot;nextImage()&quot;, 4000)
//Stop Hiding-->
</script>
*****************************

My bad


user.gif

There's never time to do it right, but there's always time to do it over!


pong.jpg

-TonyU
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top