Creating a centered fixed header or footer menu on Unbounce
Follow the full instructions here: https://getsatisfaction.com/unbounce/topics/creating_a_fixed_header_menu
<script>
//Fixed Menu (Header or footer) v1.3.1
<style> | |
.lp-pom-form, .lp-pom-form.lp-pom-button{ | |
visibility:hidden; | |
} | |
/*some sample styling*/ | |
/* .conversational-form cf-chat-response.robot text { | |
font-size: 14px; | |
} | |
.conversational-form cf-chat-response.user text { |
<style> | |
.done {color: tomato !important;} | |
</style> |
<style> | |
/* Update these color values to change the appearance of your 'active' tab */ | |
.active{ | |
color: rgb(255, 79, 79) !important; | |
background: #ddd !important; | |
} | |
</style> |
<style> | |
#container { | |
margin-top: -45px; | |
width: 100%; | |
height: 8px; | |
position: relative; | |
} | |
.lp-form-errors{ | |
display: none !important; | |
} |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> | |
<script> | |
//Replace with ID of your collapsible page section | |
var toggleSection = $('#lp-pom-block-9'); | |
//Replace with ID of box containing hidden/visible content | |
var toggleContent = $("#lp-pom-box-16"); | |
//Replace with ID of button that toggles section | |
var toggleButton = $("#lp-pom-button-14"); | |
// Height of section to show/hide |
<script> | |
(function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|je |
<style> | |
/* Replace with your 'close' button ID */ | |
#lp-pom-button-16 { | |
display:none; | |
} | |
.lp-pom-video{ | |
transition:all 0.4s linear; | |
} | |
.smallVid { |
<style> | |
.typed-cursor{ | |
opacity: 1; | |
-webkit-animation: blink 0.7s infinite; | |
-moz-animation: blink 0.7s infinite; | |
animation: blink 0.7s infinite; | |
} | |
@keyframes blink{ | |
0% { opacity:1; } | |
50% { opacity:0; } |
Be sure to first change your forms confirmation to 'Goto another webpage' and set a default fallback URL
Drop this script into your javascript box. Set the placement to 'before body end tag'
<script>
$("#gender").live('change', function() {
switch ($(this).val()) {