Adding Page Flip Effect
1. Go to Blogger dashboard > Design > Edit HTML and add following code BEFORE </head>
<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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSjvT-Fcpo1so7lA-9LQIomGuZczEHOQ7ejGpGDMBRK4ZI3riXv5xCYfAaD5dTAzUxrTLrthO2feJ9rOaRAlUQdB5jB8kbydDFGu7qxV89dI1ctDfMH3MuJ_1L8VhjwuW7PQYE2GngB-Td/s1600/page+peel.JPG) 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>
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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSjvT-Fcpo1so7lA-9LQIomGuZczEHOQ7ejGpGDMBRK4ZI3riXv5xCYfAaD5dTAzUxrTLrthO2feJ9rOaRAlUQdB5jB8kbydDFGu7qxV89dI1ctDfMH3MuJ_1L8VhjwuW7PQYE2GngB-Td/s1600/page+peel.JPG) 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>
Edit image URL with your own.
2. Add following code AFTER <body>
<div id='pageflip'>
<a href='http://film-cast.blogspot.com'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFwCirrf-l6oeTqpe9h7JlLBKRPOQkYxwatdyF79LHDzZFxi4OE47TwRcIPcJnGPYCHmsWK_lLoPW9unQFYmxuhLUtkIbNKP9h7WmnliQ9BvKuL5RSxzYoyKBli9R2xM7yWEufMQ5LugJq/s1600/page_flip.png'/></a>
<div class='msg_block'></div>
</div>
<a href='http://film-cast.blogspot.com'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFwCirrf-l6oeTqpe9h7JlLBKRPOQkYxwatdyF79LHDzZFxi4OE47TwRcIPcJnGPYCHmsWK_lLoPW9unQFYmxuhLUtkIbNKP9h7WmnliQ9BvKuL5RSxzYoyKBli9R2xM7yWEufMQ5LugJq/s1600/page_flip.png'/></a>
<div class='msg_block'></div>
</div>
Change the refferance URL with your own.
Finally save your template.
cant find < body > !!
ReplyDeleteThere is no way. I mean definitely you can find it because every theme must have <body>
Deleteyou can also CTRL+F for fast searching. :)
This comment has been removed by the author.
ReplyDeletea really good post i was looking for it
ReplyDelete