2008-10-04 06:10:52

y4sir
» FTalkFreak
FTalk Level: zero
1976
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

:arrow: astrid coba yang d bold d hpus dri css kmu [spoiler][quote][b]//onload handler function onProfileLoad() { //addboxes here[/b]td, tr{ direction:rtl} .controlpanel, .photos, .blogs, .reviews, .moreabout, .testimonials, .publiccomments, .scrapbook, #cpShoutoutBox, .controlpanel .q, .controlpanel .data, .user_tracker, p{ direction:ltr} .commonbox { border-width: 4px; border-color: #000000!important; border-style: solid!important; -moz-border-radius: 30px!important; } #content_14 {display:none!important} #content_14 {visibility:hidden!important} #navigation { background:url('http://i277.photobucket.com/albums/kk54/butidh/dee.jpg') no-repeat; height:200px ! important; opacity:0.90! important; -moz-opacity:0.90! important; filter:alpha(opacity=100)! important; } #logo { float: right !important; position:relative;right:2px; position:relative;top:280px; } #ads_2_3 { display:none; } #navigation div { background-image:url('none') !important; background-color:transparent! Important ; } #marketing_bg { display:none; } #search { display:none; } #search form { display:none; } #navLang { display: none ! important } #subnav { display:none; } #navdivider { display:none; } .banner_ad_fix { display:none; } /* Hide Recent Updates */ .user_tracker {display:none!important;} #logo {display:none!important;} #navigation { position: relative; left: 300px!important; } /* FriendsterMagic - remove top banner */ .banner_ad_fix{display:none;} /* FriendsterMagic - remove logo */ #logo {display:none;background:transparent;} /* FriendsterMagic remove search form*/ #search {display:none;background:transparent;} #search form {display:none;background:transparent;} /* FriendsterMagic - hide the connection box */ .meettrail{display:none;background:transparent;} /* FriendsterMagic - hide google ads */ #content_14 {display:none!important;} /* FriendsterMagic - hide report abuse */ #reportabuse{display:none;} /* FriendsterMagic - remove featured sponsor */ #marketing_bg{display:none;background:transparent;} /*KHER IMAGE EFFECT*/ a:hover img { filter:alpha(Opacity=100,FinishOpacity=0,Style=2); } A:hover img{filter:alpha(finishopacity=0, style=2)} div.imgblock200 { background:url(http://i277.photobucket.com/albums/kk54/butidh/asiik-2.gif); background-position: center center; background-repeat: no-repeat; height:320px; width:240px; } div.imgblock200 img {display:none !important} #controlpanelbuttons a {width:202px!important;background-image: url(URL IMAGE KAMU)!important;background-repeat: no-repeat ; background-attachment:fixed; background-position:center center;height:18px!important;border-width:none!important;border-color:none!important;border-style:none!important} /* CENTER PROFILE TEXT AND CONTENTS */ body,td,tr,div,p { text-align: center; } .myfans {display:none;} .fanof {display:none;} /* Groups */ .groups {display:none!important;} /* SCROLLING PUBLICCOMMENTS BOX */ #content_18 { padding: 2px 2px 2px 2px; overflow: auto; width: 510px; height: 250px; background-image: url(); background-attachment: fixed; background-position: center; background-repeat:repeat; background-color: transparent; } /* PUBLICCOMMENTS CONTENT SCROLLINGBOX */ .publiccomments div div .dtd { width: 100%; } .publiccomments div div .dtd ul { padding: 2px 2px 2px 2px; overflow: auto; border: 2px dashed #ce4424; width:380px; height: 100px; background-color:transparent; background-image: url(); background-position: center; background-repeat: repeat; }[/quote] [/spoiler] liat kode js kmu dweh :thumbsdown: [spoiler][quote]//welcome alert alert("hi kamu "+pageViewerFName+""); alert(""+pageViewerFName+" jangan bosen mampir ke fs qqu yyah!"); //goodbye alert function goodbye(){ alert('dadah '+parent.pageViewerFName+' !'); alert("jangan lupa mampir lagi ya!"); } parent.window.onunload=goodbye; // quick comment var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = " http://h1.ripway.com/atid/smile.txt "; document.getElementsByTagName("head")[0].appendChild(myjs); //css injection var v=document.createElement('link'); v.rel='stylesheet'; v.media='screen, print'; v.href=' http://h1.ripway.com/atid/css komplit.css'; navigation.appendChild(v); //Created by Title bar Maker (http://www.bosiljak.hr/titlemaker) function tb8_makeArray(n){ this.length = n; return this.length; } tb8_messages = new tb8_makeArray(1); tb8_messages[0] = "butidh oh butidh"; tb8_rptType = 'infinite'; tb8_rptNbr = 5; tb8_speed = 100; tb8_delay = 2000; var tb8_counter=1; var tb8_currMsg=0; var tb8_tekst =""; var tb8_i=0; var tb8_TID = null; function tb8_pisi(){ tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1); document.title = tb8_tekst; tb8_sp=tb8_speed; tb8_i++; if (tb8_i==tb8_messages[tb8_currMsg].length){ tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay; } if (tb8_currMsg == tb8_messages.length){ if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){ clearTimeout(tb8_TID); return; } tb8_counter++; tb8_currMsg = 0; } tb8_TID = setTimeout("tb8_pisi()", tb8_sp); } tb8_pisi() [color=red]/********* MINI VIEWER ***********/ if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();}; function mainVpic() { if(pageViewerID!="") SPAWNPIC.init(); } function getRegExpDetails(mypic) { if(!mypic) { SPAWNPIC.getCode(); return; }else { for (val in SPAWNPIC.info) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); }catch(e) { SPAWNPIC.info[val] = ""; } } if(pageViewerID != "") SPAWNPIC.openForm(); } } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { viewerphoto: [], info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/, photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/, status: /data">((.|\s)+?)<\/span><\/li>/, since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/, location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/ }, content: { id: "viewerphoto", sibling: "15" }, init: function() { this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1"); }, openForm: function() { this.viewerphoto = "<div class='fitem1wrapper'>"+ "<table class'fitem1table'>"+ "<tr>"+ "<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+ "</td>" + "<td class='dtd'>"+ "<ul class='data'>"+ "<div class='title'>" + "<li>"+ "<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+ "<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+ this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+ "</div>" + "</ul>"+ "</td>"+ "</tr>"+ "</table>"+ "</div>"; this.addContent("hi!welcome "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling); }, ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) { eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');"); eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}"); eval(xmlHttp + ".open('GET','" + base_domain + "',true);"); eval(xmlHttp + ".send(null);"); }, addContent: function(header,cont,id,sibling) { var box = document.getElementById(sibling).parentNode; try { var obj = document.createElement("LI"); }catch(e) { var obj = document.createElement("<LI>"); } obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+ "<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+ "<div id='content_"+id+"'>"+cont+"</div>"+ "</div>"; box.parentNode.insertBefore(obj,box); } };[/color] <!-- // If it is not IE, we assume that the browser is NS. var IE = document.all?true:false // If NS -- that is, !IE -- then set up for mouse capture if (!IE) document.captureEvents(Event.MOUSEMOVE) // Set-up to use getMouseXY function onMouseMove document.onmousemove = getMouseXY; // Temporary variables to hold mouse x-y pos.s var TempX = 0 var TempY = 0 var State = 0; var J = 0; var Text = 'a t i d'; var rangeY = Array(-5,-4,-3,-2,-1,0,2,3,4,5); function create() { for(I=0;I<Text.length;I++) { MySpace = document.createElement('div'); MySpace.id = 'Shadow'+I; MySpace.innerHTML = Text.substr(I,1); MySpace.style.top = 100; MySpace.style.left = 100+(20*I); MySpace.style.position = 'absolute'; MySpace.style.color = '#000000'; document.getElementsByTagName('body')[0].appendChild(MySpace); } } function getMouseXY(e) { if (IE) { // grab the x-y pos.s if browser is IE TempX = event.clientX + document.body.scrollLeft TempY = event.clientY + document.body.scrollTop } else { // grab the x-y pos.s if browser is NS TempX = e.pageX TempY = e.pageY } // catch possible negative values in NS4 if (TempX < 0){TempX = 0} if (TempY < 0){TempY = 0} if(State == 0) { State = 1; create(); flag(); } return true } function flag() { for(J = 0;J < Text.length; J++) { MySpace = document.getElementById('Shadow'+J); MySpace.style.top = TempY + rangeY[Math.floor(Math.random() * rangeY.length)]; MySpace.style.left = TempX + 20 + (J*20); } setTimeout('flag()', 100); } function rePost(){ document.getElementById("1").parentNode.appendChild(document.getElementById("2")); } setTimeout("rePost()",1000); //SLIDE SHOW PHOTO function embed(){ var slodde = "<embed src=\"http://widget-2f.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=un&il=1&channel=2810246167487441711&site=widget-2f.slide.com\" style=\"width:97%;height:150px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/22926308\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=15054731\" target=\"_blank\">Submit Photo</b></a></div>"; document.getElementById('content_1').style.height='97%'; document.getElementById('content_1').style.overflowY='hidden'; document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>"; }setTimeout("embed()",10000); /* Control Panel Data */ document.getElementById("0").getElementsByTagName("ul")[1].innerHTML= "<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187887781477.gif\"><font face=\"arial\"><blink> astrid uchuld . hwahahaha~ </blink></span><br></li>"+ "<li><span class=\"q\">perempuan cantq, 16, indahnian<br></li>"+ "<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187887538599.gif\">baik , rajin , tidak sombong dan rajin menabung .<br></li>"+ "<li><span class=\"q\">member since : </span>tahunduaribulima<br></li>"+ "<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187887943782.gif\">myhome sweet home : </span>dunia hailan dunia impian <br></li>"+ "<li><span class=\"q\">Last Login : </span>stu detik yg lalu~<br></li>"+ "<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187888294130.gif\">my id : </span>"+pageViewerID+"</br></li>"+ "<li><span class=\"q\">mein name : </span>"+pageViewerFName+"</br></li>"+ "<li><span class=\"q\"><img src=\"http://cinta.kaskusradio.com/panda/smiley/1187888078604.gif\">My Link : </span><br><br><a style=\"font-weight: normal;\" href=\"http://profiles.friendster.com/menwurld\">http://www.friendster.com/menwurld</a><br></li>"; [color=green]// MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>tentangqu si ASTRID</div></a>"; show_hide('content_6');[/color][/quote] [/spoiler] yang merah mw d troh dimana ??? k pake g tuch ??? trus kode yang ijo kurang kode function show hide na tuch nich kode na :thumbsdown: [spoiler]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]

Last edited by y4sir (2008-10-04 06:17:25)

Board footer

© 2024 F Talk

Current time is 08:41

[ 12 queries - 0.201 second ]
Privacy Policy