Advertisement
sonujoshi

Untitled

Apr 17th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="http://latestontmz.tk/js/libs/jquery.min.js"></script>
  6. <script src="http://latestontmz.tk/js/jquery.op.like2unlock.min.js"></script>
  7. <link type="text/css" rel="stylesheet" href="http://latestontmz.tk/css/jquery.op.like2unlock.min.css" />
  8.  
  9. <!-- Styles for this example, don't copy -->
  10. <style>
  11. /* Styles for this page, don't copy */
  12. body { margin: 0px; padding: 0px; line-height: 170%; padding: 20px; font-family: "Arial" }
  13. h1, h2, h3, h4, h5 { padding: 0px; margin: 20px 0 20px 0; }
  14. a {color: #000;}
  15. p { margin: 8px 0; }
  16. .wrap { width: 700px; margin: auto;}
  17. .notice {background-color: #fffec7; padding: 10px; line-height: 130%;}
  18. .notice-2 {background-color: #f4f4f4; padding: 10px; margin-top: 10px; line-height: 130%;}
  19. #example { padding: 20px 0;}
  20. img.left { float: left; margin: 0 15px 10px 0; }
  21. img.right { float: right; margin: 0 0 10px 15px; }
  22. .ui-locker { margin: 10px 0; }
  23. .short { font-size: 10px; }
  24. </style>
  25.  
  26. <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  27. </head>
  28. <body>
  29.  
  30. <div class="wrap">
  31.  
  32. <a href="#" role="button" class="btn" id="btntrigger" data-toggle="modal"><img src="http://www.fcphp.usf.edu/fcphp_images/Silver-Play-Button.jpg"></a>
  33.  
  34. <!-- Modal -->
  35. <div id="button" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  36. <div class="modal-header">
  37. </div>
  38. <div class="modal-body">
  39.  
  40. <div class="notice-2">
  41.  
  42. </div>
  43.  
  44. <article id="default-usage">
  45. <header>
  46. <h2></h2>
  47. <p></p>
  48. <div class="arrow"></div>
  49. </header>
  50.  
  51. <section class="example example-page">
  52.  
  53. <h4></h4>
  54.  
  55.  
  56. <center>
  57.  
  58. <div class="to-lock" style="display: none;">
  59.  
  60.  
  61.  
  62. <p><strong>This content is unlocked because you have liked our website.</strong><br />
  63. <a target="_blank" href=""></a></p>
  64. </div>
  65.  
  66. <div style="padding: 20px; background-color: #6D84B4; color: #fff; margin-top: 20px; font-style: normal; text-align: justify;">
  67. <strong><u></u></strong>
  68. </div>
  69.  
  70. </div>
  71. </section>
  72. </article>
  73.  
  74. </div>
  75. </div>
  76. <div class="modal-footer">
  77. </div>
  78. </div>
  79.  
  80. <div style="display:none">
  81. <img src="http://whos.amung.us/widget/g7wji48t3xl9/" height="1" width="1">
  82. </div>
  83.  
  84. <script>
  85. $("#btntrigger").click(function(){
  86. $("body").toLike({
  87.  
  88. // a website url or a fanpage to like, leave it empty to use a current page
  89. url: "",
  90.  
  91. // extra css class that will be added to the locker
  92. // ui-locker-facebook-style is one of the preset styles
  93. style: "ui-locker-facebook-style",
  94.  
  95. // text that appears inside the locker
  96. text: "This song is locked. Please press Like and the Confirm to unlock the song.",
  97.  
  98. locker: {
  99. // turns on the strict mode that allows to get the real status of a like button via facebook api
  100. // the soft mode is used by default (a like button status is stored in browser cookies)
  101. // -> read more about these options in the documentation
  102. strict: false },
  103.  
  104. // optional, used only if the option 'strict' is set to true (the strict mode is turned on)
  105. // the plugin will automatically get a page id, but if you want to hasten the locker loading
  106. // set this option manually
  107. // -> read the documentation to learn where to find a page id for your url
  108. pageId: "399447583486040",
  109.  
  110. facebook: {
  111. // your facebook app id here, get it here: https://developers.facebook.com/apps
  112. appId: "158902800939744"
  113. }
  114. });
  115. });
  116.  
  117. </script>
  118.  
  119. </body>
  120. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement