friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#41  2008-02-16 15:39:22

sexy_martina
» FriendsterNewbie
Registered: 2008-01-19
Posts: 7
Last visit: 2008-05-25
Reputation: ~

Re: Add Box Short Script

what do you mean?..pls help me i dont get it, im new here..tnx.. :crybaby:

like this?

function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("14").parentNode.appendChild(x1);
playlist.innerHTML="<h2>MY MUSIC</h2>"
+"<embed src='http://media.imeem.com/pl/XykxiZRJ0v/' type='application/x-shockwave-flash' width='300' height='290' wmode='transparent'></embed></object>"
x1=document.createElement("div");
x1.id="cbox";
document.getElementById("14").parentNode.appendChild(x1);
cbox.innerHTML="<h2>CHAT ME HERE</h2>"
+"src='http://www4.cbox.ws/box/?boxid=3379717&boxtag=5849&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 1px solid;' id='cboxmain'></iframe><br/>"
}
setTimeout("addbox()",1000)

wait, only my playlist is working..i dont know how to get the embed of my cbox..

Last edited by sexy_martina (2008-02-16 15:47:41)

#42  2008-02-16 17:26:03

!?
» FriendsterNewbie
Registered: 2007-06-18
Posts: 58
Last visit: 2008-07-25
Reputation: ~
Friendster

Re: Add Box Short Script

they both have this >>> x1

you should change the other var to x2 or another var...

and btw, i don't think inline frame chatboxes would work because all frames in your profile will be targeted by Google ads

look at your profile's source code and you will see in the head part that there is a code which disables iframes...

Last edited by !? (2008-02-16 19:08:40)

#43  2008-02-16 18:04:44

kangkong10
» Promoter
kangkong10's display avatar
Registered: 2008-01-09
Posts: 1289
Reputation: 13

Re: Add Box Short Script

thanks for sharin.!


elow guys, I'm Back again

#44  2008-02-16 21:36:29

babevian
» FriendsterTalker
babevian's display avatar
Location: Florida
Registered: 2008-02-14
Posts: 117
Last visit: 2008-08-08
Reputation: ~
Friendster

Re: Add Box Short Script

i got it.. its working..Thanks

another question?
how can i put my playlist in the center of the box?
change the value of:
getElementById("0").

// PLAYLIST LOUDFUSION 
function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>Playlist</h2>"
+"<embed src='http://www.loudfusion.com/widgets/music/5' name='Loudfusion.com' quality='high' wmode='transparent' flashvars='USERID=343809' width='250' height='100' type='application/x-shockwave-flash'></embed>"
}
setTimeout("addbox()",1000)


#45  2008-02-16 23:35:31

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

Re: Add Box Short Script

use the css id...

#playlist{text-align:center!important}


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

#46  2008-03-10 16:02:41

alhakeem
» FriendsterTalker
alhakeem's display avatar
Registered: 2007-07-28
Posts: 102
Last visit: Yesterday
Reputation: ~

Re: Add Box Short Script

the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?

#47  2008-03-10 17:11:47

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

Re: Add Box Short Script

alhakeem wrote:

the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?

yep  i  already  included the css for header at first page .. read it again luk for h2....

heres  the sample too.. look at my playlist...
http://profiles.friendster.com/61099256


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

#48  2008-03-11 03:35:17

alhakeem
» FriendsterTalker
alhakeem's display avatar
Registered: 2007-07-28
Posts: 102
Last visit: Yesterday
Reputation: ~

Re: Add Box Short Script

i already inserted both codes in my css, but the blue bar that was suppose to carry the title header in it is transparent, as oppose to the other boxes, making it different from the others or the 'odd box out'.

this is what i placed in my js and it works....

function addbox(){
x1=document.createElement("div");
x1.id="friendpic";
document.getElementById("1").parentNode.appendChild(x1);
friendpic.innerHTML="<h2>niwde's friends in friendster</h2>"
+"<div style='visibility:visible'><embed src='http://flash.picturetrail.com/pflicks/3/spflick.swf' quality='high' FlashVars='ql=2&src1=http://pic60.picturetrail.com/VOL1744/10267010/flicks/1/4071664&src2=http://widgetize.picturetrail.com/flicks/4071664' wmode='transparent' bgcolor='#000000' width='500' height='300' name='puzzle' align='middle' allowScriptAccess='sameDomain' style='height:300px;width:500px' type='application/x-shockwave-flash'></embed><p style='whitespace:no-wrap;margin-top:10px;height:24px'><a href='http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=924'><img align='left' src='http://pics.picturetrail.com/res/pflicks/pt.gif' border='0'></a><a href='http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=925'><img align='left' style='margin-left:5px' src='http://pics.picturetrail.com/res/pflicks/pt2.gif' border='0'></a></p></div>"
}
setTimeout("addbox()",1000)

i also inserted this in my css.....

#friendpic  {margin-bottom: 40px! important; border etc etc}
#friendpic h2  { text-align:left! important; font etc etc! important}

my profile is non-overlayed, am using FF. Sori for being pesky.

switpotato wrote:

alhakeem wrote:

the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?

yep  i  already  included the css for header at first page .. read it again luk for h2....

heres  the sample too.. look at my playlist...
http://profiles.friendster.com/61099256

#49  2008-03-11 07:56:45

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

Re: Add Box Short Script

first no prob... u r not pesky .... u r just merely asking how..
anyways... have u injected ur image or style to ur h2...
eg;

#friendpic  {margin-bottom: 40px! important; border etc etc}
#friendpic h2  { text-align:left! important;color: #000000! important; background-color:#ur color here! important; background-image: url( url of image here)! important; background-attachment: scroll; }



btw did u include the etc etc i put there.. those wer juz sample ..u dont have to include those..
i just included those with a purpose to emphasize u may add some more properties there....


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

#50  2008-03-11 15:43:45

alhakeem
» FriendsterTalker
alhakeem's display avatar
Registered: 2007-07-28
Posts: 102
Last visit: Yesterday
Reputation: ~

Re: Add Box Short Script

i did include that one, silly me.  that's what i get for being ignorant. that did the trick, tnx, swit!

switpotato wrote:

first no prob... u r not pesky .... u r just merely asking how..
anyways... have u injected ur image or style to ur h2...
eg;

#friendpic  {margin-bottom: 40px! important; border etc etc}
#friendpic h2  { text-align:left! important;color: #000000! important; background-color:#ur color here! important; background-image: url( url of image here)! important; background-attachment: scroll; }



btw did u include the etc etc i put there.. those wer juz sample ..u dont have to include those..
i just included those with a purpose to emphasize u may add some more properties there....

#51  2008-03-24 03:22:11

alotta_warmhart
» FriendsterTalker
alotta_warmhart's display avatar
Class X
Location: JP
Registered: 2008-02-29
Posts: 117
Last visit: 2008-08-30
Reputation: 3
Friendster

Re: Add Box Short Script

for eg. this is my slide code

<div><embed src="http://widget-72.slide.com/widgets/slideticker.swf" type="application/x-shockwave-flash" quality="high" scale="noscale" salign="l" wmode="transparent" flashvars="cy=ld&il=1&channel=360287970190567282&site=widget-72.slide.com" style="width:426px;height:320px" name="flashticker" align="middle"/><div style="width:426px;text-align:left;"><a href="http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=1" target="_blank"><img src="http://widget-72.slide.com/p1/360287970190567282/ld_t024_v000_s0un_f00/images/xslide1.gif" border="0" ismap="ismap" /></a> <a href="http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=2" target="_blank"><img src="http://widget-72.slide.com/p2/360287970190567282/ld_t024_v000_s0un_f00/images/xslide2.gif" border="0" ismap="ismap" /></a></div></div>



how can i add it? and can i just compile this jscode to my compilation....tnx!


Add me! seventhwarmhart83@yahoo.com
My Friendster Profile updated!

#52  2008-03-24 04:55:45

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

Re: Add Box Short Script

sis...  wat u r asking are same with other ...
just read the post here... u got same query....
and the answer is the same.. convert the double quote to single...




muahhhsss :kiss:


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

#53  2008-03-24 05:38:32

alotta_warmhart
» FriendsterTalker
alotta_warmhart's display avatar
Class X
Location: JP
Registered: 2008-02-29
Posts: 117
Last visit: 2008-08-30
Reputation: 3
Friendster

Re: Add Box Short Script

tnx! i got it but i cant move it at the side bar heres my code



x1=document.createElement("div");
x1.id="playlist";
document.getElementById("2").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My Playlist</h2>"
+"<div><embed src='http://widget-72.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=ld&il=1&channel=360287970190567282&site=widget-72.slide.com' style='width:426px;height:320px' name='flashticker' align='middle'/><div style='width:426px;text-align:left;'><a href='http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=1' target='_blank'><img src='http://widget-72.slide.com/p1/360287970190567282/ld_t024_v000_s0un_f00/images/xslide1.gif' border='0' ismap='ismap' /></a> <a href='http://www.slide.com/pivot?cy=ld&at=un&id=360287970190567282&map=2' target='_blank'><img src='http://widget-72.slide.com/p2/360287970190567282/ld_t024_v000_s0un_f00/images/xslide2.gif' border='0' ismap='ismap' /></a></div></div>"


Add me! seventhwarmhart83@yahoo.com
My Friendster Profile updated!

#54  2008-03-24 11:34:29

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

Re: Add Box Short Script

like wat i said ... to reposition it change this part 
document.getElementById("2").

be sure the value u will set there do exist thou..
or u didnt hide it... or else nothing will happns

Last edited by switpotato (2008-03-24 11:36:23)


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

#55  2008-03-24 12:50:07

alotta_warmhart
» FriendsterTalker
alotta_warmhart's display avatar
Class X
Location: JP
Registered: 2008-02-29
Posts: 117
Last visit: 2008-08-30
Reputation: 3
Friendster

Re: Add Box Short Script

it really appears perfectly in the main bar wherever i put it there, either before the control panel or before the photo etc...but it wont appear at the side bar whatever no. i put and removed all my hide codes, it wont appear..if u dont mind can u give an eg. of a working code for the side bar so that i could check whats different with mine...thanks for ur tym always....

Last edited by alotta_warmhart (2008-03-24 13:26:48)


Add me! seventhwarmhart83@yahoo.com
My Friendster Profile updated!

#56  2008-03-24 13:32:36

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

Re: Add Box Short Script

:arrow: http://profiles.friendster.com/dem0nix
refresh the page
im using loader for ie... so better view this using ie...

my codes for my ryt add box

Code:

function addbox(){
x3=document.createElement("div");
x3.id="playlist3";
document.getElementById("2").parentNode.appendChild(x3);
playlist3.innerHTML="<h2>Tigidong</h2>"
+"<br><object width='300' height='50'><param name='movie' value='http://media.imeem.com/v/ZHzplekEQa/aus=false/pv=2'></param><param name='allowFullScreen' value='true'></param><embed src='http://media.imeem.com/v/ZHzplekEQa/aus=false/pv=2' type='application/x-shockwave-flash' width='300' height='300' allowFullScreen='true'></embed></object>"
x3=document.createElement("div");
}
setTimeout("addbox()",1000);

im wondering why ur code started wit <div><embed src=    but ended with </div></div>

Last edited by switpotato (2008-03-24 13:53:10)


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

#57  2008-03-24 13:59:37

alotta_warmhart
» FriendsterTalker
alotta_warmhart's display avatar
Class X
Location: JP
Registered: 2008-02-29
Posts: 117
Last visit: 2008-08-30
Reputation: 3
Friendster

Re: Add Box Short Script

where does it have to end? when i try this at mainbar it really works, any place it worked but at the sidebar it wont.....

this is my code


Code:

function addbox(){
x1=document.createElement("div");
x1.id="friendpic";
document.getElementById("2").parentNode.appendChild(x1);
friendpic.innerHTML="<h2>My SLide</h2>"
+"<div><embed src='http://widget-72.slide.com/widgets/slideticker.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' flashvars='cy=ld&il=1&channel=360287970190567282&site=widget-72.slide.com' style='width:250px;height:250px' name='flashticker' align='middle'/> </div>"
}
selfTimeout("addbox()",1000);

this is my testpage  http://profiles.friendster.com/44432191
i removed all my hide codes at the sidebar part and it wont appear, I'm sad i cant figure it out....help sis!

Last edited by alotta_warmhart (2008-03-24 14:02:06)


Add me! seventhwarmhart83@yahoo.com
My Friendster Profile updated!

#58  2008-03-24 14:01:11

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

Re: Add Box Short Script

may i suggest juz use the add box gen


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

#59  2008-03-24 14:12:28

alotta_warmhart
» FriendsterTalker
alotta_warmhart's display avatar
Class X
Location: JP
Registered: 2008-02-29
Posts: 117
Last visit: 2008-08-30
Reputation: 3
Friendster

Re: Add Box Short Script

am using IE but your eg. page wont open so i cant see it, anyway really thanks for ur help...maybe i can figure this out anytym soon...


Add me! seventhwarmhart83@yahoo.com
My Friendster Profile updated!

#60  2008-03-24 14:44:20

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

Re: Add Box Short Script

okie okie... heres ur code...
http://www.geocities.com/potato.tidbits … widget.txt

Last edited by switpotato (2008-03-24 15:04:42)


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

Board footer

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

[ 28 queries - 0.450 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. =)