CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Calling Javascript
rosco
Permalink to comment
#
March 2012
Hi guys, I'm building a site using Twitter Bootstrap and I have embedded a slideshow into my site. However, I don't know what it means when it says call via Javascript using
$('.carousel').carousel()
. Where would I add this code? Can anyone help?
joshuanhibbert
Permalink to comment
#
March 2012
You would add that just before the closing body tag (
</body>
like this:
<script>
$('.carousel').carousel();
</script>
Add a Comment
</body>like this: