You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been experiencing some problems using that plugin on some of my websites. When I double click the actual filmstrip frame, the image disappears till a new click on the frame is make. To solve this bug i've added some lines across the code:
on $.fn.galleryView.defaults add next property:
actual_frame: 0
then on bindActions change:
dom.gv_filmstripWrap.delegate('.gv_frame','click.galleryview',function(){
var el = $(this),
i = el.data('frameIndex');
this.navAction = 'frame';
self.showItem(i);
return false;
});
TO:
dom.gv_filmstripWrap.delegate('.gv_frame','click.galleryview',function(){
var el = $(this),
i = el.data('frameIndex');
this.navAction = 'frame';
self.opts.actual_frame = i;
self.showItem(i);
return false;
});
and on showItem function add the next conditional on the next switch cases:
if ( this.iterator != self.opts.actual_frame )
{
(...functions to change image )
}
hope that could help any one.
salut!
The text was updated successfully, but these errors were encountered:
I've been experiencing some problems using that plugin on some of my websites. When I double click the actual filmstrip frame, the image disappears till a new click on the frame is make. To solve this bug i've added some lines across the code:
on $.fn.galleryView.defaults add next property:
actual_frame: 0
then on bindActions change:
dom.gv_filmstripWrap.delegate('.gv_frame','click.galleryview',function(){
var el = $(this),
i = el.data('frameIndex');
this.navAction = 'frame';
self.showItem(i);
return false;
});
TO:
dom.gv_filmstripWrap.delegate('.gv_frame','click.galleryview',function(){
var el = $(this),
i = el.data('frameIndex');
this.navAction = 'frame';
self.opts.actual_frame = i;
self.showItem(i);
return false;
});
and on showItem function add the next conditional on the next switch cases:
if ( this.iterator != self.opts.actual_frame )
{
(...functions to change image )
}
hope that could help any one.
salut!
The text was updated successfully, but these errors were encountered: