News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

need help making banners rotate...

Started by cru, July 29, 2007, 03:50:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cru

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:

<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

azdilligaf

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?

cru