This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validators.pattern("[a-z0-9 !#$%&'*+/=&^_`{|}~-]+(?:\.[a-z0-9 !#$%&'*+/=&^_`{|}~-]+)*@(?: [a-z0-9-]*[a-z0-9-])?\.)+[a-z0-9-]*[a-z0-9-])?") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
.newresponse .services-board-wrapper { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var swiper = new Swiper('#servicing-top-slider', { | |
pagination: '.servicing-top-pagination', | |
paginationType: 'fraction', | |
paginationClickable: true, | |
nextButton: '.swiper-next', | |
prevButton: '.swiper-prev', | |
spaceBetween: 0, | |
watchActiveIndex: true, | |
onSlideChangeEnd: function () { | |
$(".presSlidesActive").text(pressSwiper.activeIndex +1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Path: | |
/wp-content/plugins/all-in-one-wp-migration/constants.php | |
Change this block: | |
// ================= | |
// = Max File Size = | |
// ================= | |
define( 'AI1WM_MAX_FILE_SIZE', 536870912 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function filterPortfolio() { | |
var hash = window.location.hash.substring(1); | |
var $portItem = $(".tag-block"); | |
var $filter = $(".filter-tabs li a"); | |
if (hash) { | |
$filter.parent().removeClass("is-active"); | |
$portItem.removeClass("animate is-show").hide(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="randomImageSet hidden"> | |
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('contact_page_banner_widget')) : else : ?><?php endif; ?> | |
</div> | |
<div id="randomImage" class="relative top-bk"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hide Header on on scroll down | |
var didScroll, | |
lastScrollTop = 0, | |
delta = 5, | |
navbarHeight = $('.navbar-blue_grid').outerHeight(), | |
socials = $('#fixed-social'); | |
$(window).scroll(function(event){ | |
didScroll = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.your-block').bxSlider({ | |
minSlides: 1, | |
maxSlides: 10, | |
slideWidth: 150, | |
slideMargin: 60, | |
ticker: true, | |
speed: 6000 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.isInViewport = function() { | |
var elementTop = $(this).offset().top; | |
var elementBottom = elementTop + $(this).outerHeight(); | |
var viewportTop = $(window).scrollTop(); | |
var viewportBottom = viewportTop + $(window).height(); | |
return elementBottom > viewportTop && elementTop < viewportBottom && elementBottom < viewportBottom && elementTop > viewportTop; | |
// return elementBottom > viewportTop && elementTop < viewportBottom; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).click(function (e) { | |
e.stopPropagation(); | |
var container = $(".menu-item-has-children>a"); //Parent of dropdown block | |
//check if the clicked area is dropDown or not | |
if (container.has(e.target).length === 0) { | |
$('.menu-item-has-children .dropdown-menu').removeClass('d-block'); | |
} | |
}); |