jQuery(document).ready(function($) { $(".toggleicon").click(function() { if ($(this).hasClass("plus")) { $(this).parent().parent().parent().children(".toggle-content").slideDown(200); $(this).removeClass("plus").addClass("minus"); } else { $(this).parent().parent().parent().children(".toggle-content").slideUp(200); $(this).removeClass("minus").addClass("plus"); } return false; }); $('a.arr').click(function(){ var slide = $(this).attr('href').substring(1); $('#Testimonials').anythingSlider(slide); return false; }); $('.testimonials-list').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildStartStop: false, hashTags: false, mode : "h", forwardText: '>', backText: '<' }); $('.tabs-container').each(function() { var ob = $(this).attr("id"); $('#'+ob).anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: false, buildStartStop: false, hashTags: false, mode : "fade" }); }); $('.tabs-tabs li a').click(function(){ $(this).parent("li").parent("ul").children("li").each(function() { $(this).children("a").removeClass("active"); }); $(this).addClass("active"); var slide = $(this).attr('href').substring(1); var ob = $(this).parent("li").parent("ul").parent("div").children("div").children("div").children("div").children("ul").attr("id"); $("#"+ob).anythingSlider(slide); return false; }); $('#posts_tabs_widget').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: false, buildStartStop: false, hashTags: false }); $('.SCSlider').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildStartStop: false, hashTags: false, forwardText: '>', backText: '<' }); $('#sidebar_posts_tabs a').click(function(){ var slide = $(this).attr('href').substring(1); $('#posts_tabs_widget').anythingSlider(slide); return false; }); $('#cat_tabs_widget').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: false, buildStartStop: false, hashTags: false }); $('.InsideSlider').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildNavigation: false, buildStartStop: false, hashTags: false, mode : "v", }); $('#faves_widget, #featured_widget').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildNavigation: false, buildStartStop: false, hashTags: false, mode : "f", forwardText: '>', backText: '<' }); /* $('.VerticalGalleryThumbs').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildNavigation: false, buildStartStop: false, hashTags: false, mode : "h" }); */ $('#sidebar_cat_tabs a').click(function(){ var slide = $(this).attr('href').substring(1); $('#cat_tabs_widget').anythingSlider(slide); return false; }); $('#thumbs').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildStartStop: false, hashTags: false }); $('#carousel-container').anythingSlider({ easing: "easeInOutExpo", animationTime: 900, resizeContents : false, // If true, solitary images/objects in the panel will expand to fit the viewport buildNavigation: false, buildArrows: true, buildStartStop: false, hashTags: false }); $("a[rel=gallery]").fancybox({ 'padding' : 20, 'overlayOpacity' : 0.7, 'overlayColor' : '#000', 'transitionIn' : 'none', 'transitionOut' : 'none' }); });