Browse > Home >
aksesorias blogger
> Tips : Membuat tab view
Tips : Membuat tab view
ini contoh hasilnya:
cara nya gampang koq
# Login > Layout/tata Letak > Edit HTML
# Cek Expand Template Widget
# Paste-kan kode berikut di atas kode </head>
<script src='http://die-silver.googlecode.com/files/ardi33tabviewv2.js' type='text/javascript'/>
Kalau sudah, letakkan kode berikut di atas kode ]]></b:skin>
div.Tabardi33 div.TFs
{height: 30px; overflow: hidden;}
div.Tabardi33 div.TFs a
{float: left; display: block; text-align: center; text-decoration: none; font: normal 12px arial; padding:3px 5px 3px 3px; margin:0 5px 0 0;letter-spacing:-0.07em;
background:#f0f0f0;
color: #333;
border-top:1px solid #CCCCCC;
border-right:1px solid #999999;
border-bottom:1px solid #999999;
border-left:1px solid #cccccc;
-moz-border-radius-bottomright: 10px; -moz-border-radius-topright: 10px;
}
div.Tabardi33 div.TFs a:hover
{ background: #E8E8E8;
border-top:1px solid #999999;
border-right:1px solid #cccccc;
border-bottom:1px solid #cccccc;
border-left:1px solid #999999;}
div.Tabardi33 div.TFs a.Active
{ background: #E8E8E8;
color: #000000;
border-top:1px solid #999999;
border-right:1px solid #cccccc;
border-bottom:1px solid #cccccc;
border-left:1px solid #999999; font-weight:bold;}
div.Tabardi33 div.Pages
{ clear: both; overflow: hidden; height:240px; border:1px solid #EFF0F1; padding:0;background: #ffffff; -moz-border-radius:5px;}
div.Tabardi33 div.Pages div.Page
{height: 100%;padding: 0px; overflow: hidden; }
div.Tabardi33 div.Pages div.Page div.floor
{ font-size:11px;padding: 3px 5px; text-align:left;}
{height: 30px; overflow: hidden;}
div.Tabardi33 div.TFs a
{float: left; display: block; text-align: center; text-decoration: none; font: normal 12px arial; padding:3px 5px 3px 3px; margin:0 5px 0 0;letter-spacing:-0.07em;
background:#f0f0f0;
color: #333;
border-top:1px solid #CCCCCC;
border-right:1px solid #999999;
border-bottom:1px solid #999999;
border-left:1px solid #cccccc;
-moz-border-radius-bottomright: 10px; -moz-border-radius-topright: 10px;
}
div.Tabardi33 div.TFs a:hover
{ background: #E8E8E8;
border-top:1px solid #999999;
border-right:1px solid #cccccc;
border-bottom:1px solid #cccccc;
border-left:1px solid #999999;}
div.Tabardi33 div.TFs a.Active
{ background: #E8E8E8;
color: #000000;
border-top:1px solid #999999;
border-right:1px solid #cccccc;
border-bottom:1px solid #cccccc;
border-left:1px solid #999999; font-weight:bold;}
div.Tabardi33 div.Pages
{ clear: both; overflow: hidden; height:240px; border:1px solid #EFF0F1; padding:0;background: #ffffff; -moz-border-radius:5px;}
div.Tabardi33 div.Pages div.Page
{height: 100%;padding: 0px; overflow: hidden; }
div.Tabardi33 div.Pages div.Page div.floor
{ font-size:11px;padding: 3px 5px; text-align:left;}
- Klik Simpan perubahan dan Sekarang menuju ke Elemen halaman
- Klik Tombol Add gadget > HTML/Javascript
- Letakkan kode berikut dalam content:
<form action="tabardi33.html" method="get">
<div id="Tabardi33" class="Tabardi33">
<div class="TFs">
<a>Trik Blog</a>
<a>Kumpul Blogger</a>
<a>Link Box</a>
<a>Download</a>
</div>
<div class="Pages">
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
</div>
</div>
</form>
<script type="text/javascript">tabardi33_name('Tabardi33');</script>
<div id="Tabardi33" class="Tabardi33">
<div class="TFs">
<a>Trik Blog</a>
<a>Kumpul Blogger</a>
<a>Link Box</a>
<a>Download</a>
</div>
<div class="Pages">
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
<div class="Page"><!-- Tab -->
<div class="floor">
<br/><ul><li><a href="link anda">nama file anda</a></li></ul>
</div><!-- end Tab -->
</div>
</div>
</form>
<script type="text/javascript">tabardi33_name('Tabardi33');</script>
Perhatikan tulisan yg berwarna:
- Merah : Judul Tab
- Biru dan ungu : Isi (link dan nama file) untuk masing-masing tab
Artikel Terkait:
Langganan:
Posting Komentar (Atom)
2 Responses to “Tips : Membuat tab view”
wah ini nih yg judul yg lagi say cari" sumpah,sangat berguna untuk saya,selain men-seo frienlykan template juga bisa memperindah dan mengatur blog kita agar tidak semak,hehehe
5 Agustus 2010 pukul 18.09jujur,blog saya masih agak semak,hehehe
makasih tutorialnya sob
heheheh,,sama2 sob
5 Agustus 2010 pukul 20.15Posting Komentar