Using the Tabs plug-in without panels...
Klaus:
Have you given any thought to making the "panel" being optional in the Tabs
plug-in?
I have a use case where the Tab plug-in will handle a majority of what I
needed it to do, but I don't really need the panels. I want to use the
callbacks to preview sections of a larger document. Right now if a match
panel doesn't exist an unhandled error is thrown by jQuery.
The effect I'm after is I have a page that's going to have a lot of
content--which is the way our clients have requested it. However, there is
some functionality that's buried further down in the page stream and I'm
building a "taskbar" which allows you to view that section of the page
without having to scroll to it.
So, I don't need new panes for each of the content--I just need to copy the
content to one centralized pane. I can create all the additional panes, but
they're unnecessary DOM elements.
Quickly looking through the code, it doesn't look like it would be easy to
remove the dependency on the panels but I thought I'd mention it since
there's a lot you can do with just the functionality of the actual tabbed
interface as-is.
-Dan