Golty Magnun No. 5
Golty Invictus No. 5
Global Training No. 5
Global Kids No. 3
Global Junior No. 4
jQuery(window).load (function () {
jQuery('#ice_filter_preload395').removeClass('ice_preload')
});
jQuery(window).load (function () {
jQuery('#ice_filter_overlay').removeClass('ice_filter_overlay')
});
// Remove Duplicate li from the foreach
var dublicate_title='';jQuery('#ice_filter_nav_395 li').each(function(){
var see=jQuery(this).text();
if(dublicate_title.match(see)){
jQuery(this).remove();}
else{
dublicate_title=dublicate_title+jQuery(this).text();
}
});
/* begin quickstand */
jQuery(window).load(function(){
// Initialize prettyPhoto plugin
jQuery("#ice_filter_items_395 a[rel^='prettyPhoto']").prettyPhoto({
theme:'facebook',
autoplay_slideshow: true,
overlay_gallery: true,
show_title: true,
});
// Clone portfolio items to get a second collection for Quicksand plugin
var $portfolioClone = jQuery(".ice_filter_items").clone();
// Attempt to call Quicksand on every click event handler
jQuery("#ice_filter_nav_395 a").click(function(e){
jQuery("#ice_filter_nav_395 li").removeClass("current");
// Get the class attribute value of the clicked link
var $filterClass = jQuery(this).parent().attr("class");
if ( $filterClass == "all" ) {
var $filteredPortfolio = $portfolioClone.find("div");
} else {
var $filteredPortfolio = $portfolioClone.find("div[data-type~=" + $filterClass + "]");
}
// Call quicksand
jQuery("#ice_filter_items_395 .row-fluid").quicksand( $filteredPortfolio, {
duration: 600,
retainExisting:true,
useScaling : false,
easing: 'swing',
adjustHeight: 'dynamic',
adjustWidth: 'auto'
}, function(){
});
/* pretty photo */
jQuery("#ice_filter_items_395 a[rel^='prettyPhoto']").prettyPhoto({
theme:'facebook',
autoplay_slideshow: true,
overlay_gallery: true,
show_title: true });
jQuery(this).parent().addClass("current");
// Prevent the browser jump to the link anchor
e.preventDefault();
})
})