Advertisement
kawaiibuu

redirection theme

Jan 2nd, 2014
1,847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. <html>
  2. <!--
  3.  
  4. pow pow pow redirection theme pow pow pow
  5.  
  6. -->
  7. <head>
  8. <meta name="color:background top" content="#9c9cff"/>
  9. <meta name="color:background bottom" content="#f2c4c4"/>
  10. <meta name="color:window backg" content="#e8e8e8"/>
  11. <meta name="color:window outline" content="#000000"/>
  12. <meta name="color:text" content="#000000"/>
  13. <meta name="image:cursor" content="http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png"/>
  14. <meta name="text:redirection title" content=""/>
  15. <meta name="text:new blog URL" content=""/>
  16.  
  17. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  18. <script type="text/javascript" src="http://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
  19. <script>
  20. (function($){
  21. $(document).ready(function(){
  22. $("[title]").style_my_tooltips();
  23. });
  24. })(jQuery);
  25. </script>
  26.  
  27. <style type="text/css">
  28.  
  29.  
  30. body {
  31. font-size: 11px; font-family: consolas;
  32. background:fixed;
  33. background-image: -o-linear-gradient(bottom, {color:background bottom}, {color:background top});
  34. background-image: -moz-linear-gradient(bottom, {color:background bottom}, {color:background top});
  35. background-image: -webkit-linear-gradient(bottom, {color:background bottom}, {color:background top});
  36. background-image: -ms-linear-gradient(bottom, {color:background bottom}, {color:background top});
  37. background-image: linear-gradient(bottom, {color:background bottom}, {color:background top});
  38. cursor:url('{image:cursor}'), progress !important;
  39. }
  40.  
  41. a {
  42. text-decoration: none; cursor:url('{image:cursor}'), progress !important;
  43. }
  44.  
  45.  
  46. #content {
  47. cursor:url('{image:cursor}'), progress !important;
  48. width:150px;
  49. color: {color:text};
  50. margin: 100px auto;
  51. background: {color:window backg};
  52. border: 1px outset {color:window backg};
  53. outline: 1px solid {color:window outline};
  54. padding: 5px;
  55. -webkit-box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 1);
  56. -moz-box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 1);
  57. box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 1);
  58. }
  59.  
  60. #box {
  61. width: 5px; height: 5px; background: {color:window backg};
  62. border: 1px outset {color:window backg}; float:right;
  63. outline: 1px solid {color:window outline};
  64.  
  65. }
  66.  
  67. #s-m-t-tooltip {
  68. z-index: 99999999999999999999999999999999999999999999;
  69. letter-spacing:1.5px;
  70. padding: 2px;
  71. padding-left: 3px;
  72. text-align:center;
  73. color: {color:text};
  74. word-break: break-word;
  75. max-width: 140px;
  76. font-size: 8px;
  77. text-transform:uppercase;
  78. display:block;
  79. margin:10px 10px 10px 10px;
  80. margin-left: 20px;
  81. -webkit-box-shadow: 0px 0px 0px 1px rgba(50, 50, 50, 1);
  82. -moz-box-shadow: 0px 0px 0px 1px rgba(50, 50, 50, 1);
  83. box-shadow: 0px 0px 0px 1px rgba(50, 50, 50, 1);
  84. border-radius: {text:border radius};
  85. border: 1px outset {color:window backg};
  86. background-color: {color:window backg};}
  87.  
  88.  
  89. </style>
  90.  
  91. <script type="text/javascript">
  92. // <![CDATA[
  93. var news=Array("{text:redirection title}");
  94. var cursor=">"; // set cursor
  95. var delay=5; // seconds between each news item
  96.  
  97. /***************************\
  98. * News Ticker Text Effect *
  99. *(c) 2004-6 mf2fm web-design*
  100. * http://www.mf2fm.com/rv *
  101. * DON'T EDIT BELOW THIS BOX *
  102. \***************************/
  103. var newsp, cursp, flash, item=0;
  104. window.onload=function() { if (document.getElementById) {
  105. var span=document.getElementById("news");
  106. while (span.childNodes.length) span.removeChild(span.childNodes[0]);
  107. delay*=1000;
  108. newsp=document.createElement("span");
  109. cursp=document.createElement("span");
  110. cursp.appendChild(document.createTextNode(String.fromCharCode(160)+cursor));
  111. span.appendChild(newsp);
  112. span.appendChild(cursp);
  113. ticker();
  114. }}
  115.  
  116. function ticker() {
  117. var i;
  118. while (newsp.childNodes.length) newsp.removeChild(newsp.childNodes[0]);
  119. newsp.appendChild(document.createTextNode(news[item].substring(0,1)));
  120. for (i=1; i<news[item].length; i++) setTimeout('newsp.firstChild.nodeValue="'+news[item].substring(0, i+1)+'"', 100*i);
  121. if (news[item].indexOf("www")!=-1) setTimeout('linkit('+item+')', 100*i);
  122. setTimeout('flash=setInterval("cursp.style.visibility=(cursp.style.visibility==\'visible\')?\'hidden\':\'visible\'", 234)', 100*i)
  123. setTimeout('clearInterval(flash)', delay);
  124. setTimeout('cursp.style.visibility="visible"', delay);
  125. setTimeout('ticker()', delay);
  126. item=++item%news.length;
  127. }
  128.  
  129. function linkit(q) {
  130. var a,p,e,l;
  131. p=news[q].indexOf("www");
  132. e=news[q].indexOf(" ", p);
  133. if (e==-1) e=news[q].length;
  134. l=news[q].substring(p, e);
  135. while (newsp.childNodes.length) newsp.removeChild(newsp.childNodes[0]);
  136. newsp.appendChild(document.createTextNode(news[q].substring(0, p)));
  137. a=document.createElement("a");
  138. a.href="http://"+l;
  139. a.appendChild(document.createTextNode(l));
  140. newsp.appendChild(a);
  141. newsp.appendChild(document.createTextNode(news[q].substring(e)));
  142. }
  143. // ]]>
  144. </script>
  145.  
  146. </head>
  147. <body>
  148. <div id="content">
  149. <a href="http://jubileethemes.tumblr.com" title="theme credit"><div id="box"></div></a>
  150. <br>
  151. <a href="{text:new blog url}" title="new url"><span id="news"></span>
  152. </a>
  153.  
  154.  
  155. </div>
  156. </body>
  157. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement