%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/logodowntown.com/assets/js/
Upload File :
Create Path :
Current File : //home/eirtvhdf/logodowntown.com/assets/js/functions.js

$(document).ready(function(){$(".clickme2").click(function(){$("ul.showlist2").toggle("slow",function(){})}),$("section.trademark-form.gcr form").validate(),$("#toggle").click(function(){"Read More"==$("#toggle").text()?($("#toggle").text("Read Less"),$("#text").slideDown()):($("#toggle").text("Read More"),$("#text").slideUp())})}),$(document).ready(function(){function e(){$(".slide-progress").css({width:"100%",transition:"width 5000ms"})}function t(){$(".slide-progress").css({width:0,transition:"width 0s"})}jQuery(".testimonial").owlCarousel({loop:!0,nav:!1,margin:10,center:!0,autoplay:!0,autoPlaySpeed:5e3,autoplayHoverPause:!0,responsive:{0:{items:3},360:{items:1},1000:{items:3}}}),$(".content-testimonial").owlCarousel({loop:!0,margin:10,nav:!0,dots:!1,navText:["<img src=/assets/images/prev-btn.png>","<img src=/assets/images/next-btn.png>"],responsive:{0:{items:1},600:{items:13},1000:{items:3}}}),$(window).width()<700&&$(".dropdown-toggle").click(function(){$(this).next(".dropdown-menu").toggle("slow")}),$(".slider-portfolio").owlCarousel({center:!0,items:1,loop:!0,dots:!1,nav:!0,animateOut:"fadeOut",animateIn:"zoomIN",autoplay:!0,responsiveClass:!0,navText:['<i class="fas fa-chevron-left"></i>','<i class="fas fa-chevron-right"></i>'],responsive:{0:{items:1,nav:!0},600:{items:1,nav:!1},1000:{items:1,nav:!0,loop:!0}},onInitialized:e,onTranslate:t,onTranslated:e});var o,a,i,n,s,l,r=7;function c(){l=0,n=!1,s=setInterval(d,8)}function d(){!1===n&&(l+=1/r,a.css({width:l+"%"}),l>=100&&i.trigger("owl.next"))}$(".slider-portfolio").owlCarousel({slideSpeed:400,paginationSpeed:400,singleItem:!0,afterInit:function(e){i=e,o=$("<div>",{id:"progressBar"}),a=$("<div>",{id:"bar"}),o.append(a).prependTo(i),c()},afterMove:function(){clearTimeout(s),c()},startDragging:function(){n=!0}}),$(".menu-bottom").on("click",function(){$("html").toggleClass("menu-open")});var u=$("meta[name=ip2loc]").attr("content");$.ajax({method:"get",url:"https://pro.ip-api.com/json/"+u,data:{key:"5XpThOAEkfgOvEJ"},success:function(e){e&&($("input[name=ip2loc_ip]").val(e.query),$("input[name=ip2loc_isp]").val(e.isp),$("input[name=ip2loc_org]").val(e.org),$("input[name=ip2loc_country]").val(e.country),$("input[name=ip2loc_region]").val(e.regionName),$("input[name=ip2loc_city]").val(e.city))}});var p=$(".contact_form"),m=$(".form-messages");$(p).submit(function(e){e.preventDefault();var t=$(p).serialize(),o=$("#cn").val(),a=$("#em").val(),i=$("#pn").val(),n=$("#msg").val();""!=o&&""!=a&&""!=i&&""!=n&&$.ajax({type:"POST",url:$(p).attr("action"),data:t}).done(function(e){$(m).removeClass("error"),$(m).addClass("success"),$(m).text(e),$(".contact_form .required").val("")}).fail(function(e){$(m).removeClass("success"),$(m).addClass("error"),""!==e.responseText?$(m).text(e.responseText):$(m).text("Oops! An error occured and your message could not be sent.")})}),$(".various").click(function(){var e=$(this).attr("name");$(".popupform .leadprice").val(e)}),$(window).on("load",function(){$(".content").mCustomScrollbar({autoHideScrollbar:!0}),$(".lazy").lazyload({effect:"fadeIn"});var e=$(".grid").isotope({itemSelector:".element-item",layoutMode:"fitRows"});$("#filters").on("click","button",function(){var t=$(this).attr("data-filter");t=t,e.isotope({filter:t})}),$(".button-group").each(function(e,t){var o=$(t);o.on("click","button",function(){o.find(".is-checked").removeClass("is-checked"),$(this).addClass("is-checked")})});var t=8,o=e.data("isotope");function a(t){e.find(".hidden").removeClass("hidden");var a=o.filteredItems.slice(t,o.filteredItems.length).map(function(e){return e.element});$(a).addClass("hidden"),e.isotope("layout"),0==a.length?jQuery("#showMore").hide():jQuery("#showMore").show()}$("#showMore ").on("click",function(e){e.preventDefault(),showNextItems(next_items)}),a(8),e.after('<button id="showMore"> Show More</button>'),$("#showMore").click(function(){$("#filters").data("clicked")?(t=8,$("#filters").data("clicked",!1)):t=t,a(t+=8)}),$("#filters").click(function(){$(this).data("clicked",!0),a(8)})}),$(".validate-popupform-video").validate(),$(".banform").validate(),$(".validate-popupform-quote").validate(),$(".validate-popupform-web").validate(),$(".app_validate").validate(),$(".validate-popupform").validate(),$(".validate-popupform-combo").validate(),$(".validate-popupform-thnks").validate()});

Zerion Mini Shell 1.0