December 08, 2024, 09:44:23 am
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  

[Code] Change "Total time logged in:" Text

Pages: [1]   Go Down
  Print  
Author Topic: [Code] Change "Total time logged in:" Text  (Read 387 times)
DzinestaR
Starter
Starter
Offline Offline

Gender: Male
Posts: 21


View Profile WWW
Badges: (View All)
« on: September 07, 2009, 10:13:13 pm »

Forum Url: http://SMFDesigns.smfforfree3.com

Code Demo!

This code will change the "Total time logged in:" Text to any text you desire, Works in all Browsers slayer766 helped alot with the making of this code.

Footers:

Code:
<script type="text/javascript">
var text = "Your New Text Goes Here!";
var a = document.getElementsByTagName("span");
var b = a.length;
while(b--){
    if(a[b].className == "middletext" && a[b].innerHTML.match("Total time logged in:")){
        a[b].innerHTML=a[b].innerHTML.replace("Total time logged in:",text);
    }
}
</script>



Change
Code:
Your New Text Here!


To your desired text.

Enjoy.

-DzinestaR
Report Spam   Logged

Share on Facebook Share on Twitter



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 © 2016, Simple Machines
Privacy Policy