[b]All[/b]
Kok Publicomments aku ngak min/max!
[spoiler]//CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div title=\"header=[My Profile] body=[Hello "+pageViewerFName+". This is My Profile<br><img src='http://photos-250.friendster.com/e1/photos/05/20/73910250/1_671865233l.jpg'>]\">Personal Profile</div></a>";
show_hide('content_0');
//PHOTOS
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div title=\"header=[MY ALBUM PHOTO'S] body=[Hallo "+pageViewerFName+". This is My Album Photo's<br><img src='http://photos-250.friendster.com/e1/photos/05/20/73910250/1_202923630l.jpg'>]\">"+pageOwnerFName+"\'s Photo Gallery</div></a>";
show_hide('content_1');
//MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div title=\"header=[ABOUT ME] body=[Aku itu begini!!!<br><img src='http://photos-250.friendster.com/e1/photos/05/20/73910250/1_436428774l.jpg']\">"+pageOwnerFName+"\'More About "+pageOwnerFName+"</div></a>";
show_hide('content_6');
// PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div title=\"header=[Testimonials] body=["+pageViewerFName+" jgn lupa kirim comments juga yah .]\">Testimonials and Comments for "+pageOwnerFName+"</div></a>";
show_hide('content_18');
function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}[/spoiler]
Kodenya udah bener kayak gini kan!