PageSourceSearch

https://proclick.ir/js/main.js

js proclick.ir collected 2026-09-26 05:04:40 UTC 8,252 bytes, 11 lines download raw bytes

1$(document).ready(function(){$("body").queryLoader2({barColor:"#fff",backgroundColor:"#f5503b",percentage:true,barHeight:1,completeAnimation:"grow",minimumTime:100});$('#nav').onePageNav({filter:':not(.external)'});jQuery('a[data-gal]').each(function(){jQuery(this).attr('rel',jQuery(this).data('gal'));});jQuery("a[data-rel^='prettyPhoto']").prettyPhoto({animationSpeed:'slow',theme:'light_square',slideshow:false,overlay_gallery:false,social_tools:false,deeplinking:false});$('#header').parallax("50%",0.5);$('#about-quote').parallax("50%",0.3);$('#twiiter-section').parallax("50%",0.3);$('#work-quote').parallax("50%",0.3);$('#client').parallax("50%",0.3);$("[id*='Btn']").stop(true).on('click',function(e){e.preventDefault();$(this).scrolld();});$('.lab_item').hover(function(){$(this).find('.hexagon-content-background').stop().animate({bottom:85},200,'easeOutQuad');$(this).find('.hexagon-content').stop().animate({bottom:140},500,'easeOutQuad');},function(){$(this).find('.hexagon-content-background').stop().animate({bottom:-150},500,'easeOutQuad');$(this).find('.hexagon-content').stop().animate({bottom:-150},400,'easeOutQuad');});$('.tab-two').css('display','none');$('.lab_item .next').click(function(){$(this).parent().find('.tab-one').fadeOut('fast');$(this).parent().find('.tab-two').fadeIn('slow');$(this).parent().find('.previous').removeClass('active');$(this).addClass('active');});$('.lab_item .previous').click(function(){$(this).parent().find('.tab-two').fadeOut('fast');$(this).parent().find('.tab-one').fadeIn('slow');$(this).parent().find('.next').removeClass('active');$(this).addClass('active');});setTimeout(function(){$('.progress .progress-bar').each(function(){var me=$(this);var perc=me.attr("data-percentage");var current_perc=0;var progress=setInterval(function(){if(current_perc>=perc){clearInterval(progress);}else{current_perc+=1;me.css('width',(current_perc)+'%');}
2var meandclass=me.find(".skills-percentage");meandclass.text((current_perc)+'%');},50);});},200);$('.blog-posts').hover(function(){$(this).find('.hover-background').stop().animate({bottom:0},150,'easeOutQuad');$(this).find('.content-blog').stop().animate({bottom:0},400,'easeOutQuad');$(this).find('.content-blog p').stop().animate({bottom:0},400,'easeOutQuad');$(this).find('.look, .video').stop().animate({bottom:0},250,'easeOutQuad');},function(){$(this).find('.hover-background').stop().animate({bottom:-350},250,'easeOutQuad');$(this).find('.content-blog').stop().animate({bottom:-350},200,'easeOutQuad');$(this).find('.look, .video').stop().animate({bottom:-350},200,'easeOutQuad');});var moveIt=function(){var halfObjectHeight=($('.link-previous-article').height()/2);var halfObjectWidth=($('.link-previous-article').width()/2);$('.link-previous-article').css({'margin-left':-halfObjectWidth+"px",'margin-top':-halfObjectHeight+"px"});var halfObjectHeight=($('.link-next-article').height()/2);var halfObjectWidth=($('.link-next-article').width()/2);$('.link-next-article').css({'margin-left':-halfObjectWidth+"px",'margin-top':-halfObjectHeight+"px"});var halfObjectHeight=($('.bx-wrapper .bx-pager').height()/2);var halfObjectWidth=($('.bx-wrapper .bx-pager').width()/2);$('.bx-wrapper .bx-pager').css({'margin-left':-halfObjectWidth+"px",'margin-top':-halfObjectHeight+"px"});};window.setInterval(function(){moveIt();},0);$(window).resize(moveIt);moveIt();$('ul.moreArticle li').hover(function(){$(this).find('.moreArticle-background').stop().fadeOut('slow');},function(){$(this).find('.moreArticle-background').stop().fadeIn('slow');});$('ul.moreArticle li').click(function(){alert('work');});$('.featured-item').hover(function(){$(this).find('.featured-item-content-background').stop().animate({bottom:0},150,'easeOutQuad');$(this).find('.featured-item-content').stop().animate({bottom:0},400,'easeOutQuad');$(this).find('.look, .video').stop().animate({bottom:0},250,'easeOutQuad');},function(){$(this).find('.featured-item-content-background').stop().animate({bottom:-350},500,'easeOutQuad');$(this).find('.featured-item-content').stop().animate({bottom:-350},350,'easeOutQuad');$(this).find('.look, .video').stop().animate({bottom:-350},100,'easeOutQuad');});$('#contactForm #send').click(function(event){event.preventDefault();var name=$('#contactForm #name').val();var email=$('#contactForm #email').val();var atpos=email.indexOf("@");var dotpos=email.lastIndexOf(".");var subject=$('#contactForm #subject').val();var message=$('#contactForm #contactTextarea').val();if(name==null||name==''||name.length<2){$('#contactForm #name').css('border','1px solid #f53a23');}
3if(atpos<1||dotpos<atpos+2||dotpos+2>=email.length){$('#contactForm #email').css('border','1px solid #f53a23');}
4if(subject==null||subject==''||subject.length<2){$('#contactForm #subject').css('border','1px solid #f53a23');}
5if(message==null||message==''||message.length<5){$('#contactForm #contactTextarea').css('border','1px solid #f53a23');}
6var dataString='name='+name+'&email='+email+'&subject='+subject+'&message='+message;$.ajax({type:'POST',url:'contact.php',data:dataString,success:function(result){$('#message-here').slideDown('fast').css('display','inline-block').delay(4000).slideUp('fast');;$('#message-here').html(result);}});return false;});$('#contactForm #name').keyup(function(){var name=$('#contactForm #name').val();if(name==null||name==''||name.length<2){$('#contactForm #name').css('border','1px solid #e86369');}
7else{$('#contactForm #name').css('border','1px solid #82b258');}});$('#contactForm #email').keyup(function(){var email=$('#contactForm #email').val();var atpos=email.indexOf("@");var dotpos=email.lastIndexOf(".");if(atpos<1||dotpos<atpos+2||dotpos+2>=email.length){$('#contactForm #email').css('border','1px solid #e86369');}
8else{$('#contactForm #email').css('border','1px solid #82b258');}});$('#contactForm #subject').keyup(function(){var name=$('#contactForm #subject').val();if(name==null||name==''||name.length<2){$('#contactForm #subject').css('border','1px solid #e86369');}
9else{$('#contactForm #subject').css('border','1px solid #82b258');}});$('#contactForm #contactTextarea').keyup(function(){var message=$('#contactForm #contactTextarea').val();if(message==null||message==''||message.length<5){$('#contactForm #contactTextarea').css('border','1px solid red');}
10else{$('#contactForm #contactTextarea').css('border','1px solid green');}});if(!Modernizr.input.placeholder){$('[placeholder]').focus(function(){var input=$(this);if(input.val()==input.attr('placeholder')){input.val('');input.removeClass('placeholder');}}).blur(function(){var input=$(this);if(input.val()==''||input.val()==input.attr('placeholder')){input.addClass('placeholder');input.val(input.attr('placeholder'));}}).blur();$('[placeholder]').parents('form').submit(function(){$(this).find('[placeholder]').each(function(){var input=$(this);if(input.val()==input.attr('placeholder')){input.val('');}})});}
11$('.local-scroll').smoothScroll();});$(function(){var filterList={init:function(){$('#portfoliolist').mixitup({targetSelector:'.portfolio',filterSelector:'.filter',effects:['fade'],easing:'snap',onMixEnd:filterList.hoverEffect()});},hoverEffect:function(){$('#portfoliolist .portfolio').hover(function(){$(this).find('.content-text').stop().animate({bottom:0},400,'easeOutQuad');$(this).find('.content-background').stop().animate({bottom:0},150,'easeOutQuad');$(this).find('.look, .video').stop().animate({bottom:0},250,'easeOutQuad');$(this).find('img').stop().animate({top:0},500,'easeOutQuad');},function(){$(this).find('.content-text, .content-background, .look, .video').stop().animate({bottom:-350},200,'easeInQuad');$(this).find('img').stop().animate({top:0},300,'easeOutQuad');});$('#feautered-work .featured').hover(function(){$(this).find('.content-text').stop().animate({bottom:0},400,'easeOutQuad');$(this).find('.content-background').stop().animate({bottom:0},150,'easeOutQuad');$(this).find('.look, .video').stop().animate({bottom:0},250,'easeOutQuad');$(this).find('img').stop().animate({top:0},500,'easeOutQuad');},function(){$(this).find('.content-text, .content-background, .look, .video').stop().animate({bottom:-350},200,'easeInQuad');$(this).find('img').stop().animate({top:0},300,'easeOutQuad');});}};
11filterList.init();});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.