Gossamer Forum
Home : Products : Links 2.0 : Customization :

Advertising.com Banner code with random 8 digit.

Quote Reply
Advertising.com Banner code with random 8 digit.
Hello,
I have just solve my problem with Advertising.com banner code(the "bnum" must be different for every banner).

I have solve it with java script.Hope somebody can need it.

<SCRIPT LANGUAGE="JavaScript">
random = parseInt(Math.random()*100000000)
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript" random = parseInt(Math.random()*100000000)SRC="http://servedby.advertising.com/site=yourid/bnum=random">
banner = '<A HREF="http://servedby.advertising.com/click/site=yourid/bnum='+random+'" target="_top">';
banner += '<IMG SRC="http://servedby.advertising.com/site=yourid/bnum='+ random+'/bins=1/rich=0" border="0" width="468" height="60" alt="Click to learn more..."></a>';
document.write(banner)
</script>


Note: change "yourid" (3 times in code), with
your site id(from orginal code).

gosup
Quote Reply
Re: Advertising.com Banner code with random 8 digit. In reply to
Thanks for the update.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.