2008-09-03 02:45:11

Sissy Priscilitt
» n00b
FTalk Level: zero
60
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

pen tanya kalo kode ini : [quote]var replaceLink = document.createElement("a"); replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID; replaceLink.appendChild(document.createTextNode("View All (8126)")); var viewall = getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0]; //if exist if (viewall !== null) { viewall.parentNode.replaceChild(replaceLink,viewall); } function getElementsByClassName(oElm,sTag,sClass) { var elm = []; if (!oElm)oElm = document; if (!sTag)sTag = "*"; var els = oElm.getElementsByTagName(sTag) || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className)) { elm.push(els[j]); } } return elm; }[/quote] sama ini : [quote]eriz="<div id='eriz' class='commonbox eriz' style='width:300px;height:65px;filter:none;-moz-opacity:1.0'><div id='content_eriz' style='width:300px;height:65px;filter:none;-moz-opacity:1.0'><a href='http://www.friendster.com/fanprofiles.php' id='getyourown' title='Get Your Own ...' target='_blank' border='0'><div id='badgebg' style='width:300px;height:65px;background:url(http://images.friendster.com/images/mt_badge_2.jpg);border:0px;filter:none;-moz-opacity:1.0;'><div class='badgetext' style='font-family:CASTELLAR;text-transform:none;color:#FF0000'><center><b><big><br></big></center></div><div class='badgetext' style='font-family:arial;text-transform:none;color:#000000'><center><big>ACTOR</big></b></center></div></div></a></div>"; var hb = document.getElementById('15'); var jbx = document.createElement("li"); jbx.innerHTML=eriz; hb.parentNode.insertBefore(jbx,hb);[/quote] di jadiin js extension bisa gak ya? . kalo bisa gmana caranya? . sekalian linker dunk pm ya . makasih .

Board footer

© 2024 F Talk

Current time is 22:17

[ 12 queries - 0.222 second ]
Privacy Policy