Jump to content
Sign in to follow this  
kaiharris

Carousel infinite loop javascript error

Recommended Posts

kaiharris

Hi, I have a Next Gen Gallery carousel that throws the following JS error:

	Uncaught Error: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...
	

The Gallery photos do have thumbnail dimensions set. How can I fix this? The affected page can be seen here: http://www.becas-foundation.org/get-involved/sponsor-donate/ Thanks, Kai

Share this post


Link to post
Share on other sites
Andrew

Couple things could cause this.. Do you have enough images to fill the carousel? It looks like you have the "number of carousel items" option set too high.

Share this post


Link to post
Share on other sites
kaiharris

Hi Andrew, Thanks for the quick response! I hadn't previously populated the "number of carousel items" field. It is now set to 5, so that it is less than the 7 items in the nggallery. That change doesn't appear to have had any effect on the carousel though - it's still displaying the 7 thumbnails. I'm changing these settings in the page where the carousel is embedded. The carousel settings page in Platform Pro settings has null values for most all the settings (because I want to control them on a case by case instance). Thanks, Kai

Share this post


Link to post
Share on other sites
kaiharris

Well, changing the carousel settings in the Platform Pro section instead of the page settings fixed the problem. To summarize: the 'Max Rotating Carousel Items', 'Displayed Carousel Items', and 'Items to Scroll' are all required?

Share this post


Link to post
Share on other sites
catrina

Yes, if you don't include a value for the Max Rotating Carousel Items, for example, then the theme "doesn't know" how many images should rotate.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×