mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Remove expose view loading and make indicator scrolling animation faster
This commit is contained in:
parent
790a2d320f
commit
3bfee6c6dd
@ -227,7 +227,7 @@ function expose (widget)
|
|||||||
// The class for all slides:
|
// The class for all slides:
|
||||||
slideClass: 'slide',
|
slideClass: 'slide',
|
||||||
// The slide class for loading elements:
|
// The slide class for loading elements:
|
||||||
slideLoadingClass: 'slide-loading',
|
slideLoadingClass: '',
|
||||||
// The slide class for elements that failed to load:
|
// The slide class for elements that failed to load:
|
||||||
slideErrorClass: 'slide-error',
|
slideErrorClass: 'slide-error',
|
||||||
// The class for the content element loaded into each slide:
|
// The class for the content element loaded into each slide:
|
||||||
@ -488,10 +488,10 @@ function expose (widget)
|
|||||||
// See if we need to move the indicator
|
// See if we need to move the indicator
|
||||||
var indicator = gallery.container.find('.indicator');
|
var indicator = gallery.container.find('.indicator');
|
||||||
var current = $j('.active',indicator).position();
|
var current = $j('.active',indicator).position();
|
||||||
|
|
||||||
if(current)
|
if(current)
|
||||||
{
|
{
|
||||||
indicator.animate({left: (gallery.container.width() / 2)-current.left});
|
indicator.animate({left: (gallery.container.width() / 2)-current.left},10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user