2008-03-15 19:34:08

sahabat.peterpan
» FTalkWhiz
FTalk Level: zero
2815
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=diela][quote=KaNaLiTnUk][quote=diela]btw . fs adek aku jsnya kok ndak jalan yak ??? nih linker yg dia pakek :thumbsdown: url fs dia : [url]http://profiles.friendster.com/ahoinhere[/url] kalo ada yang bisa bantu . mohon bantuannya :penguin: :penguin: :penguin:[/quote] Ripwaymu terbaca di status barnya dan itu berarti linkernya jalan. Berarti scriptmu ada yang bentrok Jeng Diela :)[/quote] wah . scrip aku bentrok ya bangg ? tolong di cekin dong bang . ni uda aku ubah dlm format .txt :thumbsdown: [url]http://h1.ripway.com/syalala/aho/aoaoao.txt[/url] makasi sbelumnya bang =) =)[/quote] Kayaknya ini deh yang bikin gak jalan : [quote]//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://h1.ripway.com/syalala/aho/aocss.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //onload handler function onProfileLoad() { //addboxes here var figwhite = "<object width='450' height='100'><param name='movie' value='http://h1.ripway.com/andha/flash/figwhite.swf'><embed src='http://h1.ripway.com/andha/flash/figwhite.swf' width='450' height='100'></embed></object>"; addBox("LEFT","navigatormu",figwhite,"figure","0"); [color=red][b]}[/b][/color] <--- Penutup onload handler /*MISC FUNCTIONS*/ 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); } } //MESSAGE var message = new Array() //customize your message below message[0] = "helohelohelo"; message[1] = "makasi uda main ke fs aku"; message[2] = "mari berteman"; message[3] = "nikmati fsku"; message[4] = "komen di tunggu"; var reps = 2; var speed = 200; var p=message.length; var T=""; var C=0; var mC=0; var s=0; var sT=null; if(reps<1)reps=1; function doTheThing(){ T=message[mC]; A();} function A(){ s++ if(s>8){s=1} if(s==1){document.title='|||aho====||| '+T+' -----'} if(s==2){document.title='|||=aho===||| '+T+' -----'} if(s==3){document.title='|||==aho==||| '+T+' -----'} if(s==4){document.title='|||===aho=||| '+T+' -----'} if(s==5){document.title='|||====aho||| '+T+' -----'} if(s==6){document.title='|||===aho=||| '+T+' -----'} if(s==7){document.title='|||==aho==||| '+T+' -----'} if(s==8){document.title='|||=aho===||| '+T+' -----'} if(C<(8*reps)){ sT=setTimeout("A()",speed); C++ }else{ C=0; s=0; mC++ if(mC>p-1)mC=0; sT=null; doTheThing();}} doTheThing(); //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("tamu istimewa : "+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); } };[/quote] Lihat yang saya [b]bold merah[/b], Coba tambahin seperti itu....

Last edited by sahabat.peterpan (2008-03-15 19:34:52)

Board footer

© 2024 F Talk

Current time is 11:33

[ 12 queries - 0.430 second ]
Privacy Policy