Breaking News
Loading...
Monday 21 October 2013

Recommended Post Slide out Widget for Blog of Blogger

Recommended Post Slide out Widget for Blog of Blogger“Keep the visitors pasted to your website for long” this is often what each blogger out there needs to try to to. The counseled Post slide Out gizmo will simply that. It’s reasonably an invite to the browseer to browse a replacement post once he has read one in every of your blog entries. you may have seen this type of a widget on several popular websites like new york Times, Mashable, Times of india etc.

I have created some modifications to the piece in order that it gets loaded asynchronously while not poignant the page load. The Slide out can show random posts from your blog. The random posts area unit fetched from your blog Feed exploitation mythical being.

Demo of the Slide Out

Scroll down to the bottom of the post and you should see the Recommended Slide Out.

Add the Recommended Post Slide out Widget

To add the widget to your blog, you can use this one click installer.


Customizing the Recommended Slide out

1. End Of Post marker – The slide comes out when the user scrolls down to a particular point in your Blog.(the bottom of the page by default) To mark this point, you can add an HTML element there. The element should have the id bobslidein_place_holder

e.g.: <div id='bobslidein_place_holder'></div> would do the job. The best place to add this marker would be at the end of the post. If you want to do it easily, you can add this to your Blogger Template.

In your template Find, Press Ctrl+F

<div class='post-footer-line post-footer-line-1'>

or

<p class='post-footer-line post-footer-line-1'>

or

<data:post.body/>

Immediately below any of these, add the following snippet and save our template

<b:if cond='data:blog.pageType == "item"'>
<div style='display:none' id='bobslidein_place_holder'></div>
</b:if>

Now when the reader scrolls down to this div, the slide will open up.

2. Customizing the Look and Feel of the Slide out.


You can obviously style the Recommended Slide out. But before you do that, you have to add this variable definition to your template

<script>var bobslidein_custom_css=true;</script>

This should be added somewhere above the Slide Out Widget. If this variable is not set, a default StyleSheet will be used to spice up the Recommended Slide out.

Once this variable is set to true, you can add your own CSS definitions. You can add your CSS at Template Designer > Advanced > Add CSS

This is the default set of Style definitions applied to the Widget. You can modify them and use it.

#bobslidein{z-index:5;width:400px;height:100px;padding:10px;background-color:#fff;border-top:3px solid #1616F5;position:fixed;right:-430px;bottom:0;-moz-box-shadow:-2px 0 5px #aaa;-webkit-box-shadow:-2px 0 5px #aaa;box-shadow:-2px 0 5px #aaa;font-family:Arial, Helvetica, sans-serif;} #bobslidein p{font-size:11px;text-transform:uppercase;font-family:Arial,Helvetica,sans-serif;letter-spacing:1px;color:#555;} #bobslidein_title{color:#555;font-weight:700;font-size:16px;margin:10px 20px 10px 0;} #bobslidein a,#bobslidein a:hover,#bobslidein_title{text-decoration:none;color:#1616F5;} #bobslidein .close,#bobslidein .expand,#bobslidein .help{border:2px solid #EEE;cursor:pointer;color:#9A9AA1;width:13px;height:15px;padding:2px 0 0 5px;position:absolute;right:10px;font-size:17px;font-weight:700;font-family:Arial, Helvetica, sans-serif;font-size:12px;} #bobslidein .help{right:35px;} #bobslidein_title,#bobslidein_image{float:left;width:80px;} #bobslidein_title{width:290px;}


3. Other Stuff that you can edit


You can edit the Title of the Widget and the Loading text by editing the Widget Content.

Future Plans

This is the initial version of this contrivance, and higher version are created accessible supported the feedback that i get :).. If you liked the Slide Out, do share it together with your Blogger friends.Your suggestions would undoubtedly facilitate me in rising the widget. :)
Recommended Post Slide Out For Blogger

0 comments:

Post a Comment

 
Toggle Footer