Pages: 12

  2008-09-24 22:47:26

tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

I'm pretty sure you've already seen this Show/Hide box trick, when you click on the header of the box it will toggle the box closed when it s open, vice versa. This 3 simple lines of codes will do the

@sliprock I've checked it again, because I thought it didn't works because tracker using <iframe> tag But it works fine. :o Here is some simple checking, to do: First don't include your own box, just use FS box [spoiler]var x = ['2', '8']; var y = ['content_2', 'content_8']; var z = []; tflAccordion(x,y,z);[/spoiler] If it works fine, then add your own box [b]one at a time[/b] [spoiler]addBox("TrackerHeader",TRACKER.div.innerHTML,"tracker","right"); var x = ['2', '8','tracker']; var y = ['content_2', 'content_8','content_tracker']; var z = []; tflAccordion(x,y,z);[/spoiler] If it works add another box, if not then you know which box is not working Place an alert box to see if the Content_ID is available [quote]addBox('TrackerHeader',TRACKER.div.innerHTML,'tracker','right'); [b]alert($('content_tracker').innerHTML);[/b] var x = ['2', '8','tracker']; ... ...[/quote] If it show [b]undefined [/b]then the problem is with Content_ID Don't forget addBox() [b]first[/b], tflAccordion() [b]later[/b] Hope, this will help you

Pages: 12

Board footer

© 2025 F Talk

Current time is 05:31

[ 12 queries - 0.008 second ]
Privacy Policy