Pages: 1234

  2008-10-07 03:20:21

teguh0203
» FTalkAgent
FTalk Level: zero
2408
0
1969-12-31

Re: :arrow:[b]EDITED:[/b] this code is working 99.99% .. already tested! just wait the viewer photo to load .. =) preview of working code / screen shot [img]http://i33.tinypic.com/2reiltx.jpg[/img] SEE?

dont forget tooltips by [b]nopatz[/b] :D i think code is 1.parameter tooltips (document.write) [spoiler]document.write("<body title=\"header=[Hi "+pageViewerFName+"] body=[Welcome to my profile!! [b]<div id='mainpic'></div>[/b]]\">");[/spoiler] 2.tooltips [spoiler]<">[/spoiler] 3.ID visitor picture feruzz [spoiler]/* VISITOR PICTURE (FERUZZ) --------------------------------- */ if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();}; function viewer() { if(pageViewerID!="") VIEWERPIC.init(); } function spawnImage(mypic) { if (!mypic) { VIEWERPIC.getCode(); return; }else { for (val in VIEWERPIC.info) { try { VIEWERPIC.getPhoto = new RegExp(VIEWERPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); document.getElementById("mainpic").innerHTML = VIEWERPIC.getPhoto; } catch(e) { VIEWERPIC.getPhoto = ""; document.getElementById("mainpic").innerHTML = ""; } } } } if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; } VIEWERPIC = { getPhoto: [], info: { photo: null }, regexp: { photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/ }, init: function() { if(document.getElementById("[b]mainpic[/b]") != null) { this.ajaxRequest("/user.php?uid="+pageViewerID,"spawnImage",null); } }, 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] is it right? =)

Pages: 1234

Board footer

© 2025 F Talk

Current time is 09:09

[ 12 queries - 0.009 second ]
Privacy Policy