September 17, 2019, 07:55:21 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
Author Topic: Add Box Under Stats V3  (Read 395 times)
Agent Moose
Offline Offline

Gender: Male
Posts: 1,470

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

function add_box_stats_v3(){
//Create by Agent Moose (
var title = "TITLE"
var content = "CONTENT"
var image = ""

$("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>");
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

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
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