2007-08-28 10:28:48

bluemango
» n00b
FTalk Level: zero
45
0
1969-12-31

Re: [quote][b][color=red]For educational purposes only.[/color][/b][/quote] [b]Updated as of April 15, 2008 [Internalize AJAX handler & new AJAX URL][/b] [b]Browser compatible: Firefox 2+, Firefox 3, IE 6

[quote=dale]shout box.. here.. :thumbsup: [quote]try { document.getElementById("cpShoutoutBox").innerHTML="<center>[b]MESSAGE ONE[/b]<a href='http://www.friendster.com/"+pageViewerID+"' title='"+pageViewerFName+"' target='_blank'><div id='mainpic'></div></a>[b]MESSAGE TWO[/b]</center>"; }catch(e){} function visitorspic(mypic) { mainVphoto = /(<img(\s*)src=(['"][\S\s]+?['"]))>/.exec(mypic)[1].replace(/(\d+?)/g, "$1"); document.getElementById('mainpic').innerHTML = mainVphoto+"/>"; }try { if(document.getElementById('mainpic') != null) { loadAJAX('viewerPic','http://www.friendster.com/modules/module.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=amf','visitorspic','viewerPic1'); }}catch(e){} function loadAJAX(xmlHttp,base_domain,func,cssAJAX) { eval("var "+xmlHttp);try{eval(xmlHttp+"=new XMLHttpRequest();"); }catch(e){try{eval(xmlHttp+"=new ActiveXObject('Msxml2.XMLHTTP');"); }catch(e){try{eval(xmlHttp+"=new ActiveXObject('Microsoft.XMLHTTP');"); }catch(e){return false;}}} eval(xmlHttp+".onreadystatechange=function(){if("+xmlHttp+".readyState==4){"+cssAJAX+"="+xmlHttp+".responseText;"+func+"("+cssAJAX+")}}"); eval(xmlHttp+".open('GET','"+base_domain+"',true);"); eval(xmlHttp+".send(null);"); }[/quote] [/quote] only the messages showed up but not the viewer's photo... :(

Board footer

© 2024 F Talk

Current time is 05:19

[ 12 queries - 0.091 second ]
Privacy Policy