The largest Interview Solution Library on the web

« Previous | 1 | 2 | 3 | Next »
TabContainer: This is a container that has multiple panes, but it displays only one pane at a time. There are multiple tabs corresponding to each pane, where each tab has the title and close button (label) of the pane. The close button is an optional button whenever you require. When you want to close any tab the click on the close button.
<link rel="StyleSheet" type="text/css" href="js/dijit/themes/tundra/tundra.css">
<script type="text/javascript">
var djConfig = {
baseScriptUri : "js/dojo/",
parseOnLoad : true
</script><script type="text/javascript" src="js/dojo/dojo.js"></script>
</script></head><body class="tundra">
<div dojoType="dijit.layout.TabContainer" style="width:600px;height:150px">
<div dojoType="dijit.layout.ContentPane" title="Struts">
Struts Tutorial</div>
<div dojoType="dijit.layout.ContentPane" title="Hibernate" closable="true" selected="true">Hibernate Tutorial
</div><div dojoType="dijit.layout.ContentPane" title="Spring">
Spring Tutorial</div></div></body></html>
« Previous | 1 | 2 | 3 | Next »

copyright © 2014 - all rights riserved by