? Old Memory ?

» July 2011
» August 2011
» September 2011
» October 2011
» November 2011
» December 2011
» January 2012
» February 2012
» March 2012
» April 2012
» May 2012
» June 2012
» July 2012
» August 2012
» September 2012
» October 2012
» December 2012
» January 2013
» February 2013
» March 2013
» April 2013
» May 2013
» June 2013
» July 2013
» September 2013
» October 2013
» November 2013


? Entry ?

  • EpiloG : Eid 2011
  • EpiloG : Kerana Dirimu begitu berharga !
  • EpiloG : Spontaneous Sunday!
  • EpiloG : Wordless Friday !
  • EpiloG : Oooo Balik Kampung !!!
  • EpiloG : Indahnya Ciptaan Allah !
  • EpiloG : Dah Gila !
  • EpiloG : Syaitan Stroke
  • EpiloG : Biarkan ia pergi !
  • Irama : 1 2 3 ..... LaLaLaLa


  • ? Credit ?

    ©2013 Inspired By Twitter .
    A round applause for;
    This code 90.9% by Ohmyungshoe .
    Service and Terms are from her .
    The helper and some basecodes are from HER .
    Some Code in this Template was edited by Me.
    This blog looks hot in Google Chrome.
    Please do not view my page source.
    Ask me if you need any codes :Sayuri Hana
    Empowered by Blogger
    Tutorial : Tabview

    0 LoVeR | 03/09/2011

    Bismillahirahmannirahim..
    Assalamualaikum w.b.t
    Dear BeloG,



    Baru aja belaja wat benda [atas ni] ..
    Agak menyenangkan juga lah :)
    Korang pun boleh letak apa-apa je kat sini..
    Example : Shoutbox, about you dll...

    Ok , Mula-mula :

    Dashboard >> Design >> Page Elements >> Add A Gadget >> HTML/Javascript

    Pastekan Kod ini kat ruangan HTML/Javascript.


    <center><div id="widget" style="background:url(URL BACKGROUND) no-repeat left top; width:80;height:300px;padding: 30px 10px 0px;text-align: center;line-height: 1 ">

    <style type="text/css">
    div.TabView div.Tabs
    {height: 30px;overflow: hidden}
    div.TabView div.Tabs a {float:left; display:block; width:100px; /* Main Menu Top Width */
    text-align:center ; height: 30px; /* Top High Main Menu
    */
    padding-top:8px; vertical-align:middle; border:2px solid #ffffff; /* Top Menu border color */
    border-bottom-width:0; text-decoration: none; font-family: "Verdana", Serif; /* Top Fonts Main Menu */
    font-weight:bold; color:#000; /* Main Menu Font Color Top */ -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px}
    div.TabView div.Tabs a:hover, div.TabView div.Tabs a.Active {background-color: #dedede; /* Background colors on Main Menu */ }
    div.TabView div.Pages {clear:both; border:2px solid #FFFFFF; /* Main Box border color */ overflow:hidden; background-color:#FFFFFF; /* Main Box background color */ }
    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: 300px;" class="Tabs">
    <a>TAJUK 1</a>

    <a>TAJUK 2</a>

    </div>
    <div style="width:200px; height:290px; " class="Pages">
    <div class="Page">
    <div class="Pad">

    ISI TAJUK 1

    </div>
    </div>
    <div class="Page">
    <div class="Pad">

    ISI TAJUK 2 


    <div class="Page">
    <div class="Pad">

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

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

    URL BACKGROUND : Nak letak boleh tak letak pun boleh...
    BIRU : Isi perkataan / kod yang korang nakkan ..!

    Thanks with Love to: 

    EpiloG Dunia SaYuRi.

    Labels:



    << OLDER
    NEWER >>