Last edited by frolickfriendster (2007-12-03 23:56:52)
also from Refresh/reloads tutorial...
I did that too, inserted outside tracker script but then you have to put the onload handler then I learned that to avoid conflicts, better to use just one onload handler in which case, putting the other codes below onload handler of wvm...
sis..offtopic:got to log out for now...watch the season 2 finale of Heroes
but i got some problem.. the code work in box control panel and blog but not work in another box.. any one van hel me??
but i got some problem.. the code work in box control panel and blog but not work in another box.. any one van hel me??[/quote]
try to check your [b]division id's[/b]
but i got some problem.. the code work in box control panel and blog but not work in another box.. any one van hel me??[/quote]
Make sure you remove any header codes for boxes you are hiding.
im so confuse..
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]
in moreabout, friend and comment box the code not work... i was check it out
i acnt fix this ..
in moreabout, friend and comment box the code not work... i was check it out
i acnt fix this ..[/quote]
Humm this is what I see.
More About Me = More About Alie
Comment = Comments and Testimonials for Alie
Friend = Alie's Friends
Yahoo Status = Box Up
Who View Me Lie?
You do not see these when you view?
in moreabout, friend and comment box the code not work... i was check it out
i acnt fix this ..[/quote]
Humm this is what I see.
More About Me = More About Alie
Comment = Comments and Testimonials for Alie
Friend = Alie's Friends
Yahoo Status = Box Up
Who View Me Lie?
You do not see these when you view?[/quote]
Post that part of ur codes here we can see and help.