25 September 2009

Membuat jQuery yang Cantik dan Bermanfaat | Beautiful Page Peel Effect with jQuery

This feature very help your to increase FEED READER ok yo can follow this :

  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.
  5. #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/AVvXsEhVf5qgLkdCsSDMLTdlmIbDiioummFqpJCic7BU4jPi4uh3KbheJDz-mmgEIe5L9ieKjeKfFluDfh3stsXJ8pcGTEqglMXPVxrOiOAvwKygjGfMGxddR_ni_FPtwUYNcZzx60HLJZYHUW77/subscribe.png) no-repeat right top;
    text-indent: -9999px;
    }

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

  6. Scroll down to where you see </head> tag:
  7. Copy below code and paste it just before the </head> tag.

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


  9. Scroll down to where you see <body> tag:
  10. Copy below code and paste it just after the <body> tag

  11. <div id='pageflip'>
    <a href='http://feeds2.feedburner.com/blogspot/WyNa'>
    <img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn3z0VP3JjY2iX6q_RlytcEa9i2jX-14ZDjOokZCTjYDu4pAKP19iBUEEnPK-qFqo5H9Lxt9YusIUls9xTTGg-fACUycQbIDlRP5WX0UT5rMXEKdqiwliE26jlLG_TzykMzHsOPmzoC-65/page_flip.png'/>
    <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.
  12. Click on "Save Templates" and now you are done.It will look like this :





When your mouse brings towards above icon it will look like this :

No comments:

Post a Comment