October 21, 2018, 04:54:33 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Add Box Under Stats V3

Pages: [1]   Go Down
  Print  
Author Topic: Add Box Under Stats V3  (Read 391 times)
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« on: November 07, 2008, 06:57:09 pm »

Footers
Code:
<script>
function add_box_stats_v3(){
//Create by Agent Moose (smcodes.smfforfree3.com)
var title = "TITLE"
var content = "CONTENT"
var image = "http://www.smfboards.com/Themes2/default/images/icons/online.gif"

$("div#upshrinkHeaderIC table.bordercolor tbody tr:contains(Users Online)").before("<tr><td class='titlebg' colspan='2'>"+title+"</td></tr><tr><td class='windowbg' width='20' align='center'><img src='"+image+"'/></td><td class='windowbg2' width='100%'><span class='middletext'>"+content+"</span></td></tr>");
};
add_box_stats_v3();
</script>
This isn't really under the stats, this is more into the stats.  This will create a box above the Users Online box in the stats.

TITLE = The Title of the Box
CONTENT = The Content for the box

You may change the Image URL to what ever image you want to show on the side.

Enjoy Smiley
Report Spam   Logged


Social Buttons

Mojobojo82
MVP
MVP
Offline Offline

Gender: Male
Posts: 838


View Profile
Badges: (View All)
« Reply #1 on: June 22, 2009, 04:33:48 am »

Cool code.
I'll just keep it as Who's Online
Report Spam   Logged






Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum | Buy traffic for your forum/website

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