Actual installation - Installation difficulty: medium
1. At one point we add in the template html code, CSS and JavaScript code that generates the effect.
Enter to Layout -> Edit HTMLand really make a copy of the template, as always when I went to his code. This can be useful if something goes wrong and we will have to return the current form template.
With the key combination Ctrl + F search for this code:
</head>After you have found, copy the code ahead of the next group:
<style type='text/css'>2. The second point we add html code forming effect.
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/AVvXsEg_kRBtdHxgoxkLboZ35zaMFETuemXGE_DHEjmBShwe3iMWc9k73klJp-ZuiQKNnJLIKw6_W6JFr9AXxmnKuMViLgdP0ie7Ucrtkks7gG6ABMn7-e1V8a-XHTlGDhfyegjZM7j9TeKm7jNi/s1600/subscribe.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>
It consists of the link that will send click this widget, and photo corner back.
All in page Edit html search following code:
</head>After copy the following code group:
<div id='pageflip'>What can change or be changed to these codes: 1. To change the image that appears when corner sink, change the code written in blue ( http://www.wallheaven.com/subscribe.png ) the address of the image yours. 2. link in code written in red above is the link that sends the click gave this widget. Change it as desired.
<a href='http://feeds.feedburner.com/blogspot/lgpHEs'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3hakTVU0CG5NuBxyi3yep1tls_VfMvP4SwVHoML3FHssAP6YMKSfK9jtjYCtj2EBtwlQ7sZQp0R8XQgkOZ89mbiSDUKM9lcMPcP3QDPAy08oSsy0reCdQbK6XgLNAZP_gyA1bxnv-L59u/s1600/page_flip.png'/></a>
<div class='msg_block'></div>
</div>
Enjoy !
No comments:
Post a Comment