Advertisement
Guest User

JS for Recent Topics Scrollbar (MOD_RECENT_TOPICS)

a guest
Jun 24th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. <!-- Begin scrolling_row -->
  2. {MARQUEE_JS_SRC}
  3. <table class="forumline genmed" width="100%" border="0" cellspacing="1" cellpadding="0">
  4. <tr>
  5. <td class="catLeft" height="25">
  6. <span class="genmed module-title">{L_RECENT_TOPICS}</span>
  7. </td>
  8. </tr>
  9. <tr>
  10. <td class="row1" style="height:{SCROLL_HEIGHT}px;">
  11. <div class="marquee" align="left" data-direction='{SCROLL_WAY}' data-duration='{SCROLL_DELAY}' data-pauseOnHover="true" style="overflow:hidden;height:{SCROLL_HEIGHT}px;">
  12. <!-- Begin recent_topic_row -->
  13. »&nbsp;<a href="{scrolling_row.recent_topic_row.U_TITLE}" title="{scrolling_row.recent_topic_row.L_TITLE}">{scrolling_row.recent_topic_row.L_TITLE}</a><br />
  14. <img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY}&nbsp;
  15.  
  16. <!-- Begin switch_poster -->
  17. <a href="{scrolling_row.recent_topic_row.switch_poster.U_POSTER}">{scrolling_row.recent_topic_row.switch_poster.S_POSTER}</a><br /><br />
  18. <!-- End switch_poster -->
  19.  
  20. <!-- Begin switch_poster_guest -->
  21. {scrolling_row.recent_topic_row.switch_poster_guest.S_POSTER}<br /><br />
  22. <!-- End switch_poster_guest -->
  23. <!-- End recent_topic_row -->
  24. </div>
  25. </td>
  26. </tr>
  27. </table>
  28. <script>
  29. $(".marquee").marquee();
  30. </script>
  31. <!-- End scrolling_row -->
  32. <!-- Begin classical_row -->
  33. <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  34. <tr>
  35. <td class="catHead" height="25"><span class="genmed"><b><center>{L_RECENT_TOPICS}</center></b></span></td>
  36. </tr>
  37. <tr>
  38. <td class="row1" align="left"><div id="recent_topic_list" class="gensmall">
  39. <!-- Begin recent_topic_row -->
  40. » <a href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a><br /><img src="{ICON_TIME}" alt="" />{BY}&nbsp;
  41.  
  42. <!-- Begin switch_poster -->
  43. <a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>
  44. <!-- End switch_poster -->
  45.  
  46. <!-- Begin switch_poster_guest -->
  47. {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
  48. <!-- End switch_poster_guest -->
  49.  
  50. {ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />
  51.  
  52. <!--
  53. <a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</a> {ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />
  54. -->
  55. <!-- End recent_topic_row -->
  56. </div></td>
  57. </tr>
  58. </table>
  59. <!-- End -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement