4.17.2010

How to make the tab view menu

4.17.2010
Along with bertambahya number of postings that we post, or premises the number of additional widgets in a blog, of course, will take place a lot, and that is certainly going to make our blog look cluttered because the preparation of the widgets that are not regular. To overcome such problems we need a tab menu item that can store fat in one simple box, and usually in the blogosphere Menu tab labeled View.
In this post I will explain how to make a little tab shootnya menu screen as below:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSuOcDHj1MGEV1gRV8NrKDLXsx7ZAF4BA3O_kZhzoH_5j0RsnDWD2UjOf0WSnpevHIl6JawiJzqcpeVpngWndEXKD_f9efrt5vjhPTmCdsGDXt167lvhRxxI4rCHvltnCwB433ahc4RyHt/s320/tabview.jpg


To make something like this
1. Login to blogger then select the menu "Layout -> Edit HTML"
2. Then find this code ]]></ b: skin>
3. Then enter the following code before the code of ]]></ b: skin> or tags into CSS.

div.TabView div.Tabs
{
height: 24px;
overflow: hidden;
}
div.TabView div.Tabs a
{
float: left;
display: block;
width: 90px; /* Lebar Menu Utama Atas */ text-align: center;
height: 24px; /* Tinggi Menu Utama Atas */
padding-top: 3px;
vertical-align: middle;
border: 1px solid #000; /* Warna border Menu Atas */
border-bottom-width: 0;
text-decoration: none;
font-family: "Times New Roman", Serif; /* Font Menu Utama Atas */
font-weight: 900;
color: #000; /* Warna Font Menu Utama Atas */
}
div.TabView div.Tabs a:hover, div.TabView div.Tabs a.Active
{
background-color: #FF9900; /* Warna background Menu Utama Atas */
}
div.TabView div.Pages
{
clear: both;
border: 1px solid #6E6E6E; /* Warna border Kotak Utama */
overflow: hidden;
background-color: #FF9900; /* Warna background Kotak Utama */
}
div.TabView div.Pages div.Page
{
height: 100%;
padding: 0px;
overflow: hidden;
}
div.TabView div.Pages div.Page div.Pad
{
padding: 3px 5px;
}

4. Note the text-text that is red, it is testimony to the settings Tab View. There is a color size etc.. To know the color kode2 please see HERE
5. The next step is put the following code before the code </head>


<script src='http://kendhin.890m.com/blog/tabview.js' type='text/javascript'/>

6. Then "On the save '
7. Then go to menu "Page Elements"
8. Then Select "Add a Gadget" -> "HTML / Javascript" in place that will be put Manu km View This Tab.
9. This is the script you should you install:

<form action="tabview.html" method="get">
<div class="TabView" id="TabView">
<div class="Tabs" style="width: 350px;">
<a>Tab 1</a>
<a>Tab 2</a>
<a>Tab 3</a>
</div>
<div class="Pages" style="width: 350px; height: 250px;">

<div class="Page">
<div class="Pad">
Tab 1.1 <br />
Tab 1.2 <br />
Tab 1.3 <br />
</div>
</div>

<div class="Page">
<div class="Pad">
Tab 2.1 <br />
Tab 2.2 <br />
Tab 2.3 <br />
</div>
</div>

<div class="Page">
<div class="Pad">
Tab 3.1 <br />
Tab 3.2 <br />
Tab 3.3 <br />
</div>
</div>

</div>
</div>
</form>

<script type="text/javascript">
tabview_initialize('TabView');
</script>


Description: - Angka2 or blue text (350px) is a measure of height and width tabview. - Code Green is the color of text in the main menu (Top Menu). - Code red is the content of tabvie TSB. You can fill it with links, images, banners, scripts, etc.. - To add amount of text in the menu and see berkedip2. add the menu underneath.

0 komentar:

Posting Komentar

Bagi yang udah baca posting dimohon dengan HORMAT untuk memberikan komentarnya,Tapi ingat!! jangan yang berbau sara,deskriminasi or Spam.Matur Nuwun.