[b]-nDIVe-[/b] kalau 4 tab jadi gini [spoiler]
var content1 = "KODE CONTENT 1";
var content2 = "KODE CONTENT 2";
var content3 = "KODE CONTENT 3";
[b]var content4 = "KODE CONTENT 4";[/b]
var multicontent = "<ul id='countrytabs' class='shadetabs'>"+
"<li><a href='#' rel='country1' class='selected'>JUDUL CONTENT 1</a></li>"+
"<li><a href='#' rel='country2'>JUDUL CONTENT 2</a></li>"+
"<li><a href='#' rel='country3'>JUDUL CONTENT 3</a></li>"+
[b]"<li><a href='#' rel='country4'>JUDUL CONTENT 4</a></li>"+[/b]
"</ul>"+
"<center><div style='border:1px solid gray; width:450px; -moz-border-radius: 10px!important; margin-bottom: 1em; padding: 10px'>"+
"<div id='country1' class='tabcontent'>"+content1+"</div>"+
"<div id='country2' class='tabcontent'>"+content2+"</div>"+
"<div id='country3' class='tabcontent'>"+content3+"</div>"+
[b]"<div id='country4' class='tabcontent'>"+content4+"</div>"+[/b]
"</div></center>";
addBox("RIGHT","JUDUL BOX",multicontent,"multicontent","6");
var countries=new ddtabcontent("countrytabs")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()[/spoiler]
kalu cboxnya jadi gini [spoiler]
var content1 = "[b]<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='160' src='http://www3.cbox.ws/box/?boxid=2839512&boxtag=a2lb01&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#000000 1px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='100%' height='75' src='http://www3.cbox.ws/box/?boxid=2839512&boxtag=a2lb01&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#000000 1px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>[/b]";
var content2 = "KODE CONTENT 2";
var content3 = "KODE CONTENT 3";
var multicontent = "<ul id='countrytabs' class='shadetabs'>"+
"<li><a href='#' rel='country1' class='selected'>[b]cboxku[/b]</a></li>"+
"<li><a href='#' rel='country2'>JUDUL CONTENT 2</a></li>"+
"<li><a href='#' rel='country3'>JUDUL CONTENT 3</a></li>"+
"</ul>"+
"<center><div style='border:1px solid gray; width:450px; -moz-border-radius: 10px!important; margin-bottom: 1em; padding: 10px'>"+
"<div id='country1' class='tabcontent'>"+content1+"</div>"+
"<div id='country2' class='tabcontent'>"+content2+"</div>"+
"<div id='country3' class='tabcontent'>"+content3+"</div>"+
"</div></center>";
addBox("RIGHT","JUDUL BOX",multicontent,"multicontent","6");
var countries=new ddtabcontent("countrytabs")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()[/spoiler]
Last edited by teguh0203 (2008-08-18 03:37:14)