Friendster Delight



If you want to access fully in FD. Please do log in or register. Thank You. Welcome. FD

Friendster Delight


 
Home:: Portal ::FAQMemberlistSearchUsergroupsRegisterLog in

Share | 
 

 welcome box

View previous topic View next topic Go down 
AuthorMessage
gErLaLuzZ
Retired Moderator
avatar

Posts : 1743

Age : 22


View user profile http://profiles.friendster.com/user.php?uid=42208990
PostSubject: welcome box   Thu Mar 26, 2009 10:44 am

..this code will give you something like this:..

IMGPREVIEW:
Spoiler:
 

live preview here:
on my profile

..here's the code..
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]
//by tekfatliu, copyright 2008 http://profiles.friendster.com/47964002
//credits: tekfatliu, mooTools
//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="<span id='tflABTittle' style='padding:4; font-weight:bold; display:block; text-align:left; background:#000000; color:#ffffff;'></span>";strABMessage="<div id='tflABMessage' style='padding:5'></div><button id='tflABClose' style='cursor:pointer;margin:6'>Close</button>";$(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><a[\S\s]*?img src="([\S\s]*?)"/i.exec(a)[1];var c=/>([\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><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i.exec(a)[1];var g=/Since\: <\/span>([\S\s]+?)<\/li>/i.exec(a)[1];
var h="<div class=\"fitem1wrapper\"><table class=\"fitem1table\"><tbody><tr><td class=\"itd\"><div class=\"imgblock75\"><a href=\"http://profiles.friendster.com/"+pageViewerID+"\"><img src=\""+b+"\"></a></div></td><td class=\"dtd\"><ul class=\"data\"><li class=\"title\"><a href=\"http://profiles.friendster.com/"+pageViewerID+"\">"+pageViewerFName+"</a></li><li>"+c+" "+d+", "+e+"</li><li>Member Since : "+g+"</li><li>Location : "+f+"</li></ul></td></tr></tbody></table></div>";tflAlertBox(" WELCOME TO MY PROFILE ",h,300,'#111');};

..just paste it in your js file..

..then generate it..


credits to: justineroi[HCG]
Back to top Go down
spongebob0291
FD Amateur
FD Amateur
avatar

Posts : 693

Age : 24


View user profile
PostSubject: Re: welcome box   Thu Mar 26, 2009 6:37 pm

cool!! I'll try this one!!
Back to top Go down
whez
Simple Moderator
Simple Moderator
avatar

Posts : 259

Age : 30


View user profile
PostSubject: Re: welcome box   Sat Mar 28, 2009 9:50 pm

haha....
thanks 4 share...~

_________________
Plurk|Simple Is The Best|Forum Site

Site Disclaimer - Privacy Policy
Copyright ©️ 1998 Ross Computer Solutions LLC, All rights reserved


Malaysian Codes Team©️
Back to top Go down
khariza05
FD Expert
FD Expert
avatar

Posts : 838

Age : 24


View user profile http://www.friendster.com/azirahk05
PostSubject: Re: welcome box   Sat Mar 28, 2009 9:59 pm

nice one
Back to top Go down
mz.manicka21
Full Moderator
Full Moderator
avatar

Posts : 1276

Age : 23


View user profile http://profiles.friendster.com/riekosugita
PostSubject: Re: welcome box   Sun Mar 29, 2009 12:14 pm

tNx foR sharing. Very Happy
Back to top Go down
xhugarphink16
FD Member
FD Member
avatar

Posts : 224


View user profile http://friendster.com/nicoleandalajao
PostSubject: Re: welcome box   Mon Mar 30, 2009 3:01 pm

Nice best pLenn.. xD..
Back to top Go down
gErLaLuzZ
Retired Moderator
avatar

Posts : 1743

Age : 22


View user profile http://profiles.friendster.com/user.php?uid=42208990
PostSubject: Re: welcome box   Mon Mar 30, 2009 3:20 pm

..waaaaaaah..

..no problem!..
Back to top Go down
lheendc
Co-Admin
Co-Admin
avatar

Posts : 973

Age : 22


View user profile http://www.plurk.com/lheendc/invite
PostSubject: Re: welcome box   Wed Apr 08, 2009 8:25 pm

Do you have a goodbye alert box code?
Back to top Go down
gErLaLuzZ
Retired Moderator
avatar

Posts : 1743

Age : 22


View user profile http://profiles.friendster.com/user.php?uid=42208990
PostSubject: Re: welcome box   Thu Apr 09, 2009 2:26 am

.. ^ nah
..i just found it in mah source
Back to top Go down
GHEN
Graphic Master
Graphic Master
avatar

Posts : 1150

Age : 25


View user profile http://www.ghenstar.webs.com
PostSubject: Re: welcome box   Sun Apr 12, 2009 10:15 am

thanks fer te share Smile

_________________
MOi LiNKSSSS * click ! Very Happy
Spoiler:
 

Back to top Go down
jhennyz
Full Moderator
Full Moderator
avatar

Posts : 373

Age : 22


View user profile http://www.jhennyz.multiply.com
PostSubject: Re: welcome box   Mon Apr 13, 2009 11:07 pm

thanks for sharing this...

_________________
Spoiler:
 
Back to top Go down
KRISTINEEE
Promoter
Promoter
avatar

Posts : 25


View user profile http://www.krstnee09.multiply.com
PostSubject: Re: welcome box   Fri May 15, 2009 12:04 pm

thanks! its work for me:).
bye.
Back to top Go down
sEz™
Third Timer
Third Timer
avatar

Posts : 57

Age : 23


View user profile http://profiles.friendster.com/figmentofyourimagination
PostSubject: Re: welcome box   Wed Jun 17, 2009 10:41 pm

EiNKSZ FOR SHARiNG ... Smile Smile Smile
Back to top Go down
keith =)
Second Timer
Second Timer
avatar

Posts : 24


View user profile http://www.friendster.com/kaith0620
PostSubject: Re: welcome box   Tue Aug 18, 2009 6:03 pm

tnx for the code! xD
Back to top Go down
Sponsored content




PostSubject: Re: welcome box   

Back to top Go down
 

welcome box

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Friendster Delight :: FD Tips & Tricks :: Java Script Codes-