Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function() {
  2.  
  3.     $("input,select,textarea").jqBootstrapValidation();
  4.  
  5.     $(".sect_folio li").click(function() {
  6.         $(".sect_folio li").removeClass("active");
  7.         $(this).addClass("active");
  8.     });
  9.  
  10.     $('.popup').magnificPopup({type: 'image'});
  11.     $('.popup_content').magnificPopup({type: 'inline', midClick: true});
  12.     $(".contact_us").magnificPopup();
  13.  
  14.     $(".h1top").animated("bounceIn", "flipOutX");
  15.     $(".h1top2").animated("bounceIn", "flipOutX");
  16.     $(".h1top3").animated("bounceIn", "flipOutX");
  17.  
  18.     $(".h1_txt").animated("bounceInLeft", "bounceOutLeft");
  19.     $(".p_txt").animated("bounceInRight", "bounceOutRight");
  20.     $(".process_txt h1").animated("fadeInDown", "bounceOutRight");
  21.     $(".process_txt ul li").animated("fadeInUpBig", "bounceOutLeft");
  22.  
  23.     $(".sect_folio div h1").animated("bounceInLeft", "bounceOutLeft");
  24.     $(".sect_folio div li").animated("bounceInRight", "bounceOutRight");
  25.  
  26.     $("h6").animated("zoomInUp", "zoomInUp");
  27.  
  28.     function heightDetect() {
  29.         $(".main_head").css("height", $(window).height());
  30.     }
  31.  
  32.     heightDetect();
  33.     $(window).resize(function() {
  34.         heightDetect();
  35.     });
  36.  
  37.     $(".toggle_mnu").click(function() {
  38.         $(".sandwich").toggleClass("active");
  39.     });
  40.  
  41.     $(".top_mnu ul a").click(function() {
  42.         $(".top_mnu").fadeOut(600);
  43.         $(".sandwich").toggleClass("active");
  44.     });
  45.  
  46.     $(".toggle_mnu").click(function() {
  47.         if ($(".top_mnu").is(":visible")) {
  48.             $(".top_mnu").fadeOut(600);
  49.             $(".top_mnu li a").removeClass("fadeInUp animated");
  50.         } else {
  51.             $(".top_mnu").fadeIn(600);
  52.             $(".top_mnu li a").addClass("fadeInUp animated");
  53.         }
  54.     });
  55.  
  56. });
  57. $(window).load(function() {
  58.     $(".loader_inner").fadeOut();
  59.     $(".loader").delay(400).fadeOut("slow");
  60. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement