You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Citron, David" <dc...@sonusnet.com> on 2008/10/29 21:46:08 UTC
Tab scrolling not working
Scrolling tabs in the "tabs" feature was not working for me.
The issue appears to be that the event handler registration is
incorrect?
leftNav.onclick = function(event) {
this.smoothScroll_(wrapper, -120);
};
rightNav.onclick = function(event) {
this.smoothScroll_(wrapper, 120);
};
The "this" pointer at the time the event fires is referring to the
HTMLElement object, not the TabSet object.
I created https://issues.apache.org/jira/browse/SHINDIG-667 with a patch
that worked for me.
Thanks,
Dave