RE: Existing Tabs Helper?

javascript/css.
Stephan

I’m not positive what the OP is referring to, but I’d like some sort
of plugin where my views show up as tabs on a page that users
could click on for easier navigation.

Does something like that exist?

Thanks,

Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.

The havoc tabs are really easy to use, but depend on javascript and css
being available.

See http://www.havocstudios.com/articles/ajax/ajax_tabs/

In essence, here is your “index” page:

havocStudios: Ajax Tabs Demo @import "tabs.css";
	<script type="text/javascript">
		function doOnLoad() {
			OpenTab("tab_page1", "Page 1", "page1.html", false, '');
		}
	</script>
</head>

<body onload="doOnLoad()">
	<div id="tabContainer">
		<div id="tabs">
			<ul id="tabList">
			</ul>
		</div>
		<div id="tabPanels"></div>
	</div>

</body>

Then you add lines OpenTab(…) for all the views that you like.

But it doesn’t work well when there are too many tabs.

So if you can get a handle on the available views, you could add
methods/fields to their controllers to fill in the OpenTab paramaters
for the tab (viewname, title, can be closed, colour,…),
and that would be what you are looking for: collect that information in
another index view. and produce the HTML from above, with the OpenTab
lines.
But maybe that doesn’t need to be automated. Adding the required lines
manually, and placing the file in the public folder should be enough.
The Havoc tabs also allow opening new tabs later on, closing them, …

If you don’t want to rely on javascript, I don’t know.

Stephan