Advertisement
geten

marquee page title

Dec 7th, 2024 (edited)
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.42 KB | None | 0 0
  1. /* PASTE THIS INTO config > page template ; delete this text later! */
  2. <div
  3.     id="editor-tab-preview"
  4.     class="card round secondary tab-container secondary round"
  5.     style="height: max-content; max-height: initial; margin-bottom: 0px;"
  6. >
  7.     {{{ content }}}
  8.  
  9. <div class="flex justify-space-between g-4 full" id="paste-info-box">
  10.     <div class="flex g-4 flex-wrap">
  11.         {{{ edit_button }}}
  12.         {{{ config_button }}}
  13.     </div>
  14.     <div class="flex flex-column g-2" style="color: var(--text-color-faded); min-width: max-content; align-items: flex-end;">
  15.         <span class="flex g-4" id="paste-info-pub">
  16.             Pub: <span class="date-time-to-localize">{{ pub_date }}</span>
  17.         </span>
  18.         <span class="flex g-4" id="paste-info-edit">
  19.             Edit: <span class="date-time-to-localize">{{ edit_date }}</span>
  20.         </span>
  21.         <span id="paste-info-owner">
  22.             Owner: {{{ owner_button }}}
  23.         </span>
  24.  
  25.         <span id="paste-info-views">Views: {{ views }}</span>
  26. </div>
  27. </div>
  28.     <html lang="en">
  29. <head>
  30. <meta charset="UTF-8">
  31. <title>★</title>
  32. <script type="text/javascript">
  33. message = "whatever text you want ; make sure to put a space at the end or itll look goofy. ";
  34. function step() {
  35. message = message.substr(1) + message.substr(0,1);
  36. document.title = message.substr(0,15);
  37. }
  38. </script>
  39. </head>
  40. <body onload="setInterval(step,100)">
  41. </body>
  42. </html>
  43. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement