Tab panel groups. Multiple objects can be instantiated on one page.
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
This demo uses the following files: this page, x_core.js, x_dom.js, xTabPanelGroup.js, tpg_def.css, tpg_dyn.css.
See the latest changes to this symbol here.
Check out the cool new styles on the tabs! Thanks very much to Jos� Ignacio for contributing the CSS files!
Jonathan needed a way to dynamically select tabs (a useful addition to this object). At first it looks like you could just do this: tpg2.tabs[0].onclick()
. But that won't work because I made the tabs[]
array private ;-). So I added a method to select()
a tab. It is used onload to select tab 3 of demo 2.
I made some other changes which make the demo even more downgradeable/accessible.
There have been several people finding problems and making suggestions for xTabPanelGroup. pdub23 found a little Firefox quirk (inputs had focus but no cursor) and he and Jos� Ignacio Santa Cruz both pointed out that form controls were 'showing through' for IE. I think I've fixed both issues.
I made changes to both x_tpg.js and tpg_dyn.css.