vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Advertising side bar help (https://vborg.vbsupport.ru/showthread.php?t=267853)

lild100 08-02-2011 10:07 PM

Advertising side bar help
 
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 02: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 08: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 09: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/fo...aderttsite.jpg ... this image is 52KB and after resizing it to 200px width size came down to 8KB.


All times are GMT. The time now is 10:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01567 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete