Closed danskionline closed 11 years ago
You did not end two of your anchor tags. I think it is messing with the next / prev links.
kknoer,
thanks so much! it infinitely scrolls now, like it should (though not automatically yet)
Awesome!
To make it scroll automatically you simply need to initiate it in a script tag or file somewhere. Like so...
$('.carousel').carousel()
Hey kknoer,
I have this:
<script>
$(document).ready(function(){
$('.carousel').carousel({
interval: 2000
});
});
</script>
It's near the end of the body , still I'm wondering what is wrong.
Do I need to specifically call the carousel script by the way (I do) ?
Thanks for your help.
Have you included jquery?
Sent from my iPhone
On Mar 7, 2013, at 6:01 PM, danskionline notifications@github.com wrote:
Hey kknoer,
I have this:
'''
$(document).ready(function(){ $('.carousel').carousel({ interval: 2000 }); }); '''
Still I'm wondering what is wrong.
Cheers.
— Reply to this email directly or view it on GitHub.
Yes I have (Google).
I viewed the source on your page. You need to put that carousel initiation code below all of your other script calls at the bottom of your page. Also, I don't believe you need that call for the bootstrap-carousel.js script as it is already compiled in the bootstrap.min.js file.
Got it!
Works like a charm now.
Thanks a ton!
:)
Awesome, close this issue out if you are all set.
Done.
(github noob)
Cheers
Hi all,
The carousel on keycommands.info doesn't start automatically, and when it's at the end of a range of pictures, it remains clickable so that the carousel kind of disappears.
Here's my code (i took some pics out for brevity):
Can anyone spot an error?
Thanks!