Im trying to get my jquery slideshow working only for some reason its outputting to the browser as display:none!
Theres quite a bit of code so ive made a fiddle...
Can anbybody see where im going wrong? Im using this plugin
I call my plugin with the following...
$('.slideshow').bjqs({
'animation' : 'slide',
'width' : 960,
'height' : 335,
'showMarkers': true
});
As specified in the documentation, your <ul>
tag needs a bjqs
class.
<section class="slideshow">
<ul class="bjqs home-slideshow">
<!-- ... -->
</ul>
</section>
This is wrong...
$slider = $wrapper.find('ul.bjqs'),
Or rather, your markup should be...
<section class="slideshow">
<ul class="bjqs">
You can either change the class in the markup or use your custom class in the script instead of .bjqs
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.