[quote=rooney mumu]help me...[/quote]
Coba begini bro
Yg bagian ini dihapus
[quote]var java = document.createElement("script");
java.type = "text/javascript";
java.src = "http://h1.ripway.com/rooney86/Rooney/baru.js";
document.getElementsByTagName("head")[0].appendChild(java);[/quote]
Itu gak perlu soalnya udah jd js utama kamu
Lalu bagian yg ini :
[quote]// FRIENDS
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>";
show_hide('content_2');
// GROUPS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>"+pageOwnerFName+"\'s Groups</div></a>";
show_hide('content_8');[/quote]
Sama yg ini :
[quote]//SLIDE PHOTO
var slodde = "<embed src=\"http://widget-8d.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"=cy=ms&il=1&channel=648518346372658641&site=widget-8d.slide.com\" style=\"width:80%;height:100px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:80%;text-align:center;\"><a href=\"http://www.friendster.com/photos/50479881\" target=\"_blank\"><b>View All</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=50479881\" target=\"_blank\">Upload for Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";[/quote]
Kamu taruh di bagian B (onload handler)
Ntar diliat hasilnya
Last edited by strezzpc (2008-06-27 14:26:10)