I have a casual gallery of images
but what James Colossel is not working at all, it It is not scrolling through
This is my code:
& lt; Ul id = "mycarousel" class = "jcarousel-skin-tango" & gt; & Lt ;? Php foreach ($ images_item as $ images):? & Gt; & Lt; Li & gt; & Lt; Img src = "& lt ;? Php echo $ image_item ['path'];? & Gt;" /> & Lt; / Li & gt; & Lt ;? Php endforeach; ? & Gt; & Lt; / Ul & gt; And this is my CSS:
.jcarousel-skin-tango .jcarousel-container {width: 500px; Height: 250px; Background: None; Border: None; } .jcarousel-skin-tango .jcarousel-container-horizontal {height: 250px; Padding: 20px 40px; } .jcarousel-skin-tango .jcarousel-clip-horizontal {width: 500px; Height: 250px; } .jcarousel-skin-tango .jcarousel-item {width: 500px; Height: 250px; } .jcarousel-skin-tango .jcarousel-item-horizontal {margin-left: 0; Margin-right: 10px; } and my JS:
$ (document) .ready (function () {$ ('# mycarousel'). Jcarousel ({wrap) : 'Circular'});}); - You need to "auto: 1" (or some other non-zero number seconds) And it will start auto scrolling. If you do not want to scroll automatically, you'll need to specify the "button next HTML" and "buttonpell HTML" criteria to get the button.
Comments
Post a Comment