Simple Machine Codes
March 29, 2024, 02:45:12 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Move Number of Topics into Own Column

Pages: [1]   Go Down
  Print  
Author Topic: Move Number of Topics into Own Column  (Read 203 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: January 24, 2008, 08:04:26 pm »

Footers
Code:
<script>
$("td.windowbg").each(function(){
if(this.innerHTML.match(/(\d+) Topics/i)){
var number = RegExp.$1;
this.innerHTML = this.innerHTML.replace(number + " Topics","");
this.className = "windowbg";
$(this).parent().next("tr").children(".windowbg3").attr("colspan","4")
$(this).before("<td valign='middle' align='center' style='width: 12ex;' class='windowbg'><span class='smalltext'>"+number+" Topics</span></td>");
};});
</script>
This just makes SMF For Free look more like InvisionFree.
Report Spam   Logged

Share on Facebook Share on Twitter



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy