Tuesday, 30 July 2013

POPULAR POST WIDGET

FB Gadgets



--------------------------------------------------------------------------------------------------
 FIND AND REPLACE YOUR B SKIN TAG WITH BELOW CODE

]]></b:skin>

---------------------------------------------------------------------------------------------------



#tm_featured { background: #2D313C; }

.folder_all{padding:0}
.folder_all { padding:35px 0; margin: auto; width: 1000px; }
.featured_item {float:left}
.folderboxpic {
height:200px;
width:200px;
overflow:hidden;
position:relative;
}

.folderboxpic img{height:200px;width:200px}

.article {
display:block;
width:100%;
height:100%;
color:#ffffff;
font-size:13px;
text-decoration:none;
font-family:Open Sans,Arial,Verdana;
text-overflow:ellipsis;
}

.article .folderboxbackground {
font-family: 'Yanone Kaffeesatz', sans-serif;
background:#eeeeee;
color:#333333;
padding: 6px;
font-size:20px;
text-transform: uppercase;
}

.article .folderboxtitle {
position:absolute;
bottom:0;
opacity:0;
-webkit-transition:all 0.4s ease-in 0s;
-moz-transition:all 0.4s ease-in 0s;
-ms-transition:all 0.4s ease-in 0s;
-o-transition:all 0.4s ease-in 0s;
transition:all 0.4s ease-in 0s;
letter-spacing:0.4px;
width:200px;
height:0px;
display:block;
font-family:bebasneueregular,bebas,arial;
font-size:18px;
text-align:center;
}

.article:hover .folderboxtitle{opacity:0.9;height:100%}



]]></b:skin>




------------------------------------------------------------------------------------------------
COPY AND PASTE BELOW CODE AFTER HEADER WRAPPER

-------------------------------------------------------------------------------------------------

<b:if cond='data:blog.pageType == &quot;index&quot;'>

<div id='tm_featured'>
<div class='folder'>
<div class='folder_all'>
<b:section class='folder_item' id='folder_item' preferred='yes' showaddelement='no'>
<b:widget id='PopularPosts1' locked='true' title='Popular Posts' type='PopularPosts'>
<b:includable id='main'>
<div class='widget-content popular-posts'>
<ul>
<b:loop values='data:posts' var='post'>
<div class='featured_item'>
<b:if cond='data:showThumbnails == &quot;false&quot;'>
<b:if cond='data:showSnippets == &quot;false&quot;'>
<a expr:href='data:post.href'><data:post.title/></a>
<b:else/>
<div class='item-title'><a expr:href='data:post.href'><data:post.title/></a></div>
<div class='item-snippet'><data:post.snippet/></div>
</b:if>
<b:else/>
<b:if cond='data:showSnippets == &quot;false&quot;'>
<div class='item-thumbnail-only'>
<b:if cond='data:post.thumbnail'>
<div class='item-thumbnail'>
<a expr:href='data:post.href' target='_blank'>
<img alt='' border='0' expr:height='data:thumbnailSize' expr:src='data:post.thumbnail' expr:width='data:thumbnailSize'/>
</a>
</div>
</b:if>
<div class='item-title'><a expr:href='data:post.href'><data:post.title/></a></div>
</div>
<div style='clear:both'/>
<b:else/>
<div class='folderboxpic'>
<a class='article' expr:href='data:post.href' rel='bookmark'>
<b:if cond='data:post.thumbnail'>
<img expr:alt='data:post.title' expr:src='data:post.thumbnail' height='72' width='72'/>
<b:else/>
<img alt='no image' height='200' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGtNIA7mYJ5ksWTXifQHCfv0-udTVqk1FyGFTPWupLCZ24Fu9iQ12YVpaXG9bcwjddOk_VHYJnA3jqNzAZrOWf2AW1ecefq0w_IbwYIx8a-HdQseNpmsg5zeYM73sp7yykCZ4ADXMeYuI/s200/no_image_yet.jpg' width='200'/>
</b:if>
<div class='folderboxtitle'><div class='folderboxbackground'><div id='tm-folderboxbackground-720'><data:post.title/></div></div></div>
</a>
<div class='clear'/>
</div>
</b:if>
</b:if>
</div>
</b:loop>
</ul>
</div>
</b:includable>
  </b:widget>
</b:section>
<div class='clear'/>
</div>
</div>
</div>

</b:if>

--------------------------------------------------------------------------------------------

TUTORIAL FINISH
-------------------------------------------------------------------------------------------


FURTHER INFORMATION:


----------------------------------------------------------------------------------------------
YOU CAN USE WIDGET WITH OUT B TAG LINES IN THIS CASE POPULAR
POST WIDGET APPEAR ON HOME PAGE AND ALSO APPEAR ON
READ MORE POST PAGE WHEN YOUR READ POST THIS WIDGET ALSO
APPEAR SO YOU CAN REMOVE THIS BLUE LINE REMOVE IN THIS CODE

<b:if cond='data:blog.pageType == &quot;index&quot;'>

</b:if>


------------------------------------------------------------------------------------------------


USED IMAGE IN TUTORIAL








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