March 17, 2010, 05:20:05 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  

Change "Hello" Text


Pages: [1]   Go Down
  Print  
Author Topic: Change "Hello" Text  (Read 417 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
« on: November 07, 2008, 06:55:04 pm »

Footers:
Code:
<script>
var newText = "YOUR TEXT HERE";

var span = document.getElementsByTagName("span");
for(x=0;x<span.length;x++){
if(span[x].innerHTML.match(/hello/i) && span[x].parentNode.classname == "titlebg2"){
span[x].innerHTML = span[x].innerHTML.replace("Hello",newText);
};};
</script>
This codes changes the Hello text at the top of your board.
Just change YOUR TEXT HERE to the text you want Hello to become.  You may use HTML.

Enjoy Smiley
Share Report Spam   Logged


Lawrence
Starter
Starter
Offline Offline

Gender: Male
Posts: 14


Busy, busy, busy...


View Profile
« Reply #1 on: January 02, 2009, 05:56:48 pm »

Are we able to add text after the username too, or would I need a different/new code to do that?
Report Spam   Logged

nickfrik
Newcomers!
Newcomers!
Offline Offline

Posts: 2


View Profile
« Reply #2 on: January 03, 2009, 07:27:38 am »

i dont think so but ok
Report Spam   Logged
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
« Reply #3 on: January 03, 2009, 12:21:46 pm »

Lawrence, you can only change the Hello text.

I'm not quite sure what you mean about adding text after username...like after the Hello part?
Report Spam   Logged


Exilis
Optimistic & Creative
Global Moderator
Global Moderator
Offline Offline

Posts: 929


View Profile
« Reply #4 on: January 03, 2009, 01:01:27 pm »

I think he means make it say "Hello, USERNAME, how are you today?"
Report Spam   Logged

Global Mod, (sort of) at your service.

http://twitter.com/timothyaveni

Lawrence
Starter
Starter
Offline Offline

Gender: Male
Posts: 14


Busy, busy, busy...


View Profile
« Reply #5 on: January 17, 2009, 10:17:19 am »

I think he means make it say "Hello, USERNAME, how are you today?"
Yes that is exactly what I mean, just with different words. Wink
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

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting