Last active
October 4, 2015 14:57
-
-
Save mehdimehdi/2656418 to your computer and use it in GitHub Desktop.
PollDaddy example
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
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript" charset="utf-8"> | |
var pd_callback = function( json ) { | |
var obj = jQuery.parseJSON( json ); | |
if ( obj.result == 'registered' ) { | |
_ptq.push(['vote',{points:100}]);// give 100 points when user votes | |
} | |
}; | |
</script> | |
<div id="container"> | |
<script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/6088289.js"></script> | |
<noscript><a href="http://polldaddy.com/poll/6088289/">What kind of wine do you like the most</a></noscript> | |
</div> <!--! end of #container --> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment