November 5th, 2012, 07:33 AM
Join Date: Aug 2008
Time spent in forums: 13 h 4 m 38 sec
Reputation Power: 6
How do I create a custom banner display script?
I hardly know (or even understand) PHP, so that's why I am posting this in the general-section. Hopefully someone is friendly enough to help me out.
How do I do the following. I want to show a banner on my website, however not in a static position. And it should only be displayed once.
For example; I have 3 available positions on my website, where I want to display a banner. I have 2 available positions in the main page (top and bottom) and 1 available position on the right side of my website.
Now I need something which does the following; if the banner is shown on position 1 (top of the page) it shouldn't be displayed in position 2 or 3. On the other hand, if the banner is being displayed at position 3 (right side), it shouldn't be displayed anymore in position 1 or 2.
Oh and more thing; position 1 and 2 have the same banner (in dimensions), however position 3 has a smaller banner (in dimensions). So the banner which is displayed at position 3 is different compared to positions 1 and 2.
Can someone please help me out with this? I think it's not difficult for someone who actually knows PHP (unlike me).
I already tried searching on Google, however I couldn't find anything on it (or I am searching in an incorrect way).
Thank you in advance for your help!! Highly appreciated!!
Forgot to mention this; it should be possible to expand this to several more banner-sections and banner formats.
Last edited by HHawk : November 5th, 2012 at 07:38 AM.