Nice module. Congrats!
See it in action allready at http://zetconnect.com with a little bit tweaking.
I saw that some variable options from the views config page are not working and some are not existing, so I changed some otions in /jcarousel/lib/jquery.jcarousel.js and I used a vertical jcaorusel, wider (changed the skin) and with a autoscroll option.

But what i did'nt manage is it to fully syncronize the thumbs display with the slide display.

this is my jquery.jcarousel.js:

// Default configuration properties.
var defaults = {
//vertical: false,
vertical: true,
rtl: false,
start: 1,
offset: 1,
size: null,
//scroll: 3,
scroll: 1,
visible: null,
animation: 'normal',
//animation: 'fast',
easing: 'swing',
//auto: 0,
auto: 4,
//wrap: null,
wrap: 'circular',
initCallback: null,
reloadCallback: null,
itemLoadCallback: null,
itemFirstInCallback: null,
itemFirstOutCallback: null,
itemLastInCallback: null,
itemLastOutCallback: null,
itemVisibleInCallback: null,
itemVisibleOutCallback: null,
buttonNextHTML: '

',
buttonPrevHTML: '

',
buttonNextEvent: 'click',
buttonPrevEvent: 'click',
buttonNextCallback: null,
buttonPrevCallback: null,
itemFallbackDimension: null
}, windowLoaded = false;

CommentFileSizeAuthor
599830f4b6bf3023ed0b58b1b43963b8.png179.99 KBzet

Comments

fearlsgroove’s picture

Status: Active » Fixed

This should be fixed in CVS now. There were 2 issues: first, the JCarousel advanced options were not being applied. You should no longer have to hack the defauls, change options with the JCarousel Advanced setting like so:

vertical:true

Second, the code that syncs the jcarousel with the main frame only checked if the current slide was off to the left, so verticals didn't work. Now it checks verticals and horizontals.

Should be in -dev tomorrow. Thanks for the report!

zet’s picture

Status: Fixed » Active

one more thing
this is one li element of my jcarousel

<li class="views_slideshow_jcarouselthumbs_div_breakout_teaser views_slideshow_jcarouselthumbs_active_teaser views-row-odd jcarousel-item jcarousel-item-vertical jcarousel-item-1 jcarousel-item-1-vertical activeSlide" id="views_slideshow_jcarouselthumbs_div_breakout_teaser_1_0" style="float: left; list-style-position: outside; list-style-type: none; list-style-image: none" jcarouselindex="1">

Look for the class activeSlide . This class is on the thumb coresponing with the active slide, BUT only until the first cycle ends ( as i said I used auto: 4, and wrap: 'circular', in /jcarousel/lib/jquery.jcarousel.js )

auto - Type: integer Default:0 Description: Specifies how many seconds to periodically autoscroll the content. If set to 0 (default) then autoscrolling is turned off.

wrap - Type: string Default:null Description: Specifies whether to wrap at the first/last item (or both) and jump back to the start/end. Options are "first", "last", "both" or "circular" as string. If set to null, wrapping is turned off (default).

( from http://sorgalla.com/projects/jcarousel/ )

I used activeSlide class to define a different background for the thumb&text of current slide on the theme css

fearlsgroove’s picture

Navigation in the carousel should be tied to the current slide in the cycle/main frame. So I wouldn't recommend using auto or wrap. The recent commit should keep the current slide in teh main cycle visible in the carousel.

zet’s picture

If we can just synchronize the times between the thumbs and slides and use scroll:1 in jcarousel it will be a nice & working feature. ( by the way: the scroll option from views config page changes nothing at all )
And I think a vertical option for the jcarousel, aligned to the right of the slide, will also be very much appreciated by others too , maybe better than the present horizontal feature.

See http://www.wwf.org.uk/ for inspiration. Something like that is what i try to achieve and will fully satisfy my needs .
I managed to do something like that with the thumbnailhover submodule of the Views slideshow, but without the scrolling. I just used 3 static thumbs.
But I think that that type of scrolling will be possible with Views Slideshow JCarousel Thumbs.

As If’s picture

Working great for me. Thanks for this module!

fearlsgroove’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ericpai’s picture

Has anyone gotten the next/prev arrows to disable when it needs to?
I tried adding this to views_slideshow.js but it's not quite working:

disableCustomButtons(currId, nextId, settings.num_divs, settings.divs_to_show);
function disableCustomButtons(currId, nextId, numDivs, numToShow){

	//alert(nextId);
    var prev_class = 'jcarousel-prev-disabled jcarousel-prev-disabled-horizontal';
    var next_class = 'jcarousel-next-disabled jcarousel-next-disabled-horizontal';	
	if(numDivs > numToShow){
		
	    if ( (nextId == 0) || (currId == 0) ) {
	    	$('.jcarousel-prev').attr('disabled', 'true').addClass(prev_class);
	    } else {
	    	$('.jcarousel-prev').attr('disabled', 'false').removeClass(prev_class);
	    }
	
	    if ( ((numDivs - numToShow) < nextId)) {
	    	//alert(nextId);
	    		$('.jcarousel-next').attr('disabled', 'true').addClass(next_class);
	    } else {
	    	//alert(nextId);
	    		$('.jcarousel-next').attr('disabled', 'false').removeClass(next_class);
	    }
    
	    
	    
	}else{
		$('.jcarousel-prev').attr('disabled', 'true').addClass(prev_class);
		$('.jcarousel-next').attr('disabled', 'true').addClass(next_class);
	}

}

thanks

ayalsule’s picture

not worked for me because current id not defined , I`m looking for solution
any other suggestions?