- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m not having any luck getting the autoplay to work for the Anything Slider…I’ve added this code to header.php
$(function(){
$(‘#slider’).anythingSlider(); // add any non-default options here
// Slideshow options
autoPlay: true;
});
But its not playing automatically at http://www.vigourdynamicfitness.com.au…can anyone please help?
I think the “;” at the end of autoPlay: true is invalid.
autoPlay : true,
Could be completely wrong though :P
I’ve given that a go..it breaks the code and positions the photos into a vertical scrolling bar…
The correct coding:
$(function(){
$('#slider').anythingSlider({
autoPlay: true
});
});
$(function(){
$(‘#slider’).anythingSlider({
autoPlay: true
});
});
@Ebony_McLaughlin! LOL Oops, I just realized that there was an error in the code I replied to you with previously, but @bananablues has it correct above. So no need to be repetitive :)
SPOT ON! Thanks you two =D
that works great but anytime I try to add theme: metallic or anything else it breaks the whole slider (yeah Im brand new to jquery )