Version: 1.00, by CrazyProgrammer
Developer Last Online: Feb 2012
Category: vBulletin CMS Widgets -
Version: 4.0.2
Rating:
Released: 03-18-2010
Last Update: Never
Installs: 72
Uses Plugins Template Edits
Re-useable Code Translations
No support by the author.
Here is a lite slider for vbulletin CMS
Login into Admin Panel(Admincp)
Open up vBulletin CMS in Sidebar click Widgets when page opens click Create New Widget near bottom page
Then a new page will come up and choose the following options:
Code:
Widget Type: Static HTML
Title: Slider
Description: Content Slider
click save
now you will see a widget called slider click configure and paste the following into the Enter Static HTML Box Edit the pictures you want and then Click save and you done.
Edit your Layout to show the widget where you want i would choose the Middle box in Home Layout
Javascript error. Make sure you upload it properly. The problem could be a conflict with the included javascript and the jQuery included with vBulletin.
I put the mySlider.js in my clientscript/jquery folder and changed the code slightly. I didn't upload the include jquery.js file.
<script type="text/javascript">
$(document).ready(function() {
$("#slider").mySlider({
timeOut: 4000,
captionOpacity: .7
});
});
</script><ul id="slider"><li><img src="images/slider/thor_movie.jpg" width="100%" alt="" /><div class="top">
The powerful but arrogant warrior Thor is cast out of the fantastic realm of Asgard and sent to live amongst humans on Earth, where he soon becomes one of their finest defenders.
</div></li><li><img src="images/slider/on_stranger_tides.jpg" width="100%" alt="" /><div class="bottom">
After crossing paths with a woman from his past, Captain Jack Sparrow is swept aboard the Queen Anne's Revenge, the ship of the formidable pirate Blackbeard, on an unexpected mission to find the elusive fountain of youth.
</div></li><li><img src="images/slider/the-deathly-hallows.jpg" alt="" /><div class="bottom">
The end begins as Harry, Ron, and Hermione go back to Hogwarts to find and destroy Voldemort's final horcruxes...
</div></li></ul>
Can someone tell me how I would center the picture? I tried making the pics 430x270 but my homepage uses 75% for the middle column so the pics are aligned left. No matter what I edit, it seems I cannot center the picture.
Hey Wayne Do you know anyway to add like a forward or backward button to this thing?
Sorry.. Haven't looked into this functionality yet. Have been busy building a movie library within the vBulletin Framework. It isn't quite complete yet but getting there.
Once I get done with the movie library, I am going to rewrite this using some PHP to pull articles marked as "featured" in the database. Don't know if I'll be able to distribute it though.
Quote:
Originally Posted by biancolaw
Can someone tell me how I would center the picture? I tried making the pics 430x270 but my homepage uses 75% for the middle column so the pics are aligned left. No matter what I edit, it seems I cannot center the picture.
Enclose your slider within a div container and do something like: