1 i need a column ''stat'' for topics and subforums Fri Mar 02, 2012 5:16 pm
medlsc
Registered Member
ankillier the javascript code:
and the following css code is correctly only for the hompage.
I need also the column stat in the subforum and the topics with replies and views.
$(function(){
$('.topiclist .header .topics').text('Stats');
$('.forums .row .topics').each(function(){
var topicsNo = $(this).text().split(" ")[0];
var postsNo = $(this).next('.posts').text().split(" ")[0];
$(this).html('Topics : '+topicsNo+'<br />Posts : '+postsNo);
});
});
and the following css code is correctly only for the hompage.
.topiclist .header .posts , .forums .row .posts {
display:none !important;
}
I need also the column stat in the subforum and the topics with replies and views.