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;
}
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>"
How do i get the header which separate with the background like the other boxes...help me, please~ thanks Swit~
-Offline- |

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)

still the same...i dont see the separate HEADER. hmmm...
-Offline- |

ameng wrote:
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}


um,question.
how do u put the box on the ryt part?
(where the friends,fans,etc. are)
(my eyes are hurtin findin that trick,
)
-Offline- |
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
-Offline- |

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

then use the symbol +


-Offline- |

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)


-Offline- |

:-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 
Last edited by switpotato (2008-02-14 08:21:54)


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}

-Offline- |

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)


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)

-Offline- |

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)


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
// 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)

-Offline- |

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)

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)
-Offline- |

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)
