Hey Guys,
I had this Javascript to change the names in the menu of my forum:
I had this Javascript to change the names in the menu of my forum:
- Code:
$(function() {
changemenu("Início", "INÍCIO");
changemenu("Membros", "MEMBROS");
changemenu("Perfil", "PERFIL");
changemenu("Mensagens privadas", "MENSAGENS");
changemenu("Sair", "SAIR");
changemenu("Login", "ENTRAR");
changemenu("Registrar-se", "CRIAR CONTA");
function changemenu(oldtext, newtext){
var selector = $("ul.linklist.navlinks li a");
for(var i=0; i<selector.size(); i++){
if (selector.eq(i).text()== oldtext){
selector.eq(i).text(newtext);
break;
}
}
}
});
Last edited by ,dArkRay on September 27th 2013, 5:33 pm; edited 1 time in total