Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Create Tabbed View Content Box (Part 2) [Easy Way]

<style type="text/css">
div.TabTampil div.TTs
{height: 24px; overflow: hidden; }
div.TabTampil div.TTs a:hover, div.TabTampil div.TTs a.Active
{ background-color: #77d0ee; }
div.TabTampil div.Halamans
{ clear: both; border: 1px solid #0199cb; overflow: hidden; background-color: #ffffff;}
div.TabTampil div.Halamans div.Halaman
{ height: 100%; padding: 0px; overflow: hidden; }
div.TabTampil div.Halamans div.Halaman div.Alas
{ padding: 3px 5px; }
div.TabTampil div.TTs a
{ border-left:1px solid #0199cb; border-right:1px solid #0199cb; border-top:1px solid #0199cb; border-bottom:0px solid #0199cb; float: left;
display: block; width: 100px; text-align: center; height: 24px; padding-top: 3px; vertical-align: middle; text-decoration: none; font-family: "Arial", Serif; font-size: 12px; font-weight: 900; color: #222}
</style>
<form action="tabtampil.html" method="get">
<div id="TabTampil" class="TabTampil">
<div style="width: 370px;" class="TTs"> <a>Tab 1 Name</a> <a>Tab 2 Name</a> <a>Tab 3 Name</a></div>
<div style="width: 350px; height: 300px;" class="Halamans">
<div class="Halaman">
<div class="Alas">
Tab 1 content goes here
Tab 1 content goes here
Tab 1 content goes here
</div>
</div>
<div class="Halaman">
<div class="Alas">
Your tab 2 content goes here
Your tab 2 content goes here
Your tab 2 content goes here
</div>
</div>
<div class="Halaman">
<div class="Alas">
Tab 3 content goes here
Tab 3 content goes here
Tab 3 content goes here
</div>
</div>
</div>
</div></form>
<script style="text/javascript" src="http://malaysiaforunity.comxa.com/misc/newscriptab.js"></script>
<script type="text/javascript">tabtampil_inisial('TabTampil');</script>
change color in red to your prefered color
change color in green to your prefered Text/ widget
change color in blue to your prefered sidebar width and also height
Source from Adiestudio


This post first appeared on Techno Blog.., please read the originial post: here

Share the post

How to Create Tabbed View Content Box (Part 2) [Easy Way]

×

Subscribe to Techno Blog..

Get updates delivered right to your inbox!

Thank you for your subscription

×