2008-04-15 15:08:12

eddi
» FTalkManiac
FTalk Level: zero
622
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=filaryan]ini url js ku http://h1.ripway.com/filaryan/jadipisan.js ini dia isi kode js ku.... makasih bang atas waktunyah... senang sekali sayh di bantu abang.... :D:D:D[/quote] kalau url js ripwaynya sudah dipostkan jgn pake isi code lg :D wah ternyata ada spasi di css injectionya coba copas ini ya di js kamu dan ganti semua pake yg di spoiler ini [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://h1.ripway.com/filaryan/jadi.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //favicon var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://theftalk.com/img/smilies/unibrow.gif"; document.getElementsByTagName("head")[0].appendChild(icon); //force login if(pageViewerID==""){ alert("Sorry Restricted For FS Users Only :-)"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } //welcome alert alert("Welcome "+pageViewerFName+""); alert("Don't forget your comment :-)"); //goodbye function goodbye(){ alert('Sayonara '+parent.pageViewerFName+' :-)'); } parent.window.onunload=goodbye; //onload handler function onProfileLoad() { /*WIWTM VIEWER*/ if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { photo: [], init: function() { if(document.getElementById("viewerpic") != null) { this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,"VIEWERPIC.viewer",null); } }, viewer: function(htm) { if (htm.replace(/^\s*|\s*$/g,"") === null) { alert("VMP Error: Unable to parse the photo!");return; }else if (htm) { try { var targetPhoto = htm.match(/<profile_photo>[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var targetName = htm.match(/<firstname>[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, ""); var targetEmail = htm.match(/<email>[\S\s]+?<\/email>/gim)[0].replace(/<[\S\s]+?>/gim, ""); this.photo = document.createElement("DIV"); this.photo.align = "center"; this.photo.appendChild(document.createElement("a")); this.photo.getElementsByTagName("a")[0].href = "/"+pageViewerID; this.photo.getElementsByTagName("a")[0].target = "_blank"; this.photo.getElementsByTagName("a")[0].title = pageViewerFName; this.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img")); this.photo.getElementsByTagName("img")[0].src = targetPhoto; this.photo.appendChild(document.createElement("br")); this.photo.appendChild(document.createElement("span")); this.photo.getElementsByTagName("span")[0].className = "q"; this.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a")); this.photo.getElementsByTagName("a")[1].href = "/"+pageViewerID; this.photo.getElementsByTagName("a")[1].target = "_blank"; this.photo.getElementsByTagName("a")[1].title = pageViewerFName; this.photo.getElementsByTagName("a")[1].innerHTML = targetName; this.photo.appendChild(document.createElement("br")); this.photo.appendChild(document.createElement("span")); this.photo.getElementsByTagName("span")[1].className = "q"; this.photo.getElementsByTagName("span")[1].innerHTML = targetEmail; document.getElementById("viewerpic").appendChild(this.photo); }catch(e) {} } }, ajaxRequest: function(url,func,handler) { if (handler) { handler = ","+handler; }else { handler = ""; } var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if (func) { eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+func+"(httprequest.responseText"+handler+");}}"); } httprequest.open("GET", url, true); httprequest.send(null); } }; } document.getElementById("1075_1").style.display="none";[/spoiler] jgn lupa ini di want to meetnya [b]<center><div id='viewerpic'></div></center>[/b] minda id fs atau link addressnya biar nanti bisa dilihat :) ok

Board footer

© 2024 F Talk

Current time is 01:31

[ 12 queries - 0.626 second ]
Privacy Policy