Senin, 22 April 2013

My SidePanel


My SidePanel

ILUSTRASI

Navigasi Side Panel ini mungkin bisa menjadi alternative untuk menyimpan banyak link, apalagi jika kita mempunyai banyak web favorit mungkin kita bisa memanfaatkan Navigasi SidePanel ini.

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>
//<![CDATA[
$(function(){
$('#zto').on('click',function(){
$('.PoPz').fadeIn().animate({"left": "+=320px"}, 'fast');
$('#zto_Ov').fadeIn();
});
$('.tutup').on('click',function(){
$('.PoPz').animate({"left": "-=320px"}, 'fast').fadeOut();
$('#zto_Ov').fadeOut();
});
});
//]]>
</script>

/*
ZTO Creation
http://zhinto.blogspot.com/
*/#zto {
width: 30px;
height: 30px;
border: 2px solid #4D4D4D;
background: #757575;
text-align: center;
font: normal 40px/32px Arial, sans-serif;
cursor: pointer;
position: fixed;
top: 5px;
left: 5px;
color: #222;
}

#zto_Ov {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none
    }

.tutup {
    float: right;
    cursor: pointer
    }

ul.PoPz {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: #1D1D1D;
    width: 300px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -320px;
    display: none;
    overflow: auto
    }

ul.PoPz li {
    list-style-type: none;
    background: #1D1D1D;
    margin: 0;
    padding: 2px;
    border-bottom: 1px solid #145D74
    }

ul.PoPz li.j {
    color: #145D74;
    padding: 10px;
    text-align: left;
    font: bold 14px/20px Arial, sans-serif;
    border-bottom: 3px solid #111
    }

ul.PoPz li a:hover {
    color: #ccc !important
    }

ul.PoPz li a:link, ul.PoPz li a:visited {
    margin-left: 5px;
    text-decoration: none;
    color: #176D88;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    padding: 2px;
    display: block;
    font-family: "Arial", sans-serif
    }

<div id='zto' title="Daftar Link">&equiv;</div>
<div id='zto_Ov'></div>
<ul class='PoPz'>
<li class='j'>Link Sobat <a class='tutup'>[ x ]</a></li>
<li><a href='Link' target='_blank'>Link</a></li>
<li><a href='Link' target='_blank'>Link</a></li>
<li><a href='Link' target='_blank'>Link</a></li>
<li><a href='Link' target='_blank'>Link</a></li>
</ul>