Tuesday, September 29, 2009

Simple Page Peel Effect for Blogger


Simple Page Peel Effect for Blogger

Image

1. Use Ctrl+F to find the </head> tag

2. Then, put these codes before the </head> tag.

Code: Sellect All
<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://i625.photobucket.com/albums/tt337/syafzpic/Forum%20upload%20only/syafzpic-PageSubscribe.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>




3. Next, paste this(below) code after the <body> tag.
Code: Sellect All
<div id='pageflip'>
<a href='http://feeds.feedburner.com/BloggerGangz'><img alt='' src='http://i625.photobucket.com/albums/tt337/syafzpic/Forum%20upload%20only/syafzpic-PageFlip.png'/></a>
<div class='msg_block'></div>
</div>



4. Done!

0 comments:

Post a Comment

 

Blogger Tips and Style Copyright © 2009 Community is Designed by Free Blogger Template