Results 1 to 5 of 5
-
11th Jul 2009, 01:10 PM #1OPBannedWebsite's:
Bruv.org GetNulled.com etrace.orgPHP/HTML : Simple Ad Poll Code
With this simple advert code you can easly
add adverts into your website/forum
and the best thing about it is that its
Ad Pool so you can add loads of adverts to it
and you wont have to place loads on your site
just 1 ad space and you can have loads of adverts
in it i recommend having 3 + 1 Begginging advert
KEY:
How Fast They Show:
window.setInterval("cycle1()",5000);
Controls How Fast the adverts will show
just change the 5000 (5 seconds) to what you want
Basically each advert has a:
"Image Url"
"Site Url"
"Site Name"
and you cant put them wherever you want they
all have to be in order
i.e.
IMAGE-URL-OF-SITE-1ST = Banner Image of your first site advert
URL-OF-SITE-1ST = Url to your first site advert
NAME-OF-SITE-1ST = Name to your first site advert
ALL ADVERTS MUST BE COORDINATED LIKE:
First Advert:
IMAGE-URL-OF-SITE-1ST
URL-OF-SITE-1ST
NAME-OF-SITE-1ST
Second Advert:
IMAGE-URL-OF-SITE-2ND
URL-OF-SITE-2ND
NAME-OF-SITE-2ND
How to change Advert Size:
Just Change width="468" height="60"
to what you need it to be
Code:<center> <script type="text/javascript"> var imgs1 = new Array("IMAGE-URL-OF-SITE-1ST","IMAGE-URL-OF-SITE-2ND","IMAGE-URL-OF-SITE-3RD"); var lnks1 = new Array("URL-OF-SITE-1ST","URL-OF-SITE-2ND","URL-OF-SITE-3RD"); var alt1 = new Array("NAME-OF-SITE-1ST","NAME-OF-SITE-2ND","NAME-OF-SITE-3RD"); var currentAd1 = 0; var imgCt1 = 3; function cycle1() { if (currentAd1 == imgCt1) { currentAd1 = 0; } var banner1 = document.getElementById('adBanner1'); var link1 = document.getElementById('adLink1'); banner1.src=imgs1[currentAd1] banner1.alt=alt1[currentAd1] document.getElementById('adLink1').href=lnks1[currentAd1] currentAd1++; } window.setInterval("cycle1()",5000); </script> <a href=""URL-OF-SITE-SHOWS-ONCE"" id="adLink1" target="_blank"> <img src="IMAGE-URL-OF-SITE-SHOWS-ONCE" id="adBanner1" border="0" width="468" height="60"></a> </center>
Pyro Reviewed by Pyro on . PHP/HTML : Simple Ad Poll Code With this simple advert code you can easly add adverts into your website/forum and the best thing about it is that its Ad Pool so you can add loads of adverts to it and you wont have to place loads on your site just 1 ad space and you can have loads of adverts in it i recommend having 3 + 1 Begginging advert KEY: Rating: 5
-
27th Jul 2009, 04:20 PM #2The Realest Nigga
thanx alot bro
-
10th Aug 2009, 06:54 PM #3MemberWebsite's:
epicimagehost.comthis isnt a poll?
-
11th Aug 2009, 04:10 AM #4Member
ummm yea this isn't a poll lol, I think he meant pool, as he said in the main post.
But another thing where is the php? this is Javascript not php.This is the staff, you have been banned
-
11th Aug 2009, 05:50 AM #5Respected DeveloperWebsite's:
X4B.org
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Buying] Simple Html script/prog
By maloxi in forum Completed TransactionsReplies: 7Last Post: 31st Jul 2011, 01:43 PM -
[Buying] Need someone to do simple PSD to HTML/CSS
By spreea in forum Completed TransactionsReplies: 4Last Post: 20th Dec 2010, 03:31 PM -
[Buying] Simple HTML/CSS Work.
By proXace? in forum Completed TransactionsReplies: 6Last Post: 6th Nov 2010, 02:32 PM -
simple html :(
By pi0tr3k in forum Technical Help Desk SupportReplies: 13Last Post: 31st Mar 2010, 12:59 PM -
[$1] - Very Simple HTML Blog/Downloads
By Chri5 in forum Completed TransactionsReplies: 0Last Post: 12th Aug 2009, 12:43 AM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...