Sunday, January 22, 2012

ဘေလာ့ဆိုက္မွာအေပၚေအာက္မွ်ားေလးပံုစံေဘာက္ေလးထားခ်င္သူမ်ားအတြက္

Add Go to Top Button with CSS & Jquery for Blogger / Blogspot
1။"Expand Widget Templates"ကိုအမွန္ျခစ္လိုက္ပါ
2။(CTRL+F)တြဲႏွိပ္ပါ..ျပီးရင္ေအာက္တြင္xFind ေဘာက္ေသးေသးေလးေပၚလာလိမ့္မယ္

အဲ့ထဲမွာ</body>ဒါကိုသြၾးထည့္ျကည့္လိုက္..အစိမ္းေရာင္ျဖစ္ေနတဲ့</body>သူ ့ကို့ေတြ့လိမ့္မယ္.
3။။</body>သူ့ေအာက္မွာဒီေအာက္ကကုတ္ေတြကိုေကာ္ပီကူးျပီးသားထည့္လိုက္
<style type="text/css">
#w2b-StoTop {-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; width:100px;background-color: #EEEEEE;background-color: rgba(238, 238, 238, 0.6);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#99EEEEEE',EndColorStr='#99EEEEEE');text-align:center;padding:5px;position:fixed;bottom:10px;right:10px;cursor:pointer;color:#444;text-decoration:none;border:1px solid #C9C9C9;}
</style>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type='text/javascript'>
$(function() {
    $.fn.scrollToTop = function() {
    $(this).hide().removeAttr("href");
    if ($(window).scrollTop() != "0") {
        $(this).fadeIn("slow")
    }
    var scrollDiv = $(this);
    $(window).scroll(function() {
        if ($(window).scrollTop() == "0") {
        $(scrollDiv).fadeOut("slow")
        } else {
        $(scrollDiv).fadeIn("slow")
        }
    });
    $(this).click(function() {
        $("html, body").animate({
        scrollTop: 0
        }, "slow")
    })
    }
});
$(function() {
    $("#w2b-StoTop").scrollToTop();
});
</script>
<a href='#' id='w2b-StoTop' style='display:none;'>Scroll to Top </a>
 
ျပီးရင္ေတာ့ေစ့လိုက္ေတာ့ေပါ ့ဗ်ာ 

..ျပန္ျကည့္လိုက္
အဆင္ေျပပါလိမ့္မယ္..
Scroll to Topေနရာမွာမိမိတို့ျကိဳက္ႏွစ္သက္ရာျမန္မာလိုေတြေရးလို့ရပါသည္..
ခင္မင္ေလးစားစြာျဖင္ ့ေနလင္းျဖိဳး
   

0 comments:

Post a Comment