Sunday, 21 September 2014

Popular Posts Widget for Blogger Tweak



----------------------------------------------------------------------------------------------------------
1- ADD POPULAR POST WIDGET IN BLOG
2- ADD HTML/JAVA WIDGET IN BLOG AND
PASTE BELOW CODE IN THIS WIDGET
READ MORE:
  1. POPULAR POST ACCORDION SLIDER
  2. POPULAR POST WIDGET
  3. POPULAR POST WIDGET EMPTY OR VIDEO POST CHANGE IN NO IMAGE THUMBNAIL
  4. POPULAR POST WIDGET ADOSOSIVE STYLE
  5. POPULAR POST WIDGET FLOAT LEFT WITH HTML JAVA CODE WIDGET
  6. POPULAR POST WIDGET HOVER EFFECT SQUARE TO CIRCLE
  7. POPULAR POST WIDGET SLIDER
  8. POPULAR POST WIDGET WITH NO IMAGE WITHOUT JAVA CODE
  9. POPULAR POST WIDGET DIFFERENT STYLES
-------------------------------------------------------------------------------------------------------------


<style type="text/css">
.PopularPosts .item-thumbnail { display: block; height: 190px; margin: 0; overflow: hidden; position: relative; width: 100%; } 
.PopularPosts .item-title { position: relative; } 
.PopularPosts img { display: block; height: auto; position: absolute; width:auto; transition: all 1s ease 0s; }
.item-title a { background:rgba(0, 0, 0, 0.35); color: #FFFFFF; font-family: Impact; font-size: 17px; font-weight: 100; padding: 10px 0; position: absolute; right: 0; text-align: center; top: 30px; width: 100%; } 
.item-snippet { background:rgba(0, 0, 0, 0.35); color: #FFFFFF; font-weight: 900; left: 12%; padding: 10px; position: absolute; text-align: center; top: 95px; width: 70%; }
.item-content:hover img {transform: rotate(10deg) scale(1.2);}
.item-content { position: relative; }
</style>


<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js" type="text/javascript"></script>

<script type='text/javascript'>
 $(document).ready(function() {$(&#39;.PopularPosts img&#39;).attr(&#39;src&#39;, function(i, src) {return src.replace( &#39;s72-c&#39;, &#39;s400&#39; );});});
</script>

<script type='text/javascript'>
 //<![CDATA[
$('.popular-posts ul li .item-snippet').each(function(){
var txt=$(this).text().substr(0,120);
var j=txt.lastIndexOf(' ');
if(j>10)
$(this).text(txt.substr(0,j).replace(/[?,!\.-:;]*$/,'...'));
});
   
//]]>
 </script>


















0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets