Closed (fixed)
Project:
jCarousel
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2008 at 09:25 UTC
Updated:
12 Apr 2009 at 19:30 UTC
<?php
jcarousel_add('sweetie');
drupal_add_js (
'$(document).ready(function(){
$("ul.carousel-cars").jcarousel({
scroll: 1,
auto: 2,
wrap: "last"
});
}); ',
'inline');
?>
<ul id="carousel-cars" class="jcarousel-skin-ie7">
<li><a href="http://example.com" target="_blank"><img src="/files/couloir_slideshow1/1.jpg" border="0" width="80" height="45" /></a></li>
<li><a href="http://example.com" target="_blank"><img src="/files/couloir_slideshow1/1.jpg" border="0" width="80" height="45" /></a></li>
<li><a href="http://example.com" target="_blank"><img src="/files/couloir_slideshow1/1.jpg" border="0" width="80" height="45" /></a></li>
<li><a href="http://example.com" target="_blank"><img src="/files/couloir_slideshow1/1.jpg" border="0" width="80" height="45" /></a></li>
<li><a href="http://example.com" target="_blank"><img src="/files/couloir_slideshow1/1.jpg" border="0" width="80" height="45" /></a></li>
<li><a href="http://example.com" target="_blank"><img src="/files/couloir_slideshow1/1.jpg" border="0" width="80" height="45" /></a></li>
</ul>
I made a jcarousel with this code in the page and the jcarousel doesnt work. I erased de div container because doesnt works. I dont know what happend. Can you help me.
Comments
Comment #1
wim leersPlease see http://sorgalla.com/jcarousel/.
Comment #2
Coldice4678 commentedPut the script after the list.