Simple Page Peel Effect for Blogger
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
$("#pageflip").hover(function() {
$("#pageflip img , .msg_block").stop()
.animate({
width: '307px',
height: '319px'
}, 500);
} , function() {
$("#pageflip img").stop()
.animate({
width: '50px',
height: '52px'
}, 220);
$(".msg_block").stop()
.animate({
width: '50px',
height: '50px'
}, 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