3/13/13

Add Page Peel effect with jQuery & CSS to Blogger


You may saw this awesome trick used by many professional and other Websites/Blogs.This Page peel is used to Show ads ,this page peel attract Blog visitors and they may have the tendency to click on ad and your earnings increases.Also this page peel can be used to increase your Subscribers.Here I am going to show you how to add a page peel trick to Blogger blog.







Click the link below to view demo

Step 1: Add jQuery plugin (if your blog have a jquery plugin,ignore this step)
  • Copy the below code inside <head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>

Add Page Peel Effect To Blogger Blog 

Step 2 : 
  • Go to Design->Edit HTML
  • Copy and paste the below code above </head>
<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/AVvXsEiKEcFkAPBhsd1B2wztf1mIp4EUMs2Aqph-pRbd93YtntuP9Tk8YKr6_iKQ8R6wtI2vKpJPs93bvefse50e8sylrQx7Cqs9dxynLOfNgUYn3ozbwPU9KmovzSLZg-eJa0Zyk-O8kR_NlGk/s200/rss+netoops+blog+page+peel.png) no-repeat right top #fff;
}
</style><a href='http://netoopsblog.blogspot.com'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOJPt6GoWl82p1qMh48cGv_Lj1_DAytDTpQiZsDIA0MifA19sR8R1l1eTptcUH7FDR6gEh0-UO0rXaD3CtYT4Gz_jUxwdpBY6M5soMBKU6yDGX04AYtDxpk2t4gb4B5p07rmNJgDPJEl8/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 3:
<div id='pageflip'>
<a href=' http://feeds.feedburner.com/NetOopsBlogTips '><img alt='netoops blog' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtk2WYR_H1pI3f0vJWSHXIBKDcN7dk5POHRn1Nh5jxXFrRFdomX-bpZ1WShSNWYODptHwe-fNhzHvB8hLHxQcNEqAcUrbRj6caubOruJRNXu1Yha4U4LxV_4eWKhlg9BXZKB25hSqpfsnG/s1600/page_flip.png'/></a>
<div class='back-img'/>
</div>
Change can the RED highlighted text with url image url that you want,else leave it default(needn't change)
Change the BLUE highlighted text with your feed URL or place your advertisement
  •  Save the Template NetOopsblog protected image

0 التعليقات:

Post a Comment

Related Posts Plugin for WordPress, Blogger...