Ever.
Number of posts : 14 Registration date : 2009-04-10 Age : 28 Location : Cavite, PH
| Subject: Welcome box. Sat Apr 11, 2009 12:26 am | |
| Credits: HCG and me. Tested: Internet Explorer and Mozilla Firefox Preview: http://www.friendster.com/fallyourselfdown wait for my profile to load.
code here: COMPILE IT WITH UR JS FILE. - Code:
-
if(!attachOnLoadHandler(function(){tflViewerAlertBox()}))parent.onload=function(){tflViewerAlertBox()}; var arrAlertBox = [];
function tflViewerAlertBox(){ sendXMLHttpRequestText("http://"+location.hostname+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1","processRequestText");} //end of tflViewerAlertBox function tflAlertBox(w,x,y,z){ //tflAlertBox [update 19-09-2008] //licensed under GNU General Public License, version 2 http://www.gnu.org/licenses/gpl.html //Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. //Author will not be liable of ANY damage through the use of this program if($('tflABBox')==false){var u=new Element('div',{id:'tflABMask','styles':{'position':'absolute','top':0,'left':0,'opacity':0,'background':'#000000','height':(window.getHeight()>window.getScrollHeight())?window.getHeight():window.getScrollHeight(),'width':'100%','z-index':89999}});var v=new Element('div',{id:'tflABBox','styles':{'background':'#d0d0d0','border':'2px solid','visibility':'hidden','border-color':'#f0f0f0 #909090 #909090 #f0f0f0','z-index':90000}});document.body.appendChild(u);document.body.appendChild(v);$(v).makeDraggable();strABTittle="[color=#FFFFFF][b][/b][/color]";strABMessage="[/font] [font=Trebuchet MS]Close[/font][font=Trebuchet MS]";$(v).setHTML(strABTittle+strABMessage);arrAlertBox.push(new Fx.Style(u,'opacity',{duration:1000,wait:false}));arrAlertBox.push(new Fx.Style(v,'opacity',{duration:1500,wait:false}));arrAlertBox.push(true);$('tflABClose').addEvent('click',function(){arrAlertBox[2]=false;arrAlertBox[1].start(1,0);arrAlertBox[0].start(.7,0)});document.addEvents({'keypress':function(e){if(window.event){var keyCode=window.event.keyCode}else{var keyCode=e.keyCode?e.keyCode:e.which?e.which:e.charCode}if(keyCode==27)if(arrAlertBox[2]){arrAlertBox[2]=false;arrAlertBox[1].start(1,0);arrAlertBox[0].start(.7,0)}}})}$('tflABTittle').setHTML(w);$('tflABMessage').setHTML(x);y=y||250;z=z||'#111';$('tflABBox').setStyles({'width':y,'top':200,'left':(document.body.clientWidth/2)-(y/2)});$('tflABMask').setStyles({'background':z});arrAlertBox[0].start(0,.7);arrAlertBox[1].start(0,1);arrAlertBox[2]=true}; function processRequestText(a){ var b=/imgblock200\x22>([\S]*male)/i.exec(a)[1];var d=/male, ([\d]*),/i.exec(a)[1];var e=/male, [\d]*,([\S\s]*?)<\/span><\/li>/i.exec(a)[1];var f=/Location\: <\/span>([\S\s]*?)<\/a><\/li>/i.exec(a)[1];var g=/Since\: <\/span>([\S\s]+?)<\/li>/i.exec(a)[1]; var h="[/font][table class="\"fitem1table\""][tr][td class="\"itd\""][url=http://graphicsdesignz.forumotion.com/%5C%22http://profiles.friendster.com/%22+pageViewerID+%22%5C%22][img]%5C%22%22+b+%22%5C%22[/img][/url] [/td][td class="\"dtd\""] [list] [*][url=http://graphicsdesignz.forumotion.com/%5C%22http://profiles.friendster.com/%22+pageViewerID+%22%5C%22]"+pageViewerFName+"[/url] [*]"+c+" "+d+", "+e+" [*]Member Since : "+g+" [*]Location : "+f+" [/list][/td][/tr][/table] [font=Trebuchet MS]";tflAlertBox(" My Welcome Box ",h,300,'#111');}; THEN. FINISH!
READY TO PASTE CODE HERE: - Code:
-
" DONE ;)
ENJOii! | |
|