Home » » How to Make Page Peel Effect For Blogger With JQuery

How to Make Page Peel Effect For Blogger With JQuery

Posted by Ran Dreamer on 20 Apr 2015

After discussing about Popular Posts Widget With Multi Colored Style - In this post I want to share again how to create a page peel effect for blogger template. What is a page peel effect? You ever visited a blog and when krusor or pointers pointing to the corner of the upper right blogs, suddenly folded pages? As an example the following image:

Page Peel Effect

Before touched pointer:
following how to create page pell effect on blogger template:
Login blogger with your account, the dashboard => Click Layout => Edit HTML => Copy the entire code :
 <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://www.wallheaven.com/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
$(&quot;#pageflip&quot;).hover(function() {
$(&quot;#pageflip img , .msg_block&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;.msg_block&quot;).stop()
.animate({
width: &#39;50px&#39;,
height: &#39;50px&#39;
}, 200);
});
});
</script>
and then put before the </ head>

Now add the following code after the <body>
<div id='pageflip'>
<a href='http://feeds.feedburner.com/Indahnya-Berbagi'><img alt='' src=http://sites.google.com/site/amatullah83/gambar-untuk-tutorialku/page_flip.png'/></a>
<div class='msg_block'></div>
</div>
then Save

Share This Post :
 
Copyright © 2015 LABSTON | Adsense, Blogger, Android, Backlink, SEO, Template. All Rights Reserved
Template Johny Wuss Responsive by Creating Website and CB Design