Coinbase

Author Topic: need help making banners rotate...  (Read 2406 times)

0 Members and 1 Guest are viewing this topic.

Offline cru

  • Newbie
  • *
  • Posts: 4
need help making banners rotate...
« on: July 29, 2007, 02:50:45 am »
hi, i intend to put banners below the main menu of my forum. i have v2.3 installed in smf1.1.3

i think there's a need for a little php with what i intend to do, coz when adding an ad in the ad mod admin panel, there's a dropdown whether html or php will be used.

1. example there are 15 clients who submit their banners to me. Banners are of the same size (60pixels high and 120 pixels wide each. i tried these codes:

Code: [Select]
<a href="http://mysite.net/" target="_blank"><img border="0" height="60" width="120" src="http://mysite.net/attachments/banners/banner1.gif"/></a>
<a href="http://mysite.net/" target="_blank"><img border="0" height="60" width="120" src="http://mysite.net/attachments/banners/banner2.gif"/></a>
<a href="http://mysite.net/" target="_blank"><img border="0" height="60" width="120" src="http://mysite.net/attachments/banners/banner3.gif"/></a>

 banners 1 2 and 3 aligned horizontally well, but they won't rotate.

how do i convert the html code above to php, so i can rotate all 15 banners? TIA

Offline azdilligaf

  • Newbie
  • *
  • Posts: 5
Re: need help making banners rotate...
« Reply #1 on: July 31, 2007, 12:35:24 am »
Have you tried creating an ad for each Banner you want to show up?   Create an ad for each Banner you have to input the code for that banner into the content section, then select the location you want that banner ad  to show up in.  Leave it as html. 

Then create another ad for the 2nd Banner ad code you have.  Select the same section for the banner ad to show up in. 

I do this in a few spots on my forum and have 10-15 banner ads in the same spot that rotate each time a visitor clicks a new page within the forum.

Is this what you are looking to do?

Offline cru

  • Newbie
  • *
  • Posts: 4
Re: need help making banners rotate...
« Reply #2 on: July 31, 2007, 05:59:23 am »
thanks! it worked!

SMF Ads Support Forum

Re: need help making banners rotate...
« Reply #2 on: July 31, 2007, 05:59:23 am »
.

 

.