daily pastebin goal
57%
SHARE
TWEET

index.php

a guest May 22nd, 2012 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html dir="ltr" lang="en">
  3. <head>
  4.  
  5. <title> Twitter </title>
  6.  
  7. <style>
  8.  
  9. * { margin: 0; padding: 0; }
  10.  
  11. body {
  12.        
  13. }
  14.  
  15. .tweet {
  16.         position: relative;
  17.         width: 200px;
  18.         height: 200px;
  19.         padding: 25px;
  20.         background: #f1f1f1;
  21.         margin: 25px;
  22. }
  23.  
  24. .tweetTime {
  25.         position: absolute;
  26.         bottom: 0;
  27.         left: 0;
  28.         display: block;
  29.         width: 100%;
  30.         height: 20px;
  31.         background: #ccc;
  32. }
  33.  
  34. </style>
  35.  
  36. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
  37. <script src="jquery.twitter.rt.js"></script>
  38. <script type="text/javascript">
  39. $(document).ready(function() {
  40.         GetTwitterFeedIncRT('mytwitterusername', 1, 'tweet-one');
  41.         GetTwitterFeedIncRT('mytwitterusername', 1, 'tweet-two');
  42. });
  43. </script>
  44. </head>
  45.  
  46. <body>
  47.  
  48. <h1>Twitter Test</h1>
  49.  
  50. <div class="tweet" id="tweet-one">
  51. </div>
  52.  
  53. <div class="tweet" id="tweet-two">
  54. </div>
  55.  
  56. </body>
  57. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top