[quote=peter-pan]
semua
uiy bantuin gua..
napa script js gua kagak mau di show hide ??
nih script na
http://h1.ripway.com/informatika123/tracker/tracker.txt
bantuin gimana cara na agar bisa di show hide kan??
thanks to
all[/quote]
fungsi show hide kamu ada 2 ,coba liat ini [spoiler]function x(){
return;
}
function DoSmilie(addSmilie, messageDef){
var addSmilie, messageDef, revisedMessage;
var currentMessage = document.chat.pst.value;
if(currentMessage==messageDef){currentMessage='';}
revisedMessage = currentMessage+addSmilie;
document.chat.pst.value=revisedMessage;
document.chat.pst.focus();
return;
}
[b]//Mini Maxi BOX ********/
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';
}
}
}[/b]
//Tool Tips
if (typeof document.attachEvent!='undefined') {
window.attachEvent('onload',init);
document.attachEvent('onmousemove',moveMouse);
document.attachEvent('onclick',checkMove); }
else {
window.addEventListener('load',init,false);
document.addEventListener('mousemove',moveMouse,false);
document.addEventListener('click',checkMove,false);
}[/spoiler] ama ini [spoiler]// PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div title=\"header=[TaMU Tak Di UNdaNG ] body=[Hello "+pageViewerFName+". Tuh SemuA KOment Dari Tamu TenTang Siapa PeTer-Pan]\"> TaMU Tak Di UNdaNG </div></a>";
show_hide('content_18');
[b]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';
}
}
}[/b][/spoiler]