Hello
Yes indeed,
this.activeTabId = 'tab4'
On Fri, Mar 27, 2009 at 10:12 PM, Howard Lewis Ship wrote:
> Do you mean:
>
> this.activeTabId = 'tab4'
>
> ?
>
> If not, there's your answer.
>
> On Fri, Mar 27, 2009 at 11:35 AM, Peter Kanze
> wrote:
> > Hello
> > Why is this working:
> > if (ele
Do you mean:
this.activeTabId = 'tab4'
?
If not, there's your answer.
On Fri, Mar 27, 2009 at 11:35 AM, Peter Kanze wrote:
> Hello
> Why is this working:
> if (element.up().id == 'tab4')
> element.addClassName('active');
>
> And this not:
> if (element.up().id == this.activeTabId) {
>
Hello
Why is this working:
if (element.up().id == 'tab4')
element.addClassName('active');
And this not:
if (element.up().id == this.activeTabId) {
element.addClassName('active');
And this.activeTabId = tab4
See here the full javascript code:
var ActiveStyle = Class.create();
ActiveSty