Jump to content
Sign in to follow this  
egarcia9330

Change carousel so it does not loop through all the thumbnails

Recommended Posts

egarcia9330

How do you modify the carousel so that when you hit the "left" or "right" arrows it does not loop through all the thumbnails of the gallery? http://www.caresourcefl.org/?page_id=123 I'd like for it to stop at the end and beginning of the gallery items. I'm on PlatformPro 1.2.4

Share this post


Link to post
Share on other sites
Andrew

This is kinda tough, but I think possible. Do you know how to create a custom section from the default carousel? you're going to need to edit the JS a little

Share this post


Link to post
Share on other sites
egarcia9330

not sure exactly what you mean by custom section, but I can fiddle with the JS if you tell me where to find it...

Share this post


Link to post
Share on other sites
cmunns

It's not safe from updates if you edit the core files, but at any rate you can go into section.carousel.php under PlatformPro - SEctions - carousel - section.carousel.php look for this: ` $j(".thecarousel").jcarousel({ wrap: '', visible: <?php e_pagelines('carousel_display_items', 9); ?>, easing: 'swing', scroll: <?php e_pagelines('carousel_scroll_items', 6); ?>, animation: 'slow' }); ` and make sure the "wrap" value is null instead of `circular`

Share this post


Link to post
Share on other sites
egarcia9330

@andrew: it would be great if you guys can include a checkbox for this on the carousel settings page and sections... you know, for future release.

Share this post


Link to post
Share on other sites
egarcia9330

@cmunns: that did not work... the carousel does not move anymore.

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  

×