View Full Version : Advertising side bar help
lild100
08-02-2011, 11:07 PM
Ok Team
I have a side bar on my CMS page which displays my adverts on my site. However its a scrolling side block which has an effect on page load. Is there a way I can have the side bar so there are I.e. 4 adverts on the side and that they are all stil and not scrolling. I need a nice smooth mod that can do that or a template.
Does anyone know of this?
If you look in the picture here you will see what i have but its obvs the scrolling version of what i want.
https://vborg.vbsupport.ru/external/2011/08/85.jpg
To view my site of this in action click here: http://www.tabletennisdaily.co.uk/forum/content.php
If anyone can help it will be much appreciated :)
Dan
Spyike
08-03-2011, 03:54 AM
I am not sure how your widget is displaying the ads, but look at the raw HTML for that widget and search for "marquee" -- if that is not there, look for a javascript that is causing it to scroll. If you find either of these, you can delete the marquee tag. If it's javascript, you would need to modify that as deleting it would get rid of the ads altogether. If you cannot find either, can you please post the code for that widget below?
Thanks
lild100
08-03-2011, 09:13 AM
Thanks for your help
Heres the code.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="210">
<tr>
<td class="tcat">
</td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<style>
.imgfade{filter:alpha(opacity=30); -moz-opacity:0.5;margin-left:3px}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1;margin-left:3px}
</style>
<marquee width="100%" valign="center" direction="up" scrolldelay="2" scrollamount="1.5" onmouseover="this.stop()" onmouseout="this.start()">
<center>
<!-- Begin Links -->
<a href="http://www.table-tennis-secrets.com" target="_blank" ><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="/banner2.gif" ></a><br /><br />
<a href="http://www.topspintt.co.uk" target="_blank" ><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="/forum/images/topspinttbanner.png" width="200" height="51" ></a><br /><br />
<a href="http://godboldtabletennis.com/#/shop/4552502400" target="_blank" ><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="/forum/images/godboldtt.jpg" width="200" height="51" ></a><br /><br />
<a href="http://www.facebook.com/BristolTableTennisAcademy" target="_blank" ><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="/forum/images/headerttsite.jpg" width="200" height="51" ></a><br /><br />
<!-- End Links -->
</center>
</Marquee>
</td>
</tr>
</table>
<br />
If you click here you will see how it works http://www.tabletennisdaily.co.uk/forum/content.php
I think its slowing down my cms page
So i think if it was just a standing still ad.. would work on the board better
Seven Skins
08-03-2011, 10:27 AM
You can use banner rotator script which will load the banners as they are needed.
Or resize the images and they will load quickly.
e.g. http://www.tabletennisdaily.co.uk/forum/images/headerttsite.jpg ... this image is 52KB and after resizing it to 200px width size came down to 8KB.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.