check ur addbox id .... u use same target area
w/c is #2 the friend list...
change the number for ur second add box..
[quote]function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById[color=red][b]("2").[/b][/color]parentNode.appendChild(x1);
playlist.innerHTML="<h2>My pLayList</h2>"
+"<object width='250' height='300'><param name='movie' value='http://www.youtube.com/p/E0DFCFF65F8B8B9E' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/p/E0DFCFF65F8B8B9E' type='application/x-shockwave-flash' width='300' height='250' wmode='transparent'></embed></object>"
x2=document.createElement("div");
x2.id="anotherekek";
document.getElementById[color=red][b]("2").[/b][/color]parentNode.appendChild(x2);
anotherekek.innerHTML="<h2>My music</h2>"
+"<object width=’300’ height=’340’><param name=’movie’ value=’http://media.imeem.com/pl/mVwXEFq3tD/’></param><param name=’wmode’ value=’transparent’></param><embed src=’http://media.imeem.com/pl/mVwXEFq3tD/’ type=’application/x-shockwave-flash’ width=’300’ height=’340’ wmode=’transparent’></embed></object>"
};[/quote]
u may use the playilst id thou... 4 ur second add box...
change the number 2 to playlist...
Last edited by switpotato (2008-05-09 02:05:30)