[quote=boknoykatok]how can we make it placed at the right side?[/quote]
read the instruction carefully pls...
[quote=switpotato]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)
just remember to change the double quote " to single '
eg:
if the width= "500" change it to width= '500'
if u want to reposition it just change the getelementById ("0")
to any number that correspond the box u want it to appear
if u want to apply css use the id u use for ur addbox
in the code presented it uses playist as the id
thus the css will be like this:
#playlist {margin-bottom: 40px! important; border etc etc}
#playlist h2 { text-align:center! important; font etc etc! important}[/quote]
change the [0] to specific target box... if u want ur add box to appear bellow ur friendlist change it to [2]
Last edited by switpotato (2008-05-04 11:03:12)