2008-10-27 04:45:23

oblack
» FTalker
FTalk Level: zero
217
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

[b]all[/b] di shoutout gw pake miniview tp letaknya gk ditengah gimana supaya ketengah yagh... :paranoid: view deh fs gw.. ni script yg gw pake.. kira" dimana pengaturanya yagh :paranoid: [spoiler]//Mini Viewer if (!attachOnLoadHandler(function() { viewerShoutout();})) window.onload = function() { viewerShoutout();}; function viewerShoutout() { if(pageViewerID!="") MAINPIC.init(); } if (typeof MAINPIC == "undefined") { MAINPIC = {}; } MAINPIC = { photo: [], sibling: document.getElementById("cpShoutoutBox"), info: { photo: null }, regexp: { photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/i }, init: function() { this.ajaxRequest("/"+pageViewerID,"MAINPIC.viewer",null); }, viewer: function(ph) { if (ph.replace(/^\s*|\s*$/g,"") === "") { alert("VMP Error: Unable to parse the photo!"); return; }else if (ph) { try { this.info.photo = new RegExp(this.regexp.photo).exec(ph)[1].replace(/^(\d)$/,"0$1"); this.photo = document.createElement("DIV"); this.photo.setAttribute("id","mainpic"); this.photo.setAttribute("bottom","center"); this.photo.innerHTML = "<center><font face=\"Arial\" color=\"#086989\">kesuksesan bukan dari hasil melainkan dari prosesnya</font><br>"+ "<a href=\"/"+pageViewerID+"\" target=\"_blank\" title=\""+pageViewerFName+"\">"+this.info.photo+"</a><br>"+ "<font face=\"Arial\" color=\"#086989\">"+pageViewerFName+"</font>"; this.sibling.parentNode.replaceChild(this.photo,this.sibling); }catch(e) { this.info.photo = ""; } } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) handler = ","+handler; else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); httprequest.open('GET', url, true); httprequest.send(null); } };[/spoiler]

Board footer

© 2024 F Talk

Current time is 15:23

[ 12 queries - 0.246 second ]
Privacy Policy