More about TabBar

Hi again,

Still fiddling around with Joomla, BreezingForms and TabBar. Now I tried the html-approach…

I used the excellent tutorial, here’s a copy of the democode (the red bits are my addition!):

Content 1
Content 2
Content 3

a_tabbar.setTabActive(‘a2’);

Now, I suspect that the fact that a_tabbar is within a form complicates matters…and I’m not proficient enough in JavaScript to figure out how to refer to a_tabbar in this context. Any ideas from js-gurus?

Thx,

Mike

…and yeah, the error message is simply “a_tabbar is not defined”.

Mike

Hi
To set tab ‘a2’ ctive you need the next:

  1. add to your div tabbar attribute ‘oninit’:
2) call this function:

Thx for your reply. I added your suggestion, and the error message disappeared. That’s good!

Unfortunately, none of my tabbed areas appear - all are completely invisible. Now I don’t really know how to proceed :frowning: Could you maybe take a quick peek at my source-code, I pasted it into pastebin:

pastebin.com/TQN24q9P

Please, make a completed demo to reproduce your issue:
docs.dhtmlx.com/doku.php?id=othe … leted_demo