jquery-1.2.6
jcarousel-0.2.3
Firefox-2.0.0.14

I'm trying to get jcarousel working and have run out of ideas. Perhaps
someone can toss me a clue of where else to look.

html:

<ul id="gallery" class="jcarousel-skin-cb">
        <li><img src="/gallery/01.jpg" alt="" width="150" height="150" /></
li>
        <li><img src="/gallery/02.jpg" alt="" width="150" height="150" /></
li>
        <li><img src="/gallery/03.jpg" alt="" width="150" height="150" /></
li>
        <li><img src="/gallery/04.jpg" alt="" width="150" height="150" /></
li>
        <li><img src="/gallery/05.jpg" alt="" width="150" height="150" /></
li>
        <li><img src="/gallery/06.jpg" alt="" width="150" height="150" /></
li>
</ul>

js:

$(document).ready(function() {
        $('#gallery').jcarousel({
                scroll: 1
        });
});

The JS & CSS files are all included properly. I'm using the Tango skin
to debug this, only "tango" has been replaced with "cb" (and the
directory, also).

The images are displayed normally, each stacked atop the other like
with a normal UL, with the light blue Tango rounded-corner background.
The prev/next buttons are not displayed.

I'm getting this error:

Error: this.clip[0] has no properties
jcarousel-0.2.3/jquery.jcarousel.js
Line: 825

I get the same thing if i remove the param from the jcarousel(()
function.

Google hasn't shown me anything that seems relevant. Additionally,
viewing the generated source shows only:

<div class="jcarousel-skin-cb"><ul id="gallery" class="jcarousel-
container jcarousel-container-horizontal" style="display: block;">
        <li><img width="150" height="150" src="/gallery/01.jpg" alt=""/></li>
        <li><img width="150" height="150" src="/gallery/02.jpg" alt=""/></li>
        <li><img width="150" height="150" src="/gallery/03.jpg" alt=""/></li>
        <li><img width="150" height="150" src="/gallery/04.jpg" alt=""/></li>
        <li><img width="150" height="150" src="/gallery/05.jpg" alt=""/></li>
        <li><img width="150" height="150" src="/gallery/06.jpg" alt=""/></li>
</ul></div>

Comparing to the jcarousel examples, it appears that some divs are
missing here. The classes on the UL should be on a div and the prev/
next stuff is missing. ANyone have any idea what might be causing the
script to give up partway?

Reply via email to