Author Topic: [Code] Recent Posts Sidebar  (Read 670 times)

0 Members and 0 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
[Code] Recent Posts Sidebar
« on: November 03, 2012, 11:30:45 pm »
Description: Sets a scrollbar to the Recent Posts ezBlock, large enough to show 6 posts at one time. Edit the Recent Posts ezBlock from the ezBlock Manager and set the Number of Posts to show to whatever you want.
This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/

Footers:
Code: [Select]
<script>$("table.table_list:contains('Recent Posts')").children("tbody.content").wrap("<div style='height: 187px; height: 400px; overflow-y: scroll;' />");</script>
« Last Edit: November 03, 2012, 11:33:40 pm by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Share on Facebook Share on Twitter


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
479 Views
Last post September 09, 2011, 12:13:40 am
by Alex
2 Replies
635 Views
Last post March 12, 2012, 02:06:51 pm
by Recoil
4 Replies
645 Views
Last post January 23, 2014, 04:45:03 pm
by CreateAForum
1 Replies
242 Views
Last post September 21, 2019, 12:42:48 am
by CreateAForum
2 Replies
51 Views
Last post February 02, 2021, 03:00:37 pm
by TaoGem