Re: [quote]function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My Playlist</h2>"
+"COMPLETE EMBED CODE H
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}