2007-08-23 20:46:13

mherylicious
» FTalkManiac
FTalk Level: zero
700
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=xavierkym][quote=mherylicious]wew! nice trick... thankz feruzz! :thumbsup: .. it's working in mah shoutout... but how can i put some message on it? like the one in the preview??[/quote] u can try adding it here.. [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] ENIWEIZZ.. @offtopic: please resize you sig's height to 200px or below.. before we remove it.. =)[/quote] owkei... thankz a lot! @offtopic: aight! my bad... i already change it.. :)

Board footer

© 2024 F Talk

Current time is 19:15

[ 12 queries - 0.094 second ]
Privacy Policy