How To Add Beautiful Page Peel Effect | Blogger JQuery Tips

1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Don't Click on "Expand Widget Templates"
3.Scroll down to where you see]]></b:skin> tag:
4.Copy below code and paste it just beforethe ]]></b:skin> tag.

#pageflip {
position: relative;
}
#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;
position: absolute;
z-index: 50;
right: 0; top: 0;
background: url(http://2.bp.blogspot.com/_p4Te9Li52fs/So9Qb5J1yWI/AAAAAAAAAAU/8_mR7vt-tCw/subscribe.png) no-repeat right top;
text-indent: -9999px;
}



Note : Please host 'subscribe.png' image yourself.


5.Scroll down to where you see </head> tag:


6.Copy below code and paste it just before the </head> tag.

<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>



6.Scroll down to where you see <body> tag:


7.Copy below code and paste it just after the <body> tag.

<div id='pageflip'>
<a href='http://feeds2.feedburner.com/feed39'>
<img alt='' src='http://4.bp.blogspot.com/_p4Te9Li52fs/So9QXjPscRI/AAAAAAAAAAM/Vl2QGxYn38k/page_flip.png'/>
<span class='msg_block'>Subscribe via RSS</span>
</a>
</div>



Note : Please host 'page_flip.png' image yourself.


Replace 'http://feeds2.feedburner.com/feed39' with your feed address.


8.Click on "Save Templates" and now you are done.

Comments Post a Comment

Anonymous - March 17, 2010

Thank you but it would really help if you included pictures and snapshots

Leave a Comment