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(http://lh3.ggpht.com/_ewREQ2z7SjM/TPKFptJeUrI/AAAAAAAAEIo/gXjGKJDQqPA/subscribe.png) 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='http://lh3.ggpht.com/_ewREQ2z7SjM/TPKFrI0oY4I/AAAAAAAAEIs/gCr9Um9gRUA/page_flip.png'/></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