Create A Forum - Support Forums
Support => Create a Forum Codes and Support => Topic started by: aIURbliS 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/ (http://support.createaforum.com/5/jquery-v1-8-update/)
Footers:
<script>$("table.table_list:contains('Recent Posts')").children("tbody.content").wrap("<div style='height: 187px; height: 400px; overflow-y: scroll;' />");</script>