[quote=wongudik]^
so haw show up the code again?
im so confuse..[/quote]
[color=red]update those bold part:[/color]
[quote]if ( ! attachOnLoadHandler(function () { cHeaders();})) window.onload = function () { cHeaders();};
function cHeaders() {
REPLACEIT.init();
}
if (typeof REPLACEIT == "undefined") { REPLACEIT = {}; }
REPLACEIT = {
head: [],
init: function() {
this.head = this.getModuleByClassName([b]/controlpanel/i[/b])[0].getElementsByTagName("h1")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/photos/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/blogs/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/reviews/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/moreabout/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/publiccomments/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/scrapbook/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/friends/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/fanof/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
this.head = this.getModuleByClassName([b]/groups/i[/b])[0].getElementsByTagName("h2")[0];
this.head.innerHTML = "YOUR TITLE NAME";
},
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;
}
};[/quote]