SMF For Free Support Forum
Signup For Free Forum
October 11, 2008, 03:03:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Change "Childboard" Text  (Read 997 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 640


Do not PM me for Code Support or Request


View Profile
« on: May 13, 2007, 06:40:59 pm »

Now place this into your Footers Section and change "CHILDBOARD TEXT" to your own text...
Code:
<script>
function childboard_text(){
var Child = "CHILDBOARD TEXT";

var b document.getElementsByTagName("b");
//Created by Agent Moose (smcodes.smfforfree3.com)
for(x=0;x<b.length;x++){
if(b[x].innerHTML.match(/Child Boards/i)){
b[x].innerHTML = b[x].innerHTML.replace(/Child Boards/i,Chilld);
};};};
childboard_text();
</script>

EDIT:
Code Updated.  All Javascript now.
« Last Edit: May 17, 2008, 10:03:39 am by Agent Moose » Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2013


View Profile WWW
« Reply #1 on: May 13, 2007, 09:31:01 pm »

Nice!!!! Just tested it out on my Server 2 site - works like a charm! Smiley

Gooooo Moose Gooooo!!!  Cheesy
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 640


Do not PM me for Code Support or Request


View Profile
« Reply #2 on: May 13, 2007, 10:29:27 pm »

lol, thanks!  I am glad you like it.

Time to go off-topic alittle bit...
Why does it seem like I am the only coder here?  ok, rather than James(WebWorldx), He is really freakin' good at coding...
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2013


View Profile WWW
« Reply #3 on: May 14, 2007, 02:23:12 am »

lol, thanks!  I am glad you like it.

Time to go off-topic alittle bit...
Why does it seem like I am the only coder here?  ok, rather than James(WebWorldx), He is really freakin' good at coding...

Welllllllll..... I would help ya there Moose....but Kimmie don't know nuffin' bout' codin' ... (not unless its C++ or VB...lol) Grin
« Last Edit: May 14, 2007, 02:24:50 am by Kimmieb » Logged

MONF
SMF For Free Member
*
Offline Offline

Posts: 28



View Profile WWW
« Reply #4 on: September 02, 2007, 09:40:27 am »

I like this Cheesy  Cheesy
Logged

WeirdoScape
SMF For Free Newbie
*
Offline Offline

Posts: 4

http://report.smfforfree2.com/index.php


View Profile
« Reply #5 on: May 15, 2008, 03:35:54 pm »

Thanks Moose! Smiley that code is awsome! Cheesy
Logged

http://report.smfforfree2.com/index.php

Go! Or a least be happy =D
eczema3
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #6 on: May 15, 2008, 03:41:03 pm »

I'm alright at Java, not great but i know enough to get about.
Logged

clairebear
SMF For Free Hero
*
Offline Offline

Posts: 522


View Profile
« Reply #7 on: May 16, 2008, 08:53:59 pm »

wow great!!
worked fab
Logged


EyeSpyDesigns
SMF For Free Member
*
Offline Offline

Posts: 31



View Profile
« Reply #8 on: May 18, 2008, 04:41:55 am »

lol, thanks!  I am glad you like it.

Time to go off-topic alittle bit...
Why does it seem like I am the only coder here?  ok, rather than James(WebWorldx), He is really freakin' good at coding...

That would be cause we a lot of us have no friggin clue how to do what you do. LOL! You have a special ability. Wink We all bow in awe of your wit and talent! hehe
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3068


Multi-Tasking Maven


View Profile WWW
« Reply #9 on: May 18, 2008, 05:47:32 am »

Moose, it won't work on my server 2 as of time of this post.  Moved it around the footers, tried different places.  Just doesn't change it.  I know it did work when you first posted it. Could you also post the full html code along with the jquery one?
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.415 seconds with 18 queries.