friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#21  2008-02-13 11:09:33

ameng
» FriendsterNewbie
Registered: 2007-12-06
Posts: 69
Last visit: 2008-11-16
Reputation: ~

Re: Add Box Short Script

:arrow:  thanks swit...i got it..but in my new addbox there is no header like other boxes~ u get what i mean rite? below are my CSS codes

/* addbox*/
#playlist {
border-width: 2px;
  border-color: #999999;
  border-style: solid;
  background-color: transparent;
  background-image: url(http://img80.imageshack.us/img80/1239/f…ee4ng6.gif);
  background-position: center;
  background-repeat: repeat;
  filter:alpha(opacity=85);
  margin-bottom:40px!important;
}

:arrow:  and for my JS codes as stated down here.

//Addbox
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<center><b>۞ My Time ۞</b>"
+"<br><br><embed src='http://www.clocklink.com/clocks/5007-black.swf?TimeZone=GMT0800&'  width='400' height='30' wmode='transparent' type='application/x-shockwave-flash'></center></embed><br>"

:arrow:  How do i get the header which separate with the background like the other boxes...help me, please~ thanks Swit~

#22  2008-02-13 12:51:37

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

Re: Add Box Short Script

u missd the other css i posted...
juz add
#playlist  h2{s tyle here!important;}

and under ur js u missd this

playlist.innerHTML="<h2>My Playlist</h2>"

Last edited by switpotato (2008-02-13 14:28:47)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#23  2008-02-13 17:05:11

ameng
» FriendsterNewbie
Registered: 2007-12-06
Posts: 69
Last visit: 2008-11-16
Reputation: ~

Re: Add Box Short Script

:arrow: still the same...i dont see the separate HEADER. hmmm...

#24  2008-02-13 21:53:36

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

Re: Add Box Short Script

ameng wrote:

:arrow: still the same...i dont see the separate HEADER. hmmm...

keep  this part as is  <h2> title here</h2>nothing else

just apply the bold and center thing  to ur css
like 4 eg:
#playlist h2 { text-align: center; font etc etc ! important}


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#25  2008-02-14 06:19:23

_silent.sand_
» FriendsterAddict
_silent.sand_'s display avatar
--all alone.
Location: --n my bed.
Registered: 2007-07-09
Posts: 593
Last visit: 2008-04-27
Reputation: 2
Friendster

Re: Add Box Short Script

um,question. :question:

how do u put the box on the ryt part?
(where the friends,fans,etc. are) :retard:

(my eyes are hurtin findin that trick,  :/ )



#26  2008-02-14 06:59:01

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

Re: Add Box Short Script

document.getElementById("0")

the red part is for the controlpanel box which is on the left...just change the number to a certain id number of any box on the right side like 2 for friends, 7 for fan profiles, 14 for google ads, or 8 for groups

#27  2008-02-14 07:21:32

super_man1990
» FriendsterTalker
super_man1990's display avatar
D' mAn 0f sTeEl
Location: Philippines
Registered: 2007-08-21
Posts: 130
Last visit: 2008-10-29
Reputation: ~

Re: Add Box Short Script

question: it is posible to put 2 to 3 codes with the same "document.getElementById("0")"


#28  2008-02-14 07:41:19

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

Re: Add Box Short Script

then use the symbol  +


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#29  2008-02-14 07:59:54

super_man1990
» FriendsterTalker
super_man1990's display avatar
D' mAn 0f sTeEl
Location: Philippines
Registered: 2007-08-21
Posts: 130
Last visit: 2008-10-29
Reputation: ~

Re: Add Box Short Script

wer do i put this + swit of FM lolz..


#30  2008-02-14 08:09:17

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

Re: Add Box Short Script

wakoko use ur coconut ...superman of ftalk but having fun asking  in fm..

try to analize the codes...
how h2 been added and the add ons in innerhtml..
  + r there not juz for a design... toinkzzz

Last edited by switpotato (2008-02-14 08:11:25)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#31  2008-02-14 08:16:41

super_man1990
» FriendsterTalker
super_man1990's display avatar
D' mAn 0f sTeEl
Location: Philippines
Registered: 2007-08-21
Posts: 130
Last visit: 2008-10-29
Reputation: ~

Re: Add Box Short Script

now i see, tnx swit...alis na ko im getting nose bleed lolz... :wallbash:  :wallbash:


#32  2008-02-14 08:19:48

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

Re: Add Box Short Script

:-O gud only nosebleed.. and gud thing u still got blood running in ur coconut nyahahaha...

well anywayz gud luck...
and pls dont bang ur head that much..
it will make some left over blood clot.. lol..
juz kidding hapi valentine ...

smile :P

Last edited by switpotato (2008-02-14 08:21:54)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#33  2008-02-16 02:58:55

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

Re: Add Box Short Script

hmmm i tried this three times.. didnt work... can anyone please check it i have the right code...


JS


/* --PLAYLIST --  */

x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My 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>"


CSS

/* --PLAYLIST --  */

#playlist {margin-bottom: 40px! important; border etc etc}
#My Playlist h2 { text-align:center! important; font etc etc! important}


#34  2008-02-16 03:12:42

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

Re: Add Box Short Script

check ur id...
u uses 2 different ids
#playist and #myplaylist
and again  better read my first post i told there to change the double quote to single
='http://www.loudfusion.com/widgets/music/5' name='Loudfusion.com'

and dont use  /* Playlist*/ for ur js its only for css....if u want a quick identification use this //playlist

wakoko the more i see ur codes i ts really a miracle it will work...
my advice just copy paste the codes as is and just edit it one at  a tym...

Last edited by switpotato (2008-02-16 03:25:41)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#35  2008-02-16 03:27:37

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

Re: Add Box Short Script

switpotato wrote:

check ur id...
u uses 2 different ids
#playist and #myplaylist
and again  better read my first post i told there to change the double quote to single
='http://www.loudfusion.com/widgets/music/5' name='Loudfusion.com'

and dont use  /* Playlist*/ for ur js its only for css....if u want a quick identification use this //playlist


Thanks for the quick response.. i have been trying this since this afternoon... =(
Do you mean like this?



// PLAYLIST LOUDFUSION 

x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My 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>'

Last edited by babevian (2008-02-16 03:28:35)


#36  2008-02-16 04:47:23

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

Re: Add Box Short Script

wee yehey u got it ryt..kinda...
since u make an effort here the ryt one...

// PLAYLIST LOUDFUSION 

x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My 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>"

btw r  u sure u want that to appear only in ie...
if u want it to b crossbrowser... better use function with setTimeout... like the one i posted in first page...


regarding ur... css .. just use #playlist h2 and #playlist since thats the id u used in js...

Last edited by switpotato (2008-02-16 04:51:12)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#37  2008-02-16 05:18:15

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

Re: Add Box Short Script

switpotato wrote:

wee yehey u got it ryt..kinda...
since u make an effort here the ryt one...

// PLAYLIST LOUDFUSION 

x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My 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>"

btw r  u sure u want that to appear only in ie...
if u want it to b crossbrowser... better use function with setTimeout... like the one i posted in first page...


regarding ur... css .. just use #playlist h2 and #playlist since thats the id u used in js...

waaaaaaaaa =(
why its not working... 


JSS

Code:

// PLAYLIST LOUDFUSION  

x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My 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)



CSS

/* -- PLAYLIST LOUDFUSION-- */
#playlist {margin-bottom: 40px! important; border etc etc}
#My Playlist h2 { text-align:center! important; font etc etc! important}

Thanks for being patient girl =)

Last edited by babevian (2008-02-16 05:20:38)


#38  2008-02-16 05:29:41

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

Re: Add Box Short Script

it wont work .. with tooooooo many reason first the js part...

function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My Playlist</h2>"
+"COMPLETE EMBED CODE HERE / CHATBOX / SLIDE WHATEVER"
}
setTimeout("addbox()",1000)

u missd the bold part...

second ur css... i told u use same/one  id...

/* -- PLAYLIST LOUDFUSION-- */
#playlist {margin-bottom: 40px! important; border etc etc}
#playlist h2 { text-align:center! important; font }

and pls dont include my etc etc.... waa complete the css codes example font-weight:bold...so on and so fort ...

Last edited by switpotato (2008-02-16 05:32:15)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

#39  2008-02-16 07:32:46

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

Re: Add Box Short Script

hi swit can u check my code pls..when i add another box to this code my whole js doest worked..pls help...

function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("14").parentNode.appendChild(x1);
playlist.innerHTML="<h2>MY MUSIC</h2>"
+"<object width='300' height='290'><param name='movie' value='http://media.imeem.com/pl/XykxiZRJ0v/'></param><param name='wmode' value='transparent'></param><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>"
+"<div align='center' id='cboxdiv'>
<iframe frameborder='0' width='160' height='273' 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/>
<iframe frameborder='0' width='160' height='107' src='http://www4.cbox.ws/box/?boxid=3379717&boxtag=5849&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 1px solid;border-top:0px' id='cboxform'></iframe>
</div>
"
}
setTimeout("addbox()",1000)

Last edited by sexy_martina (2008-02-16 07:36:45)

#40  2008-02-16 08:59:41

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

Re: Add Box Short Script

martina dont include the param and object just the embed part
and same with t he div for ur chatbox just includ e the iframe..
to center it use ur css for that

Last edited by switpotato (2008-02-16 09:09:26)


   
my official site>>    http://switpotato.ucoz.com/
Ive juz realized.. many peepz r such a user..
to all affected with this have a lil delicadeza..remove
my works from ur site... u r selfish ... who knows how to get
but never know how to give.. puro sarili inintindi nyo!!

Search Friendstertalk

Board footer

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

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