This file contains hidden or 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> | |
var element = document.getElementById("lp-pom-text-53"); //Replace with ID of your page element (Exclude the '#' sign) | |
element.scrollIntoView(); | |
</script> |
This file contains hidden or 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 _ubaq = _ubaq || []; | |
_ubaq.push(['trackGoal', 'convert']); | |
(function() { | |
function UnbounceAnalytics(commands) { | |
this.trackingUrl = | |
('https:' == document.location.protocol ? 'https://' : 'http://') + | |
"t.unbounce.com/trk"+"?"; | |
this.commands = commands; |
This file contains hidden or 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> | |
$('#are_you_currently_running_ppc_Yes').click(function() { | |
$('#how_is_your_ppc_being_managed')[this.checked ? "show" : "hide"]("slow"); | |
}); | |
</script> | |
and | |
<style> | |
#how_is_your_ppc_being_managed {display:none;} |
This file contains hidden or 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
To be placed on form confirmation/thank you page in head | |
<script> | |
if ( window.self !== window.parent ) window.parent.location.href = window.location.href; | |
</script> |
This file contains hidden or 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
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css"> | |
<script> | |
//The page element that will be animated on page load. | |
var yourElement = "#lp-pom-image-54"; | |
//The effect that will be applied to your page element. See https://daneden.github.io/animate.css/ for full list. | |
var yourEffect = "slideInUp"; | |
var effectClass = "animated " + yourEffect; | |
$( document ).ready(function() { | |
$(yourElement).show().addClass(effectClass).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){ |
This file contains hidden or 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($) { | |
var ruleID = 'notWebmail'; | |
var field = 'your_email'; | |
var message = 'Your characters are invalid!!!'; | |
var rules = module.lp.form.data.validationRules[field]; |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
<style> | |
/* Replace #lp-pom-button-18 with the ID of your back to top button */ | |
#lp-pom-button-18 { | |
position: fixed; | |
top: auto; | |
left: auto; | |
bottom: 0; | |
right: 0; | |
margin-bottom: 2%; | |
margin-right: 2%; |