123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
-
- jQuery(document).ready(function($) {
- "use strict";
-
-
-
-
- $(".big-cta").hover(
- function () {
- $('.cta a').addClass("animated shake");
- },
- function () {
- $('.cta a').removeClass("animated shake");
- }
- );
- $(".box").hover(
- function () {
- $(this).find('.icon').addClass("animated fadeInDown");
- $(this).find('p').addClass("animated fadeInUp");
- },
- function () {
- $(this).find('.icon').removeClass("animated fadeInDown");
- $(this).find('p').removeClass("animated fadeInUp");
- }
- );
-
-
- $('.accordion').on('show', function (e) {
-
- $(e.target).prev('.accordion-heading').find('.accordion-toggle').addClass('active');
- $(e.target).prev('.accordion-heading').find('.accordion-toggle i').removeClass('icon-plus');
- $(e.target).prev('.accordion-heading').find('.accordion-toggle i').addClass('icon-minus');
- });
-
- $('.accordion').on('hide', function (e) {
- $(this).find('.accordion-toggle').not($(e.target)).removeClass('active');
- $(this).find('.accordion-toggle i').not($(e.target)).removeClass('icon-minus');
- $(this).find('.accordion-toggle i').not($(e.target)).addClass('icon-plus');
- });
-
-
-
- $('.social-network li a, .options_box .color a').tooltip();
-
-
- $(".fancybox").fancybox({
- padding : 0,
- autoResize: true,
- beforeShow: function () {
- this.title = $(this.element).attr('title');
- this.title = '<h4>' + this.title + '</h4>' + '<p>' + $(this.element).parent().find('img').attr('alt') + '</p>';
- },
- helpers : {
- title : { type: 'inside' },
- }
- });
-
-
-
- $(window).scroll(function(){
- if ($(this).scrollTop() > 100) {
- $('.scrollup').fadeIn();
- } else {
- $('.scrollup').fadeOut();
- }
- });
- $('.scrollup').click(function(){
- $("html, body").animate({ scrollTop: 0 }, 1000);
- return false;
- });
- $('#post-slider').flexslider({
-
- controlNav : false,
- directionNav : true,
- prevText : "Previous",
- nextText : "Next",
-
-
- keyboard : true,
- multipleKeyboard : false,
- mousewheel : false,
- pausePlay : false,
- pauseText : 'Pause',
- playText : 'Play',
-
-
- controlsContainer : "",
- manualControls : "",
- sync : "",
- asNavFor : "",
- });
-
- $('#main-slider').flexslider({
- namespace : "flex-",
- selector : ".slides > li",
- animation : "fade",
- easing : "swing",
- direction : "horizontal",
- reverse : false,
- animationLoop : true,
- smoothHeight : false,
- startAt : 0,
- slideshow : true,
- slideshowSpeed : 7000,
- animationSpeed : 600,
- initDelay : 0,
- randomize : false,
-
-
- pauseOnAction : true,
- pauseOnHover : false,
- useCSS : true,
- touch : true,
- video : false,
-
-
- controlNav : true,
- directionNav : true,
- prevText : "Previous",
- nextText : "Next",
-
-
- keyboard : true,
- multipleKeyboard : false,
- mousewheel : false,
- pausePlay : false,
- pauseText : 'Pause',
- playText : 'Play',
-
-
- controlsContainer : "",
- manualControls : "",
- sync : "",
- asNavFor : "",
- });
-
- });
|