pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin - collaborative debugging tool View Help


Posted by fosk on Fri 11 Apr 15:08
report abuse | download | new post

  1. /* PASTE THESE LINES IN THE CSS SECTION OF YOUR THEME */
  2. .shuffle {
  3.     position: fixed;
  4.     top: 3px;
  5.     left: 3px;
  6.     margin: 0;
  7.     padding: 0;
  8.     _position: static;
  9.     _margin: 3px;
  10.     _text-align: right;
  11.     z-index: 1;
  12. }
  13. .shuffle a img {
  14.     border: 0;
  15. }
  16.  
  17.  
  18.  
  19. <!-- PASTE THESE LINES SOMEWHERE IN THE BODY HTML -->
  20.  
  21. <script type="text/javascript">
  22. function shuffle() {
  23.   var s1='<p class="shuffle"><a href="http://YOUR-TUMBLR-NAME.tumblr.com/';
  24.   var s2='</a></p>';
  25.   Total=0+64;
  26.   if(Total>0) {
  27.       var r=Math.ceil(Math.random() * Total);
  28.       document.write(s1+'page/'+r+'">'+'<img src="http://data.tumblr.com/OY9NpboAI1s7qus3Dvw52nRC_500.png" width="70" height="20">'+s2);
  29.   }
  30. }
  31. shuffle();
  32. </script>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me