bagaimana membuat tab View ??
contoh :
------------------------------------------------------------------------------------------------------contoh :
mudah kok cara nya:
kamu klik rancangan > tambah widgate > pilih HTML/Java scrip
lalu copy HTML di bawah ini dan edit lah :))
selamat berkreasi
sebenar nya ada cara yang lain membuat Tab View tapi yang ini lebih simpel ..:))
<div><style type="text/css">
div.TabView div.Tabs
{height: 30px;overflow: hidden}
div.TabView div.Tabs a {float:left; display:block; width: 90px; /* Lebar Menu Utama Atas */
text-align:center ; height: 30px; /* Tinggi Menu Utama Atas */
padding-top:8px; vertical-align:middle; border:1px solid #BDBDBD; /* Warna border Menu Atas */
border-bottom-width:0; text-decoration: none; font-family: "Verdana", Serif; /* Font Menu Utama Atas */
font-weight:bold; color:#000; /* Warna Font Menu Utama Atas */ -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px}
div.TabView div.Tabs a:hover, div.TabView div.Tabs a.Active {background-color: #fff ; /* Warna background Menu Utama Atas */ }
div.TabView div.Pages {clear:both; border:1px solid #BDBDBD; /* Warna border Kotak Utama */ overflow:hidden; }
div.TabView div.Pages div.Page {height:100%; padding:0px; overflow:hidden}
div.TabView div.Pages div.Page div.Pad {padding: 5px 5px}
</style>
<script type='text/javascript'>
//<![CDATA[
function tabview_aux(TabViewId, id)
{
var TabView = document.getElementById(TabViewId);
// ----- Tabs -----
var Tabs = TabView.firstChild;
while (Tabs.className != "Tabs" ) Tabs = Tabs.nextSibling;
var Tab = Tabs.firstChild;
var i = 0;
do
{
if (Tab.tagName == "A")
{
i++;
Tab.href = "javascript:tabview_switch('"+TabViewId+"', "+i+");";
Tab.className = (i == id) ? "Active" : "";
Tab.blur();
}
}
while (Tab = Tab.nextSibling);
// ----- Pages -----
var Pages = TabView.firstChild;
while (Pages.className != 'Pages') Pages = Pages.nextSibling;
var Page = Pages.firstChild;
var i = 0;
do
{
if (Page.className == 'Page')
{
i++;
if (Pages.offsetHeight) Page.style.height = (Pages.offsetHeight-2)+"px";
Page.style.overflow = "auto";
Page.style.display = (i == id) ? 'block' : 'none';
}
}
while (Page = Page.nextSibling);
}
// ----- Functions
function tabview_switch(TabViewId, id) { tabview_aux(TabViewId, id); }
function tabview_initialize(TabViewId) { tabview_aux(TabViewId, 1); }
//]]>
</script>
<form action="tabview.html" method="get">
<div id="TabView" class="TabView">
<div style="width: 280px;" class="Tabs">
<a>List</a>
<a>Support</a>
<a>Visitors</a>
</div>
<div style="width:280px; height:280px; " class="Pages">
<div class="Page">
<div class="Pad">
Cara Memper Cantik Blog Anda :D
<div class="list">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<a href="http://setya-wa2n.blogspot.com/2012/04/membuat-link-berjalan-d.html" target="_blank" title=" Tukar Link yu ! or Saling Follow"><img style="border:0px; margin-top:5px; width:120px; height:80px;" alt=" Tukar Link Canti Berkualitas " src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKl6MxYFKKFAF-d_57wuluNVMk6D-mtMa0mqeHlMZZymU8l4-UTxzAHnq4HILsD19tI2ZsFkK_4A8jeEQNyEqTvMfPpsA64EIYy1hVW9Ub619q8MD5iIW1xOJF6maWlZ6xaoz-IZtSiQw/s320/DO+FOLLOW.jpg"/></a>
</div>
</div>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/cara-meningkatkan-pag-rank-blog.html">Kenapa PageRank Blog Turun ?</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/trik-internet-gratis-all-operator.html">Trik Internet Gratis all Operator :D</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/membuat-link-berjalan-d.html">Membuat Tukar Link Berjalan</a>
</div>
<div class="list">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<a href="http://setya-wa2n.blogspot.com/2012/04/tukar-link-gratis-cantik-dan.html" target="_blank" title="Tukar Link Canti Berkualitas
[Maaf Atas Ketidak Nyamanannya]"><img style="border:0px; margin-top:5px; width:150px; height:80px;" alt=" Tukar Link Canti Berkualitas " src="http://berix.freeiz.com/wp-content/uploads/2011/09/tukar-link-300x196.jpg"/></a>
</div>
</div>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/membuat-spoiler-di-blog.html">Membuat Spoiler di Blog</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/cara-mendapatkan-backlink-gratis-secara.html">Cara dapat Backlink otomatis !</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/membuat-pop-up-facbook-like-box-dengan.html">membuat Timmer Like FP di Blog</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/cara-menghilangkan-timeline-facebook.html">Cara menghilangkan Time line di Fb</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/membuat-recent-post-bergerak.html">Membuat Recent post bergerak</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/cara-membuat-logobanner-tukar-link.html">Cara membuat Barnner/Logo BLOG</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/kode-kode-warna-html.html">Membuat bentuk warna dalam kode HTML</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-membuat-gambar-melayang.html ">Membuat Gambar Melayang</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-membuat-widgate-update-status-fb.html ">Memasang Update FB di Blog</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-memasang-update-twitter-di-blog.html ">Memasang Update Twitter di Blog
</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/membuat-widgate-slideshow.html ">Cara Membuat Slide Show</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-cepat-menaikkan-pagerank-dan.html ">Cara Cepat Menaikkan Pagerank</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-menamilkan-blogweb-teman-ke-blog.html ">Cara membuat Web Temen Tampil di Bloh kita</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-memasang-alexa-di-blog.html ">Cara memasang Alexa</a>
</div>
<div class="list">
<a href="http://setya-wa2n.blogspot.com/2012/04/membuat-artikel-terkait-random.html ">Membuat Artikel Terkait Random</a>
</div>
<div class="list">
<a href=" http://setya-wa2n.blogspot.com/2012/04/cara-memasang-radio-online.html ">Memasang Radio Online</a>
</div>
0 komentar:
Posting Komentar