HIGH LEVEL TRANSFER

Jumat, 21 Agustus 2009

How To Add Beautiful Page Peel Effect with jQuery

Tidak ada komentar :
1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Don't Click on "Expand Widget Templates"

3.Scroll down to where you see ]]></b:skin> tag:

4.Copy below code and paste it just before the ]]></b:skin> tag.

#pageflip {
position: relative;
}
#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;
position: absolute;
z-index: 50;
right: 0; top: 0;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM-_8y_YMjaMPAdunsWjQDW5nNBd1TCavNS9UjeQK2P6-ONl12sQGFsqFEJU5EjafSnUNPRn0bDsfea-_yTByKI9KYQxJyCCtB_Et8zm2DxWqrGq4dxHexATudq8DxCdYW6Tc34mIghkFH/) no-repeat right top;
text-indent: -9999px;
}


Note : Please host 'subscribe.png' image yourself.

5.Scroll down to where you see </head> tag:

6.Copy below code and paste it just before the </head> tag.

<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>


6.Scroll down to where you see <body> tag:

7.Copy below code and paste it just after the <body> tag.

<div id='pageflip'>
<a href='http://feeds2.feedburner.com/blogspot/WyNa'>
<img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyLLuBL7SRWain-uZFZ8qRN7L-nfFkE6XrZplFUYckSZAaYJ6FNlgq7hGLjU2qQO7JNvr3g32N1drl_ZAzG6ZRMiJ0xhRS8_zN2dOb4-HXvjp3oQ7DOmsi8XKbOINYsCslEd-pQVi7N2SR/'/>
<span class='msg_block'>Subscribe via RSS</span>
</a>
</div>


Note : Please host 'page_flip.png' image yourself.

Replace 'http://feeds2.feedburner.com/blogspot/WyNa' with your feed address.

8.Click on "Save Templates" and now you are done.It will look like this :



When your mouse brings towards above icon it willlook like this :

Tidak ada komentar :