[quote=HabibiDXXX]ada yg taw kode JS nya buad nambah app buad munculin sidebarnya imeem / youtube gt ?[/quote]
[b]Add Youtube Side Bar
[/b]
[quote]if (!attachOnLoadHandler(function(){editContent200()})) parent.onload = function(){editContent200()};
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 editContent200() {
var youtube7="<div align='center' id='youtube'>"+
"[color=pink]<object width='80%' height='370'><param name='movie' value='http://www.youtube.com/p/wakeko'></param><embed src='http://www.youtube.com/p/wakeko' type='application/x-shockwave-flash' width='90%' height='200'></embed></object>[/color]"+
"</div>";
addSideBar("[color=indigo]YOUTUBE![/color]",youtube7,"ul_youtube_content");
}
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);
}
}[/quote]
[color=pink]PINK TEXT[/color] = Replace all the pink text with your [b]Youtube Playlist Code[/b]
[color=indigo]YOUTUBE[/color] = Replace text with your side bar header/name
[quote=aris43]i cb buat cursor kok ssh amat cih...
help me again....please!!!!!!!
[/quote]
pake ini <">untuk mendapatkan url cursor na
cuba kesini...
[url=http://www.friendstertool.com/graphics/cursors/]GRAPHIC CURSOR[/url]
ato ini...
[url=http://www.totallyfreecursors.com/]TOTTALY FREE CURSOR[/url]
Last edited by sekya (2008-02-16 23:07:31)