Simple Machine Codes
April 18, 2019, 01:19:16 pm
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  

Add Box Under Stats V2

Pages: [1]   Go Down
Author Topic: Add Box Under Stats V2  (Read 679 times)
Agent Moose

Offline Offline

Gender: Male
Posts: 2,672

View Profile WWW
« on: September 15, 2007, 09:14:20 am »

function add_box_stats_v2(){
//Create by Agent Moose (
title = "TITLE"
content = "CONTENT"

$("table:contains(Most On"+"line Today:)").after("<table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='titlebg' colspan='2'>"+title+"</td></tr><tr><td class='windowbg' width='20' align='center'><img src=''/></td><td class='windowbg2' width='100%'><span class='middletext'>"+content+"</span></td></tr></table>");

This just a little update from v1.  the box matches the other boxes above it.  And, it only showes on the index.
« Last Edit: September 28, 2007, 06:49:10 pm by Agent Moose » 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 | Buy traffic for your forum/website

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