Sunday, November 28, 2010

Page Ears to RSS Link

add to CSS:

#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/AVvXsEgROmu_oRlKDO4DpMOKKYE5brkVO5AgFuIY9Thms59-2Y0Hs2uV6qJvkrTKxG-So4fxD4Z08K700z4lcFPO89_bO_PJk3YiwSDXoY-8sI0p7inxTyIkv487LEjAE4ISKnvvdB_kloBvJ_0/) no-repeat right top;
}



Add below JQuery
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'/>

this part:

<script type='text/javascript'>
$(document).ready(function(){
$(&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>


add below <body> tag:

<div id='pageflip'>
<a href='http://YOUR RSS FEED URL'><img alt='' border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVmn1SMFHZ2Ir9_i_XMlczpxiohkSb2CMvVDVTHnwpPUQb5VtZgY6MaNdCGWRy_cK_uWMMO9XcF6AlwHmo1oNdg-A648zrwUha59gPY0fMTxAjyVVelGcesgz84fTN8vigA69E8A3GD2M/'/></a>
<div class='msg_block'/>
</div>


Replace Your RSS FEED URL with your Feed.

No comments:

Post a Comment

English France German Spain Italy Dutch Russia Brasil Japan Korea Arabic China