Skip to content

Instantly share code, notes, and snippets.

@padicode
padicode / padiact.css
Last active December 24, 2015 07:09
PadiAct Custom Design CSS sample
.padiOverlay {
position: fixed;
left: 0px;
top: 0px;
padding: 0px;
margin: 0px;
visibility: visible;
overflow-x: hidden;
overflow-y: auto;
@padicode
padicode / file.html
Created October 2, 2013 15:31
PadiAct JavaScript Sample
<!-- PadiAct Code -->
<script type="text/javascript">
(function() {
var pa = document.createElement('script'), ae = document.getElementsByTagName('script')[0]
, protocol = (('https:' == document.location.protocol) ? 'https://' : 'http://');pa.async = true;
pa.src = protocol + 'd2xgf76oeu9pbh.cloudfront.net/XXXXXXXXXXXXXXXXXXXXXXXXX.js'; pa.type = 'text/javascript'; ae.parentNode.insertBefore(pa, ae);
})();
</script>
@padicode
padicode / gist:0e379659feb7d8bf1148
Last active August 29, 2015 14:04
PadiAct Subscribe AdWords JavaScript Hook
<script type="text/javascript">
window.nrlskOnEvent = function(padiact)
{
if (padiact.type=='subscribe')
{
var google_conversion_id = XXXXXXXXXX; //replace with your value
var google_conversion_label = "XXXXXXXXXXXXXX"; //replace with your value
var image = new Image(1,1);
image.src = "http://www.googleadservices.com/pagead/ conversion/"+google_conversion_id+"/?label="+google_conversion_label+"&script=0";
}