prototype version
Details, code, urls? 1.5.0 and 1.5.1 both work with all version of Control.Tabs.
Posted June 14th, 2007 at 9:00pm by ryan
Control.Tabs does not work with prototype 1.6.
<html>
<head>
<title>Set</title>
<link rel="stylesheet" href="/common/css/subsection_tabs.css"/>
<script src="http://livepipe.net/scripts/prototype.js"></script>
<script type="text/javascript" src="/common/js/control.tabs.2.1.1.js"></script>
</head>
<body>
<div id='main'>
<ul id="tabs_example_one" class="subsection_tabs">
<li><a href="#one">One</a></li>
<li><a href="#two">Two</a></li>
</ul>
<div id="one"><p>This is the simplest example of a set of tabs.</p>
</div>
<div id="two"><p>Note that the styling for the tabs is done with CSS, not the Control.Tabs script.</p></div>
<script>
new Control.Tabs('tabs_example_one');
</script>
</div>
</body>
</html>
The above works. If you change the version of prototype to 1.6, all the divs are displayed, and after clicking on all the tabs once each div is properly set and it will work.
Tac
Posted January 22nd, 2008 at 5:47pm by tacman1123
I don't see any tabs. I'm using Instant Rails which uses prototype.js version 1.5.0 Is 1.5.1 required?
Posted June 14th, 2007 at 7:04pm by mv