Quote:
Originally Posted by yjmalmsteen
Great mod, thanks!
But can i use it without rotating option?and how?
I have to use still images there.
Thanks
|
You *should* be able to with some small changes...
So take this:
Code:
div.left-banner {
background:url(left_banner_rotate.php);
background-repeat: no-repeat;
display:block;
height:435px;
width:140px;
position:fixed;
left:5px;
top:50px;
}
div.right-banner {
background:url(right_banner_rotate.php);
background-repeat: no-repeat;
display:block;
height:435px;
width:140px;
position:fixed;
right:5px;
top:50px;
}
Change to:
Code:
div.left-banner {
background:#ffffff;
display:block;
height:435px;
width:140px;
position:fixed;
left:5px;
top:50px;
}
div.right-banner {
background:#ffffff;
display:block;
height:435px;
width:140px;
position:fixed;
right:5px;
top:50px;
}
*Now the rotating .php file is no longer the background and it's just a white background

.
Now take this:
Code:
<div class="left-banner"></div>
<div class="right-banner"></div>
And change it, you must add in your ad/banner codes or anything you want shown inside the div tags, here is an example:
Code:
<div class="left-banner">
NEW CODE HERE IF ADS OR BANNERS INCLUDING Google Ads/Ebay Partnership Ads/Openx or Revive Ad Server codes go HERE.
</div>
<div class="right-banner">
<a href="www.vbulletin.org" target="_blank"><img src="images/mybannerimage.png" alt="My Banner Title" /></a>
</div>
The top you could paste ad/banner codes in between the div tags, on the bottom "right-banner" I simply showed a basic ahref tag wrapped around an image i.e. a clickable banner which is very simple to do, this is also an example of what you said is a "still image" but it's linked to a site

.
To adjust width/height simply change the following lines:
Code:
height:435px;
width:140px;
To the new values i.e. if it's a 300x250 ad simply change those to that, otherwise you could use 100% value instead of 435px (if it's too big then the div wrapping this does not have height defined or rather it's not inherited etc).
Let me know if this works for you or what didn't work

.