Re: :arrow: DELETED
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var getObj="<div id='music' align='center'>"+
"<object width='300' height='290'>"+
"<param name="movie" value="http://media.imeem.com/pl/nMGSKuhNp4/aus=false/"></param>"+
"<param name="wmode" value="transparent"></param>"+
"<embed src="http://media.imeem.com/pl/nMGSKuhNp4/aus=false/" type="application/x-shockwave-flash" width="300" height="290" wmode="transparent"></embed></object></div>";
addMainSideBox("My Music",getObj,"obj","moreabout_1_5");
}
function addMainSideBox(header,cont,id,target) {
var tb = document.getElementById(target).parentNode;
var divid="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+header+"</h2>"+
"<div id='content_"+id+"'>"+
"<div class='boxcontent'>"+
cont+
"</div>"+
"</div>"+
"</div>";
var obj = document.createElement("li");
obj.innerHTML=divid;
tb.parentNode.insertBefore(obj,tb);
}
this is my code..but i cant make it work..help?
im new on this srry..