Re: Bro n sist ...
sebener na ini code , udah banyak dipake n pasti na ga asing lagi
buat yg udah pake WVM atau Tracker.JS :)
Dengan kombinasi code ini , kita bakal bisa nambah apa aja ([b]tanpa track
sist ANNA klo SideBar nya ga muncul yg salah apax...?bantuin donk...!!scripx tolong di edit klo ada yg salah.
// ADD SIDE BOX
if(!attachOnLoadHandler(function()
{
boxbaru_ke1();
boxbaru_ke2();
boxbaru_ke3();
}
)
)
parent.onload = function()
{
boxbaru_ke1();
boxbaru_ke2();
boxbaru_ke3();
}
//BOX 1
function boxbaru_ke1()
{
var box1 = "<div id='box1div'>"+
"<object width='100%' height='370'><param name='movie' value='http://media.imeem.com/pl/WxGlL2_UF0/autoShuffle=true/'></param><param name='wmode' value='transparent'></param><embed src='http://media.imeem.com/pl/WxGlL2_UF0/autoShuffle=true/' type='application/x-shockwave-flash' width='100%' height='300' wmode='transparent'></embed></object>"+
"</div>";
addSideBar("My Music",box1,"box_ke1");
}
function boxbaru_ke2()
{
var box2 = "<div id='box2div'>"+
"<center><iframe frameborder='0' width='100%' height='300' src='http://www2.cbox.ws/box/?boxid=1571910&boxtag=5686&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#787878 1px solid;' id='cboxmain'></iframe>"+
"<iframe frameborder='0' width='100%' height='75' src='http://www2.cbox.ws/box/?boxid=1571910&boxtag=5686&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#787878 1px solid;border-top:0px' id='cboxform'></iframe><center>"+
"</div>";
addSideBar("Messages For Ikhyu",box2,"box_ke2");
}
//BOX 3
function boxbaru_ke3()
{
var box3 = "<div id='box3div'>"+
"<center><object width='100%' height='300'><param name='movie' value='http://www.youtube.com/cp/vjVQa1PpcFP65tnzKEzTBBdRRdxDL2artmv3Omjgy60='></param><param name='wmode' value='transparent'></params><embed src='http://www.youtube.com/cp/vjVQa1PpcFP65tnzKEzTBBdRRdxDL2artmv3Omjgy60=' type='application/x-shockwave-flash' wmode='transparent' width='100%' height='366'></embed></object>"+
"</div>";
addSideBar("Video Favorite",box3,"box_ke3");
}
//add sidebar script
function addSideBar(head,htm,div_id) {
var innerHtm=htm;
var cont=
"<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+div_id+"'>"+
innerHtm+
"</div>"+
"</div>";
try {
var obj=document.createElement("<li>");
} catch(e) {
var obj=document.createElement("li");
}
var x=document.getElementById("friends_2_2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
thanks