Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
|
|
« on: November 04, 2007, 03:11:54 pm » |
|
Footers <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
|
|
« Last Edit: May 12, 2008, 02:50:11 pm by Agent Moose »
|
Report Spam
Logged
|
|
|
|
|
Agent Moose Jr.
Ultra Contagious
Global Moderator
Offline
Gender:
Posts: 1,045
|
|
« Reply #1 on: January 04, 2008, 01:19:02 pm » |
|
nice job
|
Newest:
|
|
|
|
Myrtle
The Girl With The Forum.
100 Club Member
Offline
Gender:
Posts: 480
Death Note(Credits to Kai): Myrtle_Gail, Myr-chan
|
|
« Reply #2 on: February 05, 2008, 09:17:44 am » |
|
Thanks, I really would like to use this.
|
|
|
|
Agent Moose Jr.
Ultra Contagious
Global Moderator
Offline
Gender:
Posts: 1,045
|
|
« Reply #3 on: February 05, 2008, 02:22:16 pm » |
|
yes this is a really cool code!
|
Newest:
|
|
|
Myrtle
The Girl With The Forum.
100 Club Member
Offline
Gender:
Posts: 480
Death Note(Credits to Kai): Myrtle_Gail, Myr-chan
|
|
« Reply #4 on: February 07, 2008, 07:37:48 am » |
|
This Code works great Thanks
|
|
|
|
Myrtle
The Girl With The Forum.
100 Club Member
Offline
Gender:
Posts: 480
Death Note(Credits to Kai): Myrtle_Gail, Myr-chan
|
|
« Reply #5 on: March 25, 2008, 11:04:21 am » |
|
Moose how can I do it with multiple images. Please check my code. Thanks! <script> function add_box_stats_v3(){ //Create by Agent Moose (smcodes.smfforfree3.com) $(function(){ title = "Navigator" content = "<a href="http://angelicum.smfforfree3.com/index.php"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/homepage.gif"> </a>
<a href="http://angelicum.smfforfree3.com/index.php?action=forum"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forum.gif"> </a>
<a href="http://angelicum.smfforfree3.com/index.php/board,1.0.html"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forumrules.gif"> </a>
<a href="http://angelicum.smfforfree3.com/index.php?action=Chat"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/chat.gif"> </a>" 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>
|
|
|
|
Celebrus
Artificially Conscious
Administrator
Offline
Gender:
Posts: 1,337
aka Omikron
|
|
« Reply #6 on: March 25, 2008, 11:24:43 am » |
|
<script> function add_box_stats_v3(){ //Create by Agent Moose (smcodes.smfforfree3.com) $(function(){ title = "Navigator" content = '<a href="http://angelicum.smfforfree3.com/index.php"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/homepage.gif"></a><a href="http://angelicum.smfforfree3.com/index.php?action=forum"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forum.gif"></a><a href="http://angelicum.smfforfree3.com/index.php/board,1.0.html"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/forumrules.gif"></a><a href="http://angelicum.smfforfree3.com/index.php?action=Chat"><img src="http://i295.photobucket.com/albums/mm148/Myrtleaps/chat.gif"></a>'; 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> Try that.
|
|
|
|
Myrtle
The Girl With The Forum.
100 Club Member
Offline
Gender:
Posts: 480
Death Note(Credits to Kai): Myrtle_Gail, Myr-chan
|
|
« Reply #7 on: March 25, 2008, 11:56:24 am » |
|
thank You so much Omikron.
|
|
|
|
Myrtle
The Girl With The Forum.
100 Club Member
Offline
Gender:
Posts: 480
Death Note(Credits to Kai): Myrtle_Gail, Myr-chan
|
|
« Reply #8 on: March 25, 2008, 12:06:09 pm » |
|
By The way how can I change this Icon? to this Icon2
|
|
« Last Edit: March 25, 2008, 12:06:46 pm by Myrtle »
|
Report Spam
Logged
|
|
|
|
Epic Lulz
Epic Lulzer
100 Club Member
Offline
Gender:
Posts: 509
AWWWWWWWWWWWWYEAAAH
|
|
« Reply #9 on: March 25, 2008, 12:18:53 pm » |
|
Can you give an example of this?
|
|
|
|
Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
|
|
« Reply #10 on: March 25, 2008, 03:31:43 pm » |
|
Change the URL in this line: image = "http://www.smfboards.com/Themes2/default/images/icons/online.gif" to the image you want.
|
|
|
|
Epic Lulz
Epic Lulzer
100 Club Member
Offline
Gender:
Posts: 509
AWWWWWWWWWWWWYEAAAH
|
|
« Reply #11 on: March 25, 2008, 04:47:42 pm » |
|
I still don't get it.
|
|
|
|
Myrtle
The Girl With The Forum.
100 Club Member
Offline
Gender:
Posts: 480
Death Note(Credits to Kai): Myrtle_Gail, Myr-chan
|
|
« Reply #12 on: March 26, 2008, 12:23:09 am » |
|
Thank Moose! Really appreaciated
|
|
|
|
robo123
Starter
Offline
Posts: 24
|
wow this is an awesome code, thanks
|
|
|
|
yurmomshot3
Members
Offline
Posts: 42
|
Whats this code do?
|
|
|
|
|
|