Pages

Tuesday, August 16, 2011

Add an Attractive Pagepeel effect on your Blogger.com blog.

Today I show how to add this attractive Pagepeel effect on your Blogger.com blog. This effect will affair on right corner of your blog.




I think you are understand from this picture. So, let's go.

First login your Blogger.com Dashboard. Then select Template from desire sites Drop-down menu.
Remember: I show this tips in Blogger.com new interface. If you are using old interface login blogger.com then click Design then click Edit HTML

Now show all Blogger.com's selected templates. There are a option for Edit Template. Click on this button. Then show a page like this picture.

Now search for </head> tag. Click Ctrl + F from your Keyboard. After finding </head> paste this code before </head> tag.

 Code for </head>:
<style type='text/css'>
img { behavior: url(iepngfix.htc) }
#pageflip {
    position: relative;
    right: 0; top: 0;
    float: right;
}
#pageflip img {
    width: 50px; height: 52px;
    z-index: 99;
    position: absolute;
    right: 0; top: 0;
    -ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
    width: 50px; height: 50px;
    overflow: hidden;
    position: absolute;
    right: 0; top: 0;
    background: url(http://2.bp.blogspot.com/_p4Te9Li52fs/So9Qb5J1yWI/AAAAAAAAAAU/8_mR7vt-tCw/subscribe.png) no-repeat right top;
}
</style>
<script src='http://code.jquery.com/jquery-latest.js' type='text/javascript'/>
<script type='text/javascript'>
$(document).ready(function(){
//Page Flip on hover
    $("#pageflip").hover(function() {
        $("#pageflip img , .msg_block").stop()
            .animate({
                width: '307px',
                height: '319px'
            }, 500);
        } , function() {
        $("#pageflip img").stop()
            .animate({
                width: '50px',
                height: '52px'
            }, 220);
        $(".msg_block").stop()
            .animate({
                width: '50px',
                height: '50px'
            }, 200);
    });
});
</script>

 Then find <body> tag and add this code after <body> tag.


Code for <body>:
<div id='pageflip'>
<div class='msg_block'></div>
</div>

Remember: Replace http://feeds.feedburner.com/techspage with your blog's feed address. Also you can change all image as your wish. 

If you like my post please like our Page.

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...