{"id":6692,"date":"2011-03-17T03:58:41","date_gmt":"2011-03-17T07:58:41","guid":{"rendered":"http:\/\/info.template-help.com\/?p=6692"},"modified":"2015-09-11T05:14:09","modified_gmt":"2015-09-11T09:14:09","slug":"looped-carousel","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/looped-carousel.html","title":{"rendered":"&#8220;Looped Carousel&#8221;"},"content":{"rendered":"Looped Carousel is a jQuery carousel plugin that provides a simple image gallery functionality.\r\n\r\n<h3>JavaScript<\/h3>\r\nFirst we need to include the jQuery framework and the loopedcarousel.js file:\r\n<img src=\"http:\/\/info.template-help.com\/files\/jquery\/carousel\/carousel_4_1.jpg\" alt=\"1\" \/>\r\n \r\nThe <head> section of the index-#.html file contains these lines of code that initialize the script functionality with basic values:\r\n<img src=\"http:\/\/info.template-help.com\/files\/jquery\/carousel\/carousel_4_2.jpg\" alt=\"2\" \/>\r\nThe script initializes an element with the id loopedCarousel, which can have some additional settings:\r\n\r\ncontainer: &#8216;.container&#8217; &#8211; class\/id for the carousel block\r\nslides: &#8216;.slides&#8217; &#8211; class\/id for slides block\r\npagination: &#8216;.pagination&#8217; &#8211; class\/id for pagination block\r\nautoStart: 0 &#8211; if set to 1 \u2013 auto start\r\nslidespeed: 300 &#8211; delay between slides animation in milliseconds\r\nfadespeed: 300 &#8211; fade animation speed\r\nitems: 3 &#8211; number of items to be displayed\r\npadding: 10 &#8211; distance between elements\r\nshowPagination: true &#8211; show pagination\r\nvertical: false\/true \u2013 for vertical animation\r\n\r\n<h3>HTML<\/h3>\r\nBelow you can see general HTML script representation:\r\n<img src=\"http:\/\/info.template-help.com\/files\/jquery\/carousel\/carousel_4_3.jpg\" alt=\"3\" \/>\r\n<h3>CSS<\/h3>\r\nYou can find script related stylesheet in the main style.css file.\r\n<img src=\"http:\/\/info.template-help.com\/files\/jquery\/carousel\/carousel_4_4.jpg\" alt=\"4\" \/>","protected":false},"excerpt":{"rendered":"<p>Looped Carousel is a jQuery carousel plugin that provides a simple image gallery functionality. JavaScript First we need to include the jQuery framework and the loopedcarousel.js file: The section of the index-#.html file contains these lines of code that initialize the script functionality with basic values: The script initializes an element with the id loopedCarousel, [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[269,270],"tags":[821,499,813],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/6692"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=6692"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/6692\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=6692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=6692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=6692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}