Cách tạo menu trượt bên phải blog/website
Chọn thêm 1 widget HTML mới, và thêm đoạn code dưới đây vào:
|  | 
| demo | 
<style>#box{
 width:190px; font-size:12px; line-height:20px; right:-140px; top:25%; 
position:fixed; z-index:100}#tab{ float:left; list-style:none outside 
none; margin:0; padding:0; position:relative; z-index:99}#tab li span{ 
display:block; padding:0 5px; position:relative}#links{ width:80px; 
padding:10px; float:left; border-left:1px solid #B4B8BB}.show,.hide{ 
 transition:margin-right .4s ease-in; -webkit-transition:margin-
<div id="box" class="hide">
    <ul id="tab">
        <li>
            <img id="arrow" onclick="toggle('box')
        </li>
    </ul>
<div id="links"><div id="deco">
<div class="bt"><a href="/" >Home</a></div>
<div class="bt"><a href="http://www.nhaozo.net/search/label/Gi%E1%BA%A3i%20tr%C3%AD" >Giải trí</a></div>
<div class="bt"><a href="http://vskiwi.blogspot.com/search/label/T%E1%BA%A3n%20m%E1%BA%A1n%20MMO" >Tản mạn</a></div>
<div class="bt"><a href="http://www.nhaozo.net/search/label/Youtube" >Youtube</a></div>
<div class="bt"><a href="http://vskiwi.blogspot.com/p/about.html" >About</a></div>
<div class="bt"><a href="/" >Contact</a></div>
</div>
</div>
</div>
<script language='javascript'>
function toggle(id) {
    var el = document.getElementById(id);
    var img = document.getElementById("
    var box = el.getAttribute("class");
    if(box == "hide"){
        el.setAttribute("class", "show");
        delay(img, "https://lh5.
    }
    else{
        el.setAttribute("class", "hide");
        delay(img, "https://lh6.
    }
}
function delay(elem, src, delayTime){
    window.setTimeout(function() {elem.setAttribute("src", src);}, delayTime);
}</script>
THAY ĐỔI CÁC MENU ĐƯỜNG LINKS PHÙ HỢP VỚI MỤC ĐÍCH CỦA BẠN.
Chúc bạn thành công.
Sưu tầm.

 
        
Hãy để lại nhận xét để giúp blog ngày càng phát triển!