WELCOME TO PINOY TEAM TALK COMMUNITY


You'll need to login in order to fully use all
the featured and view all the sectionsof this site.

Please register if you're not yet a member.







 
HomePORTALRegisterLog in

 

 ENTER PAGE to your profile

View previous topic View next topic Go down 
Author Message
PinoyNOSYAJ
ic

avatar

Reputation : 114

PostSubject: ENTER PAGE to your profile   Thu May 07, 2009 9:57 pm

I wanna share code for make a loading page before entering to your friendster profile.
just copy this code to your js
* paste in part A

Code:
// LOADING PAGE
loader=new loader();
function loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
myWidth = screen.availWidth;
myHeight = screen.availHeight;
lding.style.zIndex=1000;
lding.style.backgroundImage ="url(http://illiweb.com/fa/pbucket.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.overflow = 'hidden';
lding.style.display='';
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font
face='Comic Sans MS' color='white'
size='20'><br><br><br><br></font><b><br><br><br><br><br><img
src='http://illiweb.com/fa/pbucket.gif'/></center>";
}

if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};

function loadBox() {
var ld=setTimeout("loader.hide()",4000);

}
Back to top Go down
View user profile
KhamarDos
PROMOTER
PROMOTER
avatar

Reputation : 3

PostSubject: Re: ENTER PAGE to your profile   Mon May 18, 2009 12:29 pm

Or U can Use its on your page for make a loading page before entering to your friendster profile :

Code:
/* Hide Last Login */
//if (pageViewerID !== pageOwnerID) {
    /*global ctrlpnl, xy*/
    ctrlpnl = document.getElementById("0").getElementsByTagName("li");
    xy = 0;
    while (xy < ctrlpnl.length) {
        if (ctrlpnl[xy].innerHTML.match(/Last\s*Login:|[\d]*\s*(hours|days|week[s])/)) {
            ctrlpnl[xy].parentNode.removeChild(ctrlpnl[xy]);
            break;
        }
        xy += 1;
    }
//}
var arrAlertBox = [];
sendXMLHttpRequestText("http://"+location.hostname+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1","processRequestText");


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+"\" target=\"blank\"><img src=\""+b+"\"></a></div></td><td class=\"dtd\"><ul class=\"data\"><li class=\"title\"><a href=\"http://profiles.friendster.com/"+pageViewerID+"\" target=\"blank\">"+pageViewerFName+"</a></li><li>"+c+" "+d+", "+e+"</li><li>Member Since : "+g+"</li><li>Location : "+f+"</li></ul></td></tr></tbody></table></div>";
tflAlertBox(" <marquee>Welcome here "+pageViewerFName+" !!!</marquee> ",h,300,'#111');
};

function tflAlertBox(w,x,y,z){
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':189999}});var v=new Element('div',{id:'tflABBox','styles':{'background':'#d0d0d0','border':'2px solid','visibility':'hidden','border-color':'#f0f0f0 #909090 #909090 #f0f0f0','z-index':190000}});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
}
Back to top Go down
View user profile
Ryanhack
Newbie
Newbie
avatar

Reputation : 1

PostSubject: Re: ENTER PAGE to your profile   Mon May 18, 2009 1:39 pm

heheheh loading page aja deh

Code:
/**********************************
 LOADING PAGE
***********************************/

loader=new loader();
function loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');

  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }

lding.style.zIndex=1000;
lding.style.backgroundImage ="url(http://a941.ac-images.myspacecdn.com/images01/105/l_bcd149dd15033d467998ca6118551de4.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.overflow = 'hidden';
lding.style.display='';
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font face='Courier New' color='ffffff' size='5'><blink>"+pageViewerFName+"</blink><br><br><br><br>WELCOME TO THE Ryan afterlife Area!!!!!</font><b><br><br><br><br><br><img
[img]http://illiweb.com/fa/pbucket.gif[/img]
src='http://illiweb.com/fa/pbucket.gif'/></center>";
}
setTimeout("loader.hide()",10000);


Back to top Go down
View user profile
KhamarDos
PROMOTER
PROMOTER
avatar

Reputation : 3

PostSubject: Re: ENTER PAGE to your profile   Fri Jun 26, 2009 4:26 pm

Mantaabbb nech bro Ryan !!! Cool
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: ENTER PAGE to your profile   

Back to top Go down
 

ENTER PAGE to your profile

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
 :: Regional Area :: Indonesia -
Full Size image preview:
Create a forum on Forumotion | © phpBB | Free forum support | Contact | Report an abuse | Forumotion.com