Created
May 15, 2013 17:40
-
-
Save sday222/89412264ebd076c3ccde to your computer and use it in GitHub Desktop.
marketo landing page hack for iframe'n in a form
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" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
// set no conflict mode for jquery | |
var $jQ = jQuery.noConflict(); | |
$jQ(document).ready(function(){ | |
// all form submits will open in a new window | |
$jQ('.lpeRegForm').attr('target','_top'); | |
}); | |
</script> | |
<style type="text/css"> | |
input#mktFrmSubmit { | |
-webkit-border-image: none; | |
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 1px 0px; | |
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FBDC86), to(#F8BF56)); | |
border-bottom-color: #C0830B; | |
border-bottom-left-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-style: solid; | |
border-bottom-width: 1px; | |
border-left-color: #C0830B; | |
border-left-style: solid; | |
border-left-width: 1px; | |
border-right-color: #C0830B; | |
border-right-style: solid; | |
border-right-width: 1px; | |
border-top-color: #C0830B; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-top-style: solid; | |
border-top-width: 1px; | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 1px 0px; | |
color: #C0830B; | |
cursor: auto; | |
display: inline-block; | |
font-family: Varela, Arial, Helvetica, sans-serif; | |
font-size: 13px; | |
font-style: normal; | |
font-variant: normal; | |
font-weight: bold; | |
height: 43px; | |
line-height: 43px; | |
padding-bottom: 0px; | |
padding-left: 50px; | |
padding-right: 50px; | |
padding-top: 0px; | |
text-align: center; | |
text-decoration: none; | |
text-shadow: #FFF 0px 1px 0px; | |
text-transform: uppercase; | |
width: 200px !important; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment