jcarousel icon indicating copy to clipboard operation
jcarousel copied to clipboard

Doesn't work at all with google chrome 10.0

Open pehmolelu opened this issue 15 years ago • 4 comments

I did just script initialisation $("#id").jcarousel(); and the script worked fine with IE 7,8, Opera 11, Firefox 3.6, but when I tried google Chrome version 10.0 it throws me this error:

Uncaught Error: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting... h.fn.extend.posjquery.jcarousel.min.js:16 h.fn.extend.setupjquery.jcarousel.min.js:16 i.jcarouseljquery.jcarousel.min.js:16 c.event.handlejquery-1.4.4.min.js:63 c.event.add.h.handle.ojquery-1.4.4.min.js:56

It renders it correctly but the scrollbuttons are not working. The data I tried to make it work with:

< div id = " id " class= " jcarousel-skin-tango " > < ul >< li > < a href =" # ">< img src= " someimage "/ >< / a >< a href = " # " >Other link< / a > < / li >< / ul > < / div >

pehmolelu avatar Mar 31 '11 09:03 pehmolelu

Could you please post a link where i can see this.

jsor avatar Apr 02 '11 08:04 jsor

I dont have it anymore, sorry :( It was very basic settings. I had more LI lines than just 1 like in the example, but the formatting was like that. I used the CSS skin tango and it all seemed to work fine, I did some edits in CSS though to make it fit where I wanted to. I used the jcarousel inside a jQuery UI Tabs. Thats all I'am able to say.

EDIT: Sorry, clicked accidentally comment and close :p

pehmolelu avatar Apr 04 '11 05:04 pehmolelu

i'm wondering if this issue is not related to https://github.com/jsor/jcarousel/pull/148

idflood avatar Apr 04 '11 08:04 idflood

"jQuery UI Tabs" is the keyword. You have to initialize jCarousel when the tab it contains becomes visible. jCarousel has problems when the carousel is hidden on initialization.

jsor avatar Apr 05 '11 06:04 jsor