Thursday, April 4, 2013

Tooltips Recent Post Widget For Blogger With Thumbnail

If your blog have long posts and you wish to assist your guests to search out your recent posts quickly, while not disbursement time browsing you blog finding out your older posts. As you'll see in several blogs. typically these sorts widgets ar placed within the sidebar of the blog. therefore we want a unique from other's blog, here it is. This recent post widget can show the most recent post with thumnail and outline as tooltip once moueover on the thumbnail. It had fade impact. Well lets attempt merely with steps mentioned below.
Tooltips Recent Post Widget For Blogger With Thumbnail

Live Demo Below


Follow these very simple steps to add the "Tooltips Recent Post Widget For Blogger With Thumbnail " in your blog.

  • Step 1 : Go To Blogger > Design > Page Elements
  • Step 2:  Click on "Add a Gadget" link
  • Step 3:  From the pop-up window, choose HTML/JavaScript
  • Step 4:  Copy and paste the following code below

<style type="text/css">
#post-gallery {
  width:304px;
  margin:0px auto;
  font:normal 11px Arial,Sans-Serif;
  color:##000000
;
  padding:8px;
  background-color:#1BA1E2
;
  -webkit-box-shadow:0px 10px 30px rgba(0, 0, 0, 0.4);
  -moz-box-shadow:0px 10px 30px rgba(0, 0, 0, 0.4);
  box-shadow:0px 10px 30px rgba(0, 0, 0, 0.4);
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
}
#post-gallery h2 {
  font:20px Arial,Sans-Serif;
  color:white;
  text-shadow:0px 3px 2px black;
  text-transform:uppercase;
  margin:2px 2px 2px;
  padding:7px 14px;
  background-color:#000000;
  text-align: center;
}
#post-gallery .rp-item {
  float:left;
  display:inline;
  position:relative;
  margin:2px;
  padding:0px 0px;
  background:#fff url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXJV-P9QQpmZ8UXZ8E6b4elaNUpMm6-Wg0M2I5TuWijTNxTA_VKzNqVZKxswK7CfMwLpseZMYxi7DGcNhx5H-0PC10GFVkyCwMIvtRIeCwI6gXaX6f9-zj8PcF_kssfMho3pwGk6nbQ8Ko/s48/Bloggerheroe.comloading.gif') no-repeat 50% 50%;
  width:72px;
  height:72px;
}
#post-gallery .rp-item img {
  width:72px;
  height:72px;
  border:none !important;
  margin:0px 0px !important;
  padding:0px 0px !important;
  background:transparent !important;
  display:none;
}
#post-gallery .rp-item .rp-child {
  position:relative;
  top:10%!important;
  left:10%!important;
  z-index:1000;
  width:200px;
  background-color:white;
  border-top:5px solid #1BA1E2;
  -webkit-box-shadow:5px 5px 10px rgba(0, 0, 0, 0.7);
  -moz-box-shadow:5px 5px 10px rgba(0, 0, 0, 0.7);
  box-shadow:5px 5px 10px rgba(0, 0, 0, 0.7);
  padding:10px 15px;
  overflow:hidden;
  word-wrap:break-word;
  display:none;
  opacity: 0.9;
}
#post-gallery .rp-item .rp-child h4 {
  font-size:12px;
  margin:0px 0px 5px;
  color:#1BA1E2;
}
#post-gallery .rp-item:hover .hidden {display:block;}
</style>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var rpTitle     = "Latest Post",       // Widget Title
    numposts    = 20,      // The number of thumbnails / posts to display
    numchar     = 200,      // Number of characters in the description tooltip
    rcFadeSpeed = 600,      // Speed of the effect. fadeIn () tooltip appears
    pBlank      = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-qZXIDdr13ZLnM-oBOXLvl90TCzeVhEUIzjKkdomhJZT7WOB4UvTWt9EmPtjUEnLpkE4zz7aVJP8audpOnUWhZhfnWbhjSwpFQD4aPbcrO-_QZihzAjwDT6idaYaFG7bbYqMM5q6ZA1Ai/s100/no-img.png",      // Image that show up if the post doesn't have a image
    blogURL     = "http://www.bloggerheroe.com/";       // Your Blog Address
</script>
<script src="http://dl.dropbox.com/u/81212926/Recent%20Post%20Thumbnail-blogger-heroe.js" type="text/javascript"></script>

Customization

  • Replace http://www.bloggerheroe.com/ with your blog url. 
  • numposts is the number of thumbnails / posts that you want to display. 
  • numchar is the number of characters in the description tooltip. 
  • rcFadeSpeed is the speed of the fade effect.
Now just save your widget and check your blog. If you face any problem or difficulty installing this widget, submit your difficulty in comments.

5 comments:

Unknown said...

i so much love this post my bro. i installed it on my blog and it works well but not all the box were displaying my post images and i have images on those posts. although, some displayed images. thanks for the great work.

X-San said...

Thx

Beth @HungryHappenings said...

This worked great and I would like to do the same thing with my Most Popular Posts. Can I change the html to pull the images from my Popular Posts?

Beth @ HungryHappenings.com

Beth @HungryHappenings said...

I use Chrome and the widget is working perfectly there, but my friend uses IE and I found that the grid pattern does not show up, instead a thumbnail, post title and snippet show up. What can I do to fix this?

Life Moto said...

thanks great help.

◄ Newer Post Older Post ►
 

Copyright 2013 Sinhala MP3Create Blog Template by Farhan Share and Tuliskan