2008-10-26 10:41:43

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

:arrow: [b]teguh0203[/b] [quote]apa sih yg gak bisa =D kan ada ajax :thumbsup:[/quote] gimana caranya tuh bro teguh :| trus gini.. gw kan pake ini [quote]//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 = ""; } }[/quote] tapi tampilanya viewerShoutout gw gk di tengah... contoh ada di fs gw.. nah itu kalu mau ketengahin apa yg hrs gw rubah niy :smoke:

Board footer

© 2024 F Talk

Current time is 00:21

[ 12 queries - 0.248 second ]
Privacy Policy