Thepresidential.com.au
jQuery(document).ready(function ($) {$("html").addClass("animated-wowo-control");wowo();slick();search();navbar_scroll();navbar();// footer_link();btn_img();home_tabs();accordion();cont_menu();gallery();over();$(window).scroll(function () {wowo();navbar_scroll();over();});$(window).on("load", function () {wowo();});function over() {if ($(".pictures-wrap").length > 0) {$(".pictures-wrap .item").each(function () {var windowWidth = $(window).width();var index = $(this).index();if (windowWidth >= 540) {var sh = $(window).scrollTop();var parallax_h = $(this).offset().top;var parallax_y = (parallax_h - sh) / 10;if (index == 0) {$(this).css('transform', "translateY(" + parallax_y + "px)");} else if (index == 2) {$(this).css('transform', "translateY(" + (- parallax_y) + "px)");}}})}}function gallery() {if ($(".gallery").length > 0) {var w = $(window).width();$(".gallery .column").hover(function () {$(this).stop().addClass("is-active").siblings(".is-active").removeClass("is-active")}, function () {$(this).removeClass("is-active")})}}function cont_menu() {if ($(".cont-menu .menu-btn").length > 0) {$(".cont-menu .menu-btn").on("click", function () {$(this).addClass("is-hide");$(this).next(".menu-box").slideDown();$(".close-btn").show(250)})$(".close-btn").on("click", function () {$(this).show(250)$(this).parents(".menu-box").slideUp();$(this).parents(".menu-box").prev(".menu-btn").delay(300).removeClass("is-hide");})}}function accordion() {if ($(".accordion-wrap").length > 0) {$(".accordion-wrap .accordion-item").eq(2).addClass("is-active").find(".item-content").show()$(".accordion-wrap .item-title").click(function (e) {// console.log($(this))e.preventDefault();var that = $(this),parent = that.parents(".accordion-item");if (!parent.hasClass("is-active")) {that.next().stop().slideDown(250);parent.addClass("is-active").siblings("").removeClass("is-active").find(".item-content").slideUp(250);} else {parent.removeClass("is-active").find(".item-content").slideUp(250);}});}}function home_tabs() {if ($(".tabs-block").length > 0) {$(".tabs-block .tabs-list").find(".item a").append("<span class=\"line-bg\"></span>")for (var i = 0; i <$(".tabs-block .tabs-list .item ").length; i++) {if( $(".tabs-block .tabs-list .item ").eq(i).hasClass("is-active")){$(".tabs-block .tabs-content .item ").eq(i).show();$(".tabs-block .tabs-list .item ").eq(i).find(".text-box").show();}}// $(".tabs-block .tabs-list").find(".item").eq(2).addClass("is-active")// $(".tabs-block .tabs-list").find(".item").eq(2).find(".text-box").show();// $(".tabs-block .tabs-content").find(".item").eq(2).show();// $(".tabs-block .tabs-list .tabs-title a").on("click",function (e) {// e.preventDefault();// var parent = $(this).parents(".item");// var index = parent.index();// if( !parent.hasClass("is-active")){// parent.siblings().removeClass("is-active").find(".text-box").slideUp();// parent.addClass("is-active");// parent.find(".text-box").slideDown();// }// $(".tabs-block .tabs-content").find(".item").eq(index).fadeIn(1000).siblings().css("display", "none");// })var txet_height = $(".tabs-block .tabs-list .text-box").outerHeight(true);var outerHeight = $(".tabs-block .tabs-list").find(".item").outerHeight(true);var height = $(".tabs-block .tabs-list").find(".item").height() ;$(".tabs-block .tabs-list .tabs-title a").on("click", function (e) {e.preventDefault();var parent = $(this).parents(".item");var index = parent.index();var len = $(".tabs-block .tabs-list .item");if (!parent.hasClass("is-active")) {// if(parent.siblings().hasClass("is-active")){// console.log(parent.siblings())// }for (var i = 0; i < len.length; i++) {if (len.eq(i).hasClass("is-active")) {if (index <= i) {// len.eq(i).find(".line-bg").css("top",- (index - i) * height - 0.5 * height)parent.siblings().find(".text-box").slideUp(200);parent.siblings().removeClass("is-active")parent.addClass("is-active");parent.find(".text-box").slideDown();} if (index > i) {parent.siblings().find(".text-box").slideUp(200);setTimeout(function () {// len.eq(i).find(".line-bg").css("top", (index - i) * height + 0.5 * height)parent.siblings().removeClass("is-active")parent.addClass("is-active");parent.find(".text-box").slideDown();}, 200)}}}}$(".tabs-block .tabs-content").find(".item").eq(index).fadeIn(1000).siblings().css("display", "none");})}if ($(".tabs-wrap").length > 0) {$(".tabs-wrap .tabs ul li").eq(0).addClass("is-active");$(".tabs-wrap .item-content").eq(0).show();$(".tabs-wrap .tabs ul li").click(function (e) {e.preventDefault();var that = $(this),index = that.index(),parents = that.parents(".tabs-wrap"),content = parents.find(".item-content").eq(index);if (!that.hasClass("is-active")) {that.addClass("is-active").siblings(".is-active").removeClass("is-active");content.stop().fadeIn(1000).siblings().css("display", "none");}});}if ($(".step-wrap").length > 0) {$(".step-wrap .step-list ul li").eq(0).addClass("is-active");$(".step-wrap .step-content .item").eq(0).show();$(".step-wrap .step-list ul li").click(function (e) {e.preventDefault();var that = $(this),index = that.index(),parents = that.parents(".step-wrap"),content = parents.find(".item").eq(index);if (!that.hasClass("is-active")) {that.addClass("is-active").siblings(".is-active").removeClass("is-active");content.stop().fadeIn(1000).siblings().css("display", "none");}});}}function navbar() {$(".burger").on("click", function () {$(this).toggleClass("open");$(".navbar-bottom").toggleClass("open");})$(".has-sub-second").append("<span class='iconfont icon-bottom'></span>");$(".has-sub-second").on("click", function (e) {if ($(window).width() < 1088) {var that = $(this);if (!that.hasClass("is-active")) {$(this).children(".sub-menu").slideDown();that.addClass("is-active").siblings(".has-sub-second").removeClass("is-active").children(".sub-menu").slideUp(250);} else {that.removeClass("is-active").children(".sub-menu").slideUp(250);}} else {}});$(".has-sub-second .sub-menu").on("click", function (e) {e.stopPropagation();});}function navbar_scroll() {var windowHeight = $(window).scrollTop();var windowWidth = $(window).width();var top = 0;if (windowWidth > 1088) {top = $(".navbar-top").outerHeight()}// console.log(top)if (windowHeight > top) {$(".navbar").addClass("navbar-scroll");} else {$(".navbar").removeClass("navbar-scroll");}}function slick() {if ($(".global-banners.home-banners .banners").length > 0) {$(".global-banners.home-banners .banners").slick({infinite: true,arrows: false,pauseOnHover: false,pauseOnDotsHover: false,accessibility: false,dots: false,slidesToShow: 1,slidesToScroll: 1,autoplay: true,autoplaySpeed: 5000,speed: 1000,fade: true,touchThreshold: 100,cssEase: 'cubic-bezier(0.42, 0, 0.58, 1)',})$(".global-banners.home-banners .banners .banner").addClass('move');$(".global-banners.home-banners .banners").on('beforeChange', function (event, slick, currentSlide, nextSlide) {$(".global-banners.home-banners .banners .banner").removeClass('move');setTimeout(function () {$(".global-banners.home-banners .banners .banner").addClass('move');}, 400);});}if ($(".global-banners.inner-banners .banners").length > 0) {$(".global-banners.inner-banners .banners").slick({infinite: true,arrows: false,pauseOnHover: false,pauseOnDotsHover: false,accessibility: false,dots: false,slidesToShow: 1,slidesToScroll: 1,autoplay: true,autoplaySpeed: 5000,})}if ($(".quote-slider .slider").length > 0) {$(".quote-slider .slider").slick({infinite: true,arrows: true,pauseOnHover: false,pauseOnDotsHover: false,accessibility: true,dots: false,slidesToShow: 1,slidesToScroll: 1,autoplay: true,autoplaySpeed: 5000,})}if ($(".slider-wrap .slider").length > 0) {$(".slider-wrap .slider").slick({infinite: true,arrows: false,pauseOnHover: false,pauseOnDotsHover: false,accessibility: true,dots: true,slidesToShow: 1,slidesToScroll: 1,autoplay: true,autoplaySpeed: 5000,})}if ($(".news-slider .slider").length > 0) {$(".news-slider .slider").slick({infinite: true,arrows: true,pauseOnHover: false,pauseOnDotsHover: false,accessibility: true,centerMode: true,centerPadding: '12.5%',dots: false,slidesToShow: 3,slidesToScroll: 1,// autoplay: true,// autoplaySpeed: 5000,responsive: [{breakpoint: 1088,settings: {infinite: true,arrows: true,centerMode: true,centerPadding: '10%',dots: false,slidesToShow: 2,slidesToScroll: 1,}},{breakpoint: 415,settings: {infinite: true,arrows: false,centerMode: false,centerPadding: '0px',dots: false,slidesToShow: 1,slidesToScroll: 1,}},]})}}function search() {if ($("#search-button").length > 0) {$('#search-button').click(function (e) {e.preventDefault();ot = $(window).scrollTop();$("#search-box").stop().fadeIn(300).addClass('show-it');sTime = setTimeout(function () {$("body").stop().addClass("modal-open-search");$("#search-box").find(".input").stop().focus();}, 900);});$('#search-close').click(function () {clearTimeout(sTime);$(".modal-open-search").removeClass("modal-open-search");$("html,body").stop().animate({scrollTop: ot}, 1);$("#search-box").stop().fadeOut(300).removeClass('show-it');$("#search-box").find(".input").stop().blur();});}}function footer_link() {$(".foot-menu a").hover(function () {$(this).parents(".foot-menu").find("li").removeClass("is-active");}, function () {$(this).parents(".foot-menu").find("li").eq(0).addClass("is-active");})}function wowo() {var wTop = $(window).scrollTop(),wHeight = $(window).height(),wBottom = wTop + wHeight;$(".wowo:not(.animated)").each(function () {var me = $(this),meTop = me.offset().top,meHeight = me.innerHeight(),meBottom = meTop + meHeight,limitTop = wTop - meHeight,limitBottom = wBottom + meHeight;if (meTop > limitTop && meBottom < limitBottom) {me.addClass("animated");setTimeout(function () {me.removeClass("animated wowo");}, 1500);}})};function btn_img() {if ($(".hero .btn").length > 0) {$(".hero .btn").hover(function () {$(this).parents(".hero").addClass("is-active");}, function () {$(this).parents(".hero").removeClass("is-active");})}if ($(".image-and-text .btn").length > 0) {$(".image-and-text .btn").hover(function () {$(this).parents(".image-and-text").addClass("is-active");}, function () {$(this).parents(".image-and-text").removeClass("is-active");})}}}) ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- det nsw au staff portal
- au access parent portal
- immigrer au canada
- immigrer au canada gratuitement
- immigrer au quebec
- comment immigrer au canada
- immigrer au canada site officiel
- comment immigrer au canada gratuitement
- immigrer au canada quebec
- immigrer au canada pour travailler
- comment immigrer au quebec
- au holiday 2020