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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src="//www.youtube.com/iframe_api"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/jquery.magnific-popup.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
// Initializes Magnific Popup | |
$('#lp-pom-image-202 a, #lp-pom-box-218 a, #lp-pom-box-217 a').magnificPopup({ | |
disableOn: 700, |
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).ready(function() { | |
var params = window.location.search.replace(/ /g,'%20'); | |
$('.lp-pom-text a').each( function() { | |
this.href = this.href + params; | |
}); | |
}); |
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
<script> | |
// Youtube Video Background for Unbounce. V1.1 | |
// lpVideoBG('#SectionID', 'YoutubeVideoID', width, height, muted); | |
// Use '#lp-pom-root' for a full page video background | |
lpVideoBG('#lp-pom-block-9', '2XX5zDThC3U', 560, 315, 0); | |
function lpVideoBG(pageSectionID, youtubeVideoCode, videoWidth, videoHeight, muted) { |
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
<!--[if lte IE 8]> | |
<script> | |
var oldIEhasFlash = false; | |
try { | |
oldIEhasFlash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')); | |
} catch(exception) { | |
oldIEhasFlash = ('undefined' != typeof navigator.mimeTypes['application/x-shockwave-flash']); | |
} | |
</script> |
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
<script> | |
$(document).ready(function() { | |
var params = window.location.search.replace(/ /g,'%20'); | |
var textLink = $('.lp-pom-text a').each( function(i) { | |
if(this.href.indexOf('?') !== -1){ | |
this.href = this.href + params.replace("?", "");; | |
} | |
else { |
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
<!--[if lte IE 8]> | |
<script> | |
var oldIEhasFlash = false; | |
try { | |
oldIEhasFlash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')); | |
} catch(exception) { | |
oldIEhasFlash = ('undefined' != typeof navigator.mimeTypes['application/x-shockwave-flash']); | |
} | |
</script> |
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
<script type="text/javascript"> | |
var getUrlParams = function() { | |
var params = {}, hash; | |
var hashes = decodeURI(window.location.href).replace(/\+/g," ").slice(window.location.href.indexOf('?') + 1).split('&'); | |
for (var i=0; i<hashes.length; i++) { | |
hash = hashes[i].split('='); | |
params[hash[0]] = hash[1]; | |
} | |
return params; | |
}; |
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
<script> | |
// Youtube Video Background for Unbounce. V1.0 | |
// lpVideoBG('#SectionID', 'YoutubeVideoID', width, height, muted); | |
// Use '#lp-pom-root' for a full page video background | |
lpVideoBG('#lp-pom-block-9', '2XX5zDThC3U', 560, 315, 0); | |
function lpVideoBG(pageSectionID, youtubeVideoCode, videoWidth, videoHeight, muted) { |
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
<script> | |
lp.jQuery(function($) { | |
// Hide form error message on click | |
$( ".lp-form-errors" ).click(function() { | |
$( ".lp-form-errors" ).fadeOut("slow"); | |
}); | |
// Auto-hide form error message after 10 seconds | |
$( ".lp-pom-button" ).click( function() { |
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
// version 5.1 | |
;(function(){ | |
window.module = window.module || {}; | |
window.module.lp = window.module.lp || {}; | |
window.module.lp.form = window.module.lp.form || {}; | |
window.module.lp.form.data = null; | |
window.lp = window.lp || {}; | |
lp.form = lp.form || {}; | |
lp.form.main = lp.form.main || {}; |
NewerOlder