help ..not working in my addbox...just wanna ask what is the addbox id of whos right click and wvmcbox..?? maybe im wrong in addbox id..how about the tracker ??
is this are correct??
var tracker_Slide = new Fx.Slide('content_tracker');
$('tracker').getFirst().addEvent('click',function(){tracker_Slide.toggle();});
tracker_Slide.toggle();
[spoiler]// Make 1st group (Left Side Box)
var a = ['0', '1', '6', '18','WVMCBOX'];
var b = ['content_0', 'content_1', 'content_6', 'content_18','content_WVMCBOX'];
var c = [];
// default, 'click' event - don't forget 2 click the close box header
tflAccordion(a,b,c);
var x = ['2', '8','div_327', 'clock','4600', 'box_ke2','tracker','SPAWNPIC','WHORC'];
var y = ['content_2', 'content_8','content_div_327', 'content_clock', 'content_4600','content_box_ke2', 'content_tracker', 'content_SPAWNPIC','content_WHORC'];
var z = [];
tflAccordion(x,y,z,'mouseenter');
//do not edit below this line
function tflAccordion(iel,eli,lei,eil){
iel.each(function(el,i){lei.push(new Fx.Slide(eli[i]));eil=eil||'click';$(iel[i]).getFirst().addEvent(eil,function(){if(!$(iel[i]).getFirst().hasClass('tflTglS')){iel.each(function(el,i){if($(iel[i]).getFirst().hasClass('tflTglS')){lei[i].slideOut();$(iel[i]).getFirst().removeClass('tflTglS')}});lei[i].slideIn();$(iel[i]).getFirst().addClass('tflTglS')}});(i==0)?$(iel[0]).getFirst().addClass('tflTglS'):lei[i].slideOut()})}
// end tflAccordion[/spoiler]
Last edited by sliprock (2008-09-08 13:27:45)