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
// call the Facebook API | |
message = { | |
name: $(this).attr("data-name"), | |
link: $(this).attr("data-url"), | |
caption: $(this).attr("data-caption"), | |
description: $(this).attr("data-description"), | |
picture: "http://static.punchtab.com/ebay/images/ebay-sharing-image.png", | |
message: "What's in my mind?" | |
} | |
FB.api("me/feed", message, function (response) { |
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
<div style="width: 250px;font-family: 'Open Sans', sans-serif; font-size: 14px; border: 1px solid #DDD; border-radius: 5px; margin: 0 auto;"> | |
<div style="font-weight: bold;"> | |
<div style="color: #fff; overflow: hidden; clear: both; border-top-left-radius: 5px; border-top-right-radius: 5px;background: url(//static.punchtab.com/nd/images/logo-18.png) no-repeat;background-position: 10px 0;background-color: #434343;padding: 5px;"> | |
<div style="text-align: center; float: left; width: 100%;"> | |
My Awesome Giveaway | |
</div> | |
</div> | |
</div> | |
<div style="clear: both; overflow: hidden; position: relative; height: 160px;"> | |
<div style="float: left; width: 100px; position: absolute;"> |
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
(function() { | |
var pages = []; | |
var noLoad = false; | |
for (var i = 0; i < pages.length; i++) { | |
if (document.location.pathname === pages[i]) { | |
noLoad = true; | |
break; | |
} | |
} | |
if (noLoad) { |
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" charset="utf-8"> | |
window.ptReady = window.ptReady || []; | |
window.ptReady.push(function () { | |
var args = PT.serializer.qsDecode(document.location.search); | |
if (args.pt_open !== undefined) { | |
PT.event.trigger('mast.open', {panel: args.pt_open}); | |
} | |
}); | |
</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
var _ptq = _ptq || []; | |
var _punchtab_settings = { | |
key: "2fed406f5ea11a79372eabadfe03aec3", | |
bar: { | |
text:{ | |
loggedOut:"Look for <img src='http://rewards.alexiafoods.com/wp-content/uploads/2012/10/punchtab_share_icon.png'/> to collect more points", | |
}, | |
tweet: { | |
text: "PREFIX " + document.title | |
}, |
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
window.ptReady.push(function () { | |
PT.event.bind('twitter.follow', function (message) { | |
var screen_name = message.screen_name.toLowerCase(); | |
if (screen_name === "<YOUR TWITTER HANDLER>".toLowerCase()) { | |
_ptq.push(['follow', {points: 100}]); | |
} | |
}); | |
}); |
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
<input type='text' name='invite'> |
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
var _punchtab_settings = { | |
key: "<YOUR KEY>", | |
bar: { | |
//url: "<URL TO LIKE/TWEET/+1", | |
tweet: { | |
text: "<YOUR TEXT>" | |
} | |
} | |
}; |
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
var _ptq = _ptq || []; | |
var _punchtab_settings = { | |
key: "<YOUR KEY>", | |
display: "tab" | |
}; | |
(function() { | |
var pt = document.createElement('script'); pt.type = 'text/javascript'; pt.async = true; | |
pt.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.punchtab.com/js/pt.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pt, s); |
OlderNewer