The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Sliding Banners or Images on Forum Home or Everywhere Details »» | |||||||||||||||||||||||||||||
Sliding Banners or Images on Forum Home or Everywhere
Developer Last Online: Feb 2020
Hi,
Modification : Sliding banners Method : Jquery Example : http://www.xitclub.com/forum.php?styleid=29 ( See Top right Banners on Forum home ) Installation: 1. Download the Attached Files and Upload to Your Forum Root 2. Add The Following Code Where you want to Display Adds ( I use "Advertising>Add New Add>Global>Header" in vb 4.0.7) Code:
<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="easySlider1.5.js"></script> <script type="text/javascript" charset="utf-8"> // <![CDATA[ $(document).ready(function(){ $("#slider").easySlider({ controlsBefore: '<p id="controls">', controlsAfter: '</p>', auto: true, continuous: true }); }); // ]]> </script> <style type="text/css"> #slider { width:468px; height:30px; margin:0 auto; padding:0; } #slider ul, #slider li { margin:0; padding:0; list-style:none; } /* define width and height of list item (slide) entire slider area will adjust according to the parameters provided here */ #slider li { width:468px; height:60px; overflow:hidden; } body { margin:0; padding:0; width:100%;} /* slider */ .slider {height:60px;} .block_header h2 { color:#f3f4f4; font:bold 28px Arial, Helvetica, sans-serif; margin:0; padding:40px 10px 10px 10px; line-height:1.4em;} .block_header p { color:#f3f4f4; font:normal 12px Arial, Helvetica, sans-serif; margin:0; padding:10px; line-height:1.8em;} </style> </head> <body> <div class="block_header"> <div class="slider"> <div id="slider"> <ul> <li> <div style="background-color:#000; color:#FFF; width:468px; height:60px; padding:0px; margin:0px;"> Your Image or Banner Code Goes Here </div> </li> <li> <div style="background-color:#000; color:#FFF; width:468px; height:60px;">Your Image or Banner Code Goes Here </div> </li> <li> <div style="background-color:#000; color:#FFF; width:468px; height:60px;">Your Image or Banner Code Goes Here </div> </li> <li> <div style="background-color:#000; color:#FFF; width:468px; height:60px;">Your Image or Banner Code Goes Here </div> </li> </ul> </div> </div> </div> </body> </html> Edit The CSS According to Your Needs Download Now
Show Your Support
|
Comments |
#12
|
|||
|
|||
Yes it will be used to show any adds just put your add code within the <div> </div> tgs
|
#13
|
|||
|
|||
Nice mod....
Before I install it, is there a place I control where it appears? The top right on my web site doesn't work for me ... Thank you ... Regards, Badger |
#14
|
|||
|
|||
its appear where you advertisements appear
|
#15
|
|||
|
|||
thanks for sharing . installed
i want to see big picture how can i change it ? |
#16
|
|||
|
|||
Great stuff, excellent work and thanks. I've put it in a sideblock with my event ads and it looks pretty good.
|
#17
|
|||
|
|||
Quote:
1st one is in Code:
/* slider */ .slider {height:60px;} Then change in every <div> Code:
<div style="background-color:#000; color:#FFF; width:468px; height:60px; padding:0px; margin:0px;"> |
#18
|
||||
|
||||
Beautiful .. Thanks for sharing
|
#19
|
||||
|
||||
This would be a more desirable and downloaded hack if you can create a plugin with admin options to add and remove sponsors rather then editing the header file.
|
#20
|
|||
|
|||
Basically i am a web Designer not a Developer i dnt know to make product sory for that
|
#21
|
|||
|
|||
Noob question here, but how do I get the banner to load where you had yours (xitclub.com) -tucked right under the login info? I used the "Advertising>Add New Add>Global>Header 2" slot in vBulletin 4.08 (see circled area in left image).
As seen in the image to right, my banner is stuck in the middle. Great mod and thank you. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|