Switch to full style
JQuery Examples
Post a reply

Show Tabs Panel using JQuery

Fri Jan 11, 2013 1:23 pm

Show Tabs Panel using JQuery
javascript code
<html>
<head>
<title>Show Tabs Panel using JQuery</title>

<!--
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
Note you can download the JQuery package instead of using Google version. -->
<script src="jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
<style type="text/css">
#myTabs
{
font-weight:bold;
background:#13C481;

text-align:center;


padding:0px;
text-decoration: underline;
color:Red;
}
</style>
<script>
$(function() {
$( "#myTabs" ).tabs();
});
</script>
</head>
<body>

<div id="myTabs">
<ul>
<li><a href="#tabs-1">Tabl</a></li>
<li><a href="#tabs-2">Tab2</a></li>
<li><a href="#tabs-3">Tab3</a></li>
</ul>
<div id="tabs-1">
<p>Content 1</p>
</div>
<div id="tabs-2">
<p>Content 2</p>
</div>
<div id="tabs-3">
<p>Content 3</p>

</div>
</div>


</body>
</html>




Post a reply
  Related Posts  to : Show Tabs Panel using JQuery
 Load Content to Tabs using AJAX and JQuery     -  
 Show Progress Bar using JQuery     -  
 Show slider Bar using JQuery     -  
 Show Spinner using JQuery     -  
 Show popup dialog using JQuery     -  
 Show loading image from JQuery     -  
 Show hint when focus on html element using JQuery     -  
 Re: An example show what is LAN     -  
 show the content of set     -  
 how to show hashmap value in a textbox     -  

Topic Tags

JQuery UI