Slider loading a little slow, any help? 6/1/2012 at 20:41
the slider loads this javascript: wp-carousel/js/jquery.nivo.slider.js?ver=3.3.1
which seems to take a little time. Thing is, I’m using the default slider not the Nivo slider, is there a reason this is loading? Or are the styles inherited.
Also the slider loads in a funny way-it seems like it puts the images list-style (vertically) for a second or two and then fits them horizontally. I understand loading wouldnt be instant but how would i make it know that its supposed to load as a horizontal carousel instantly?
I added a CSS rule overflow:hidden to my div class:”slider” and it helped but it’s still loading like that.
Thank you!
Reply To: Slider loading a little slow, any help? 7/1/2012 at 9:03
WP Carousel loads the main scripts that may be needed. They are jCarousel and Nivo Slider, no matter you use them or not. I’ll change this in the next release and load these scripts just in the case they are needed.
About the look, it is just normal. The carousels are created and styled when Javascript is loaded (through Javascript some CSS classes are added and even markup changes), so don’t worry about how it looks before it charges.
If it needs a bit of time to load is because WP Carousel loads Javascript code in the footer, but this is normal. WP Carousel knows if you are showing a carousel or now when it is being shown, so the next available hook for putting the code is in footer.
This topic has been closed to new replies.