if (!addEvent(function() { NAVIGATION.init();})) { window.onload = function() { NAVIGATION.init();};}
if (typeof NAVIGATION == "undefined") { NAVIGATION = {}; }
NAVIGATION = {
className: [],
tagName: [],
className2: [],
tagName2: [],
init: function() {
this.className = this.getModuleByClassName(/firstnav/i)[0];
this.tagName = this.className.getElementsByTagName('ul')[0];
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Inbox/, 'CHANGETHIS');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/My Site/, 'CHANGETHIS');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Contacts/, 'CHANGETHIS');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Groups/, 'CHANGETHIS');
this.className2 = this.getModuleByClassName(/secondnav/i)[0];
this.tagName2 = this.className2.getElementsByTagName('ul')[0];
this.tagName2.innerHTML = this.tagName2.innerHTML.replace(/Post/, 'CHANGETHIS');
this.tagName2.innerHTML = this.tagName2.innerHTML.replace(/Invite/, 'CHANGETHIS');
this.tagName2.innerHTML = this.tagName2.innerHTML.replace(/Search/, 'CHANGETHIS');
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};
Replace the word CHANGETHIS..
And Just save this in your JS Files.
So basically... The Final Code can be like this..
if (!addEvent(function() { NAVIGATION.init();})) { window.onload = function() { NAVIGATION.init();};}
if (typeof NAVIGATION == "undefined") { NAVIGATION = {}; }
NAVIGATION = {
className: [],
tagName: [],
className2: [],
tagName2: [],
init: function() {
this.className = this.getModuleByClassName(/firstnav/i)[0];
this.tagName = this.className.getElementsByTagName('ul')[0];
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Inbox/, 'Home');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/My Site/, 'My Profile');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Contacts/, 'Friends');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Groups/, 'Clan');
this.className2 = this.getModuleByClassName(/secondnav/i)[0];
this.tagName2 = this.className2.getElementsByTagName('ul')[0];
this.tagName2.innerHTML = this.tagName2.innerHTML.replace(/Post/, 'New');
this.tagName2.innerHTML = this.tagName2.innerHTML.replace(/Invite/, 'Check');
this.tagName2.innerHTML = this.tagName2.innerHTML.replace(/Search/, 'Browse');
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};Works in IE6+ and FF2+
Preview: http://xavegoi83.multiply.com/
Last edited by xavierkym (2008-01-12 22:52:47)

|

Nice...
So we can change it for ex...
My Site to My Profile?
|

yeah yeah.. thanks for sharing xavey.. i envy you.. LOLS you know what i mean 
|

Lol's forget about it... yeah...

|

how about the user menu?...
home, video, blog...
pls, reply... 
Last edited by taurus1983 (2008-02-17 18:46:26)

|
^
Try this
if (!addEvent(function() { SUBNAV.init();})) { window.onload = function() { SUBNAV.init();};}
if (typeof SUBNAV == "undefined") { SUBNAV = {}; }
SUBNAV = {
tagName: [],
idName: [],
init: function() {
this.idName = document.getElementById('subnav');
this.tagName = this.idName.getElementsByTagName('div')[0];
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Home/, 'Nanay');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Blog/, 'Tatay');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Photos/, 'Gusto ko');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Video/, 'Tinapay');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Music/, 'Gusto ko');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Reviews/, 'Kape');
this.tagName.innerHTML = this.tagName.innerHTML.replace(/Links/, 'LOLZ!');
}
};
|

A BIG thanks 2 u.. 8's rily working!!!!!!!!!!

|
wow...
thanks again sir xavier you're the coder here??
|

nice job...i already have a tagalog version of my multiply...
|

|

blurrycloud wrote:
Nice...
So we can change it for ex...
My Site to My Profile?
yup. nice!!! my brother locked multiply and i cant even open it! can somone in here help me???
|
is the links the same in friendster..?
like <script src=""></script>
and <link rel="stylesheet" type="text/css" media="screen, print" href="CSS LINK HERE">
|

Thanks for this.

Ni DUi WO DE ZHAO GU TAi ZHOU DAO LE,
|

kewl... 
__________________________
|

i hope there's a CSS code for this trick..
anyway, thanks for this..
ill try to study how to use the js codes..


|