Log in

View Full Version : Placing banners that swap automatically !


stark427
10-30-2002, 01:06 PM
Ok first of all sorry if this is not the appropriate forum for this... but to tell ya the truth Im not even sure how to call this... thing Im asking for...

It might be a hack, or just advanced use of HTML (?)

Im putting a banner on my forum. You know... these common 468x60 ad banners...

Thing is that I have two (or maybe 3) banners to put, so I thought of finding a way so that there will be an automatic swap between these 2 banners, everytime someone reloads the forumhome page...

in other words, everytime someone revisits (or reloads) the frontpage, the banner will be different...

is there any easy way of doing this? cause I have seen it at many pages/forums but Im not sure how to do this.. :rolleyes:

thanx in advance...

Dev-United
10-30-2002, 01:22 PM
Check out http://www.hotscripts.com/PHP/Scripts_and_Programs/Ad_Management/

Pleny of ad rotators there.
If you prefer a simple rotator using JavaScript go http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Banner_Rotation/

stark427
10-30-2002, 01:39 PM
Originally posted by Dev-United
Check out http://www.hotscripts.com/PHP/Scripts_and_Programs/Ad_Management/

Pleny of ad rotators there.
If you prefer a simple rotator using JavaScript go http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Banner_Rotation/

thanx :)

another question...

I prefer using simple javascript coding....

but: using Javascript, I will have instructions telling me to put some code at the "head" of my page... and some other at the "body"... right? (this is from my experience at least...)

now... I want this banner(s) to be shown on the frontpage...

so the question is : which templates (or parts of them) represent the "head" and the "body" of my forum ? :rolleyes:

Dev-United
10-30-2002, 01:45 PM
The template headinclude is the header, place the body code in the header template.

stark427
10-30-2002, 01:52 PM
Originally posted by Dev-United
... place the body code in the header template.

thanx but problem is that I want the banner to be shown from the forumhome template.

will it be ok if I place the body code at the forumhome template?

if u see my board - u will see a box called "Synthpop Avenue Infobox"
I have created this table by placing code at the forumhome template, exactly where i want this box to be shown...

Now I want the new banner to be just on top of this infobox...
so logically I have to place "some" code of that in the forumhome template

right? can I do that?

Dev-United
10-30-2002, 01:57 PM
Yes, that should be correct

stark427
10-30-2002, 02:00 PM
thanx :)

i will try it and tell ya :)