in js/custom.js [551:692]
$(window).load(function() {
/*
|--------------------------------------------------------------------------
| RS SLIDER
|--------------------------------------------------------------------------
*/
if($('.fullwidthbanner').length){
$('.fullwidthbanner').css('display', 'block');
if(jQuery().revolution) {
$('.fullwidthbanner').revolution(
{
delay:9000,
startwidth:940,
startheight:432,
onHoverStop:"on",// Stop Banner Timet at Hover on Slide on/off
thumbWidth:100,// Thumb With and Height and Amount (only if navigation Type set to thumb !)
thumbHeight:50,
thumbAmount:3,
hideThumbs:200,
navigationType:"both",//bullet, thumb, none, both (No Shadow in Fullwidth Version !)
navigationArrows:"verticalcentered",//nexttobullets, verticalcentered, none
navigationStyle:"round",//round,square,navbar
touchenabled:"on",// Enable Swipe Function : on/off
navOffsetHorizontal:0,
navOffsetVertical:20,
stopAtSlide:-1,// Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case.
stopAfterLoops:-1,// Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic
fullWidth:"off",
shadow:0, //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows - (No Shadow in Fullwidth Version !)
wrapper:'#sliderWrapperRS',
wrapperheight:500
});
}
}
/*
|--------------------------------------------------------------------------
| ISOTOPE USAGE FILTERING
|--------------------------------------------------------------------------
*/
if($('.isotopeWrapper').length){
var $container = $('.isotopeWrapper');
var $resize = $('.isotopeWrapper').attr('id');
// initialize isotope
$container.isotope({
itemSelector: '.isotopeItem',
containerStyle: { overflow: 'visible', position: 'relative'},
resizable: false, // disable normal resizing
masonry: {
columnWidth: $container.width() / $resize
}
});
$('#filter a').click(function(){
$('#filter a').removeClass('current');
$(this).addClass('current');
var selector = $(this).attr('data-filter');
$container.isotope({
filter: selector
});
return false;
});
$(window).smartresize(function(){
$container.isotope({
// update columnWidth to a percentage of container width
masonry: {
columnWidth: $container.width() / $resize
}
});
});
$container.delegate('.masoneryBloc a.sizer', 'click', function(){
var $this = $(this);
var resizeElement = $(this).parent();
$this.find('div').css('display', 'none');
if(resizeElement.hasClass('span3')){
resizeElement.removeClass('span3');
resizeElement.addClass('span6');
$this.find('div>span>i').attr('class', 'icon-minus');
}else{
resizeElement.addClass('span3');
resizeElement.removeClass('span6');
$this.find('div>span>i').attr('class', 'icon-plus');
}
if($(this).parent().children('.hiddenInfo').css('display') == 'block'){
$(this).parent().children('.hiddenInfo').css('display', 'none');
$(this).parent().find('.iconZoom').css('background-position', '217px 702px');
$(this).parent().find('.mask span').html('Read More');
}else{
$(this).parent().children('.hiddenInfo').css('display', 'block');
$(this).parent().find('.iconZoom').css('background-position', '164px 689px');
$(this).parent().find('.mask span').html('Minimize');
}
$container.isotope('reLayout');
return false;
});
}
//END WINDOW LOAD
});