Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Code Requests
  • Completed Requests
  • [Completed] [IF] Rename Board Statistics
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
[Completed] [IF] Rename Board Statistics
Tweet Topic Started: Oct 15 2009, 04:50 PM (192 Views)
Keith Howard Oct 15 2009, 04:50 PM Post #1


Posts:
38
Group:
Member
Member
#3,349
Joined:
Jul 23, 2009
I've looked all over for a code that would be able to do it. I found one, but it didn't work. Thanks for your help.
Offline Profile Goto Top
 
RedBldSandman Oct 15 2009, 05:02 PM Post #2
Member Avatar
ZIPPY!

Posts:
482
Group:
Coding Staff
Member
#2,122
Joined:
Jan 25, 2009
Code:
 
<script type="text/javascript">
var Stats = "NEW TITLE"

var arr_m = document.getElementsByClassName("maintitle")
var arr_ml = arr_m.length
for (i=0;i<arr_ml;i++) {
if (arr_m[i].innerHTML=="Board Statistics") {
arr_m[i].innerHTML = Stats
break;
}
}
</script>
Just change the NEW TITLE to whatever you wish to be the new title :P This should work, but I haven't tested it xD
Posted Image
"To iterate is human, to recurse divine."

Offline Profile Goto Top
 
Keith Howard Oct 15 2009, 05:25 PM Post #3


Posts:
38
Group:
Member
Member
#3,349
Joined:
Jul 23, 2009
It works very nicely, thank you very much.
Offline Profile Goto Top
 
Reid Oct 15 2009, 06:26 PM Post #4
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
You're welcome.
See? We can read thoughts too. ;)

Your request has been completed, and we're moving it to the correct forum. We hope it works for you; if it doesn't, feel free to post another request topic in the requests forum. Just remember: read the rules first!

Thanks,
The ZBCode Staff
The Resource Board
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Completed Requests · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 2:27 PM Jul 11
Hosted for free by ZetaBoards · Privacy Policy