Don't Miss

Add Page Peel Effect with jQuery in Blogger

By Zohaib Liaqat - 4 Comments
Page Peel effect is actually a page flip effect, when you move your cursor on over it, it flip and shows that whats behind it. There are many ways for adding this effect, and today we are going to share one of them. Just like other Peel effect widgets, it would also appear at the top right corner of your blog and whenever your visitors would move their cursor over the top right corner of your website, it would display the RSS Image with its link. Check the following screenshot to see how it works.

How to Add Page Peel Effect

Step 1. Log in to your Blogger Dashboard
Step 2. Go to Template >> Edit HTML >> Search for the <head> tag
Step 3. Now Copy and Paste the following code below/after <head> tag
Note: If your blog already have jQuery plugin, then ignore this step

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>

Step 4. Now search for </head> tag and paste the following piece of code just above/before it

<style type='text/css'>
img { behavior: url(iepngfix.htc) }
#pageflip {
position: absolute;
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 .back-img {
width: 50px; height: 50px;
overflow: hidden;
position: absolute;
right: 0; top: 0;z-index:98;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihz3q3h2zCv7CfnjbVW3Qf06uFaWlBrVKQSLud-kTbP9TPVdOMl1g7fTyj6E6ASKoEspj3a7ZqUjX_xBvzlWGaVo3vreRS5imzfG9AUjpKFB48TUUtXaL6-h_4D9H2n7XIcN10kyAVp8A/s1600/mini_rss.png) no-repeat right top #fff;
}
</style><a href='http://blogolect.blogspot.com'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOOskp1gqv0QqtqnuJnHX00nJ2WgEcdPi3HTTJRQtY31Q_GnKf8VljKvkRF-ZKbacVAUdzly0Rqx4dYx0RwJQEwXMFkK_k3Lym-kF-bdd9tE-up7AmsRmTYo7584cmbDP0M8LZ6Cg26I/s1600/1x1juice.png'/></a><script type='text/javascript'>
$(document).ready(function(){
//Page Flip on hover
$(&quot;#pageflip&quot;).hover(function() {
$(&quot;#pageflip img , .back-img&quot;).stop()
    .animate({
    width: &#39;307px&#39;,
    height: &#39;319px&#39;
    }, 500);
    } , function() {
    $(&quot;#pageflip img&quot;).stop()
    .animate({
    width: &#39;50px&#39;,
    height: &#39;52px&#39;
    }, 220);
$(&quot;.back-img&quot;).stop()
    .animate({
    width: &#39;50px&#39;,
    height: &#39;50px&#39;
    }, 200);
});
});
</script>

Step 5. Now search for <body> tag and paste the following piece of code just after the close tag '>'

<div id='pageflip'>
<a href='http://feeds.feedburner.com/blogolect'><img alt='Blogolect' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoRzDkdCzX1NFeCnXV6pyc0eTACmDS0ca4pqthkuDpAt0MSHP0z6w7t7fDrqgu8A_bku1H1trfd8GtlT4t4slFFTziYEeqelRwuYdIBKDAx3yKyOnS4jMjaq4THkx2JAwdNQisWuiQzUBN/s1600/page_flip.png'/></a>
<div class='back-img'/>
</div> 
  • Replace http://feeds.feedburner.com/blogolect with your Link
  • Replace https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihz3q3h2zCv7CfnjbVW3Qf06uFaWlBrVKQSLud-kTbP9TPVdOMl1g7fTyj6E6ASKoEspj3a7ZqUjX_xBvzlWGaVo3vreRS5imzfG9AUjpKFB48TUUtXaL6-h_4D9H2n7XIcN10kyAVp8A/s1600/mini_rss.png with your Image URL or keep it default
Step 6. Hit the Save Template Button
And you're done.

4 comments to ''Add Page Peel Effect with jQuery in Blogger"

ADD COMMENT
  1. You're welcome and keep visiting.

    ReplyDelete
  2. It is a question how to design a good attractive webpage and for that web designer creates creative page with the help of the colorful graphics, colors and fonts.
    What all require is to hire web designer whose knowledge led to give colorful pages.

    ReplyDelete
  3. Internet is now a big part of our daily life, we use internet via smartphone, computer, laptop, tablet... to connect with people around the world, every public information database, you may interested in 192.168.l.l

    ReplyDelete