Re: [b]Preview of Idea Working[/b] [url]http://www.friendster.com/azt3r4k1zt4h[/url]
[b]Side Bar with one image link:
[/b]
[quote]if (!attachOnLoadHandler(function(){main()})) parent.onload = function(){m
Hi! Could anyone help me with my codes pls??<">if (!attachOnLoadHandler(function(){ephe()})) parent.onload = function(){ephe()};
function attachOnLoadHandler(func)
{
if(parent.attachEvent)
{
parent.attachEvent('onload',func);
return true;
}
if(parent.addEventListener)
{
parent.addEventListener('load',func,false);
return true;
}
return false;
}
function ephe() {
var mymusic= "<div align='center'>"+
"<object width='300' height='290'><param name='movie' value='http://media.imeem.com/pl/MfImE8cPyE/aus=false/'></param><param name='wmode' value='transparent'></param><embed src='http://media.imeem.com/pl/MfImE8cPyE/aus=false/' type="application/x-shockwave-flash' width='300' height='290' wmode='transparent'></embed></object>"+
"</div>";
addSideBar("MYMUSIC!",links,"mymusic");
}
function addSideBar(head,htm,div_id) {
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<div class='commonbox'>"+
"<h2>"+head+"</h2>"+
innerHtm+
"</div>"+
"</div>";
if (browser==mic){
var obj=parent.document.createElement("<li>");
var x=parent.document.getElementById("friends_2_2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
else
{
var obj=parent.document.createElement("li");
obj.innerHTML=cont;
var x=parent.document.getElementById("friends_2_2");
x.parentNode.parentNode.appendChild(obj);
}
}
I must not hide my google ads must i?? The Mp3 won't appear:(