Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. <script type="text/javascript">
  2. var news_title = "Announcements!";
  3. var scroll_speed = 2;
  4. if(window.location==main_url + "index/"){
  5. document.write('<style>.editby{display:none;}</style>');
  6. var topic_id = "8002879";
  7. $.get(main_url + "topic/" + topic_id + "/1/",function(Q){
  8. $("div.category:first").prepend('<div id="News" style="margin-bottom:15px;"><div class="category"><table class="cat_head"><tbody><tr><td><h2>' + news_title + '</h2></td></tr></tbody></table><table cellpadding="0" cellspacing="0"><tbody><tr><td style="width: 75%;" valign="center"><marquee direction="up" onmouseover="this.stop();" onmouseout="this.start();" scrollamount="'+scroll_speed+'">' + $(".c_post:first",Q).html() + '</marquee></td></tr></tbody></table></div></div>');
  9. });
  10. }
  11. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement