28 April 2011

Tabs based Featured Content Slider for Blogger

Content sliders are not new to you as they are popular and can be seen in most of the websites. This content slider is taken from the Pre Live Mag template. It is a new and elegant slider that shows small tabs beside main post content.


Installation

Step 1

Go to Dashboard > Layout > Edit HTML. Download template for backup. Add following code just BELOW]]></b:skin>
<style type='text/css'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
/* Feature Content */
#feature-wrapper{
float:left;
width:645px;
padding:0;
margin-bottom:20px;
}

.slide{
padding:0;
margin:0
}

#featured{
float:left;
width:480px;
height:310px;
padding-right:165px;
margin:0;
position:relative;
overflow:hidden;
background:#474640;
-webkit-border-radius:8px;
-moz-border-radius: 8px;
border-radius: 8px
}

#featured ul.ui-tabs-nav{
position:absolute;
top:0;
left:430px;
list-style:none;
padding:0;
margin:10px 0 0 10px;
width:195px;
height:290px;
overflow:auto;
overflow-x:hidden;
}

#featured ul.ui-tabs-nav li{
padding:2px 0 0 13px;
font-size:12px;
color:#111;
}

#featured ul.ui-tabs-nav li img{
float:left;
margin:2px 5px;
background:#fff;
padding:3px
}

#featured ul.ui-tabs-nav li span{
font-size:12px;
line-height:18px
}

#featured li.ui-tabs-nav-item a{
display:block;
height:70px;
text-decoration:none;
color:#474640;
background:#dfded8;
line-height:20px;
outline:none;
}

#featured li.ui-tabs-nav-item a:hover{
background:#c2c0b5
}

#featured li.ui-tabs-selected{
background:url(&#39; http://3.bp.blogspot.com/_aAjcAMHOGT4/TKgvzMEYPUI/AAAAAAAAE-o/t7KKKMyOelo/s1600/arrow.png&#39; ) center left no-repeat
}

#featured ul.ui-tabs-nav li.ui-tabs-selected a{
background:#c2c0b5
}

#featured .ui-tabs-panel{
width:425px;
height:290px;
position:relative;
padding:0;
margin:10px 0 0 10px;
.top:10px /* IE */
}

#featured .ui-tabs-panel img{
width:425px !important;
height:290px !important;
}

#featured .ui-tabs-panel .info{
position:absolute;
bottom:0;
left:0;
overflow:hidden;
height:90px;
width:425px;
background:#111;
opacity:0.8;
filter:alpha(opacity=80);
.width: 100%; /* IE */
}

#featured .ui-tabs-panel .info a.hideshow{
position:absolute;
font-size:11px;
color:#111;
right:10px;
top:-20px;
line-height:20px;
margin:0;
outline:none;
background:#dfded8
}

#featured .info h3{
font-size:20px;
font-family:&quot;Allerta&quot; ,arial ,sans-serif;
padding:5px 10px;
margin:0;
font-weight:bold;
overflow:hidden
}

#featured .info p{
margin:0 10px;
line-height:14px;
color:#fff
}

#featured .info a{
text-decoration:none;
color:#cd3301
}

#featured .info a:hover{
text-decoration:underline
}

#featured .ui-tabs-hide{
display:none
}

</b:if>
</style>


Step 2

Add following code just ABOVE </body>

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js' type='text/javascript'/>

<script type='text/javascript'>
$(document).ready(function(){
$(&quot;#featured &gt; ul&quot;).tabs({fx:{opacity: &quot;toggle&quot;}}).tabs(&quot;rotate&quot;, 5000, true);
});
</script>
</b:if>

Save your template.


Step 3

Now go to Page Elements > Add a gadget > HTML/JavaScript and add following there and save.

<div id='featured'>
<ul class='ui-tabs-nav'>
<li class='ui-tabs-nav-item ui-tabs-selected' id='nav-fragment-1'><a href='#fragment-1'><img alt="testing" height="60" src="http://www.mobigod.com/wp-content/uploads/2010/07/How-to-Check-Your-Account-Balance-on-Vodafone-Idea-BSNL-Reliance-GSM-Aircel-Airtel-Tata-Docomo-networks.jpg" width="80" /><span>Mobile Balance</span></a></li>

<li class='ui-tabs-nav-item' id='nav-fragment-2'><a href='#fragment-2'><img alt="testing" height="60" src="http://2.bp.blogspot.com/_tbHfaj1A058/THJK8Y2zSBI/AAAAAAAALjw/h-wCMIxEUig/s1600/pyar+hua+ikrar+hua+hai+1.JPG" width="80" /><span>Rain Songs</span></a></li>

<li class='ui-tabs-nav-item' id='nav-fragment-3'><a href='#fragment-3'><img alt="testing" height="60" src="http://3.bp.blogspot.com/_tbHfaj1A058/TSMgX-M1KWI/AAAAAAAAL7Q/AW6gc9IP1bI/s1600/mafia2.jpg" width="80" /><span>Top PC Games</span></a></li>

<li class='ui-tabs-nav-item' id='nav-fragment-4'><a href='#fragment-4'><img alt="testing" height="60" src="http://1.bp.blogspot.com/_tbHfaj1A058/TSMgWZPUPuI/AAAAAAAAL7M/RGj9UwEOdis/s1600/film%252Bcast%252Bcrew1.JPG" width="80" /><span>Upcoming Movie</span></a></li>
</ul>

<!-- First Content -->
<div class='ui-tabs-panel' id='fragment-1' style=''>
<img alt="testing" height="290" src="http://www.mobigod.com/wp-content/uploads/2010/07/How-to-Check-Your-Account-Balance-on-Vodafone-Idea-BSNL-Reliance-GSM-Aircel-Airtel-Tata-Docomo-networks.jpg" width="420" />
<div class='info'>
<h3><a href='http://www.mobigod.com/how-to-check-your-account-balance-on-vodafone-idea-bsnl-reliance-gsm-aircel-airtel-tata-docomo-networks.html'>Check Mobile Balance</a></h3>
<p>How to Check Your Account Balance on Vodafone / Idea / BSNL / Reliance GSM / Aircel / Airtel / Tata Docomo / Virgin Mobile / Spice networks?...<a href='http://www.mobigod.com/how-to-check-your-account-balance-on-vodafone-idea-bsnl-reliance-gsm-aircel-airtel-tata-docomo-networks.html'>More</a></p>
</div>
</div>

<!-- Second Content -->
<div class='ui-tabs-panel ui-tabs-hide' id='fragment-2' style=''>
<img alt="testing" height="290" src="http://2.bp.blogspot.com/_tbHfaj1A058/THJK8Y2zSBI/AAAAAAAALjw/h-wCMIxEUig/s1600/pyar+hua+ikrar+hua+hai+1.JPG" width="420" />
<div class='info'>
<h3><a href='http://film-cast.blogspot.com/2010/08/evergreen-bollywood-songs-on-baarish.html'>Evergreen Bollywood Sawan Songs</a></h3>
<p>Evergreen Bollywood songs on Baarish, Saawan, Rainy Season with video...<a href='http://film-cast.blogspot.com/2010/08/evergreen-bollywood-songs-on-baarish.html'>More</a></p>
</div>
</div>

<!-- Third Content -->
<div class='ui-tabs-panel ui-tabs-hide' id='fragment-3' style=''>
<img alt="testing" height="290" src="http://3.bp.blogspot.com/_tbHfaj1A058/TSMgX-M1KWI/AAAAAAAAL7Q/AW6gc9IP1bI/s1600/mafia2.jpg" width="420" />
<div class='info'>
<h3><a href='http://www.systemrequirements.in/'>Upcoming Top PC Games</a></h3>
<p>SystemRequirements.in is a site where you can get the most accurate reuirements for PC...<a href='http://www.systemrequirements.in/'>More</a></p>
</div>
</div>

<!-- Fourth Content -->
<div class='ui-tabs-panel ui-tabs-hide' id='fragment-4' style=''>
<img alt="testing" height="290" src="http://1.bp.blogspot.com/_tbHfaj1A058/TSMgWZPUPuI/AAAAAAAAL7M/RGj9UwEOdis/s1600/film%252Bcast%252Bcrew1.JPG" width="420" />
<div class='info'>
<h3><a href='http://film-cast.blogspot.com/'>Upcoming Hollywood / Bollywood movies</a></h3>
<p>Complete discription of top upcoming movies both from Hollywood and Bollywood...<a href='http://film-cast.blogspot.com/'>More</a></p>
</div>
</div>
</div>

Customization for Step 3
Red > Image URL
Pink > Image alter text
Blue > Post URL
Green > Title of Posts
Bold and italic > Description of posts

Note: To fit to your template you have to change the width/s given in the Step 1.

Other Versions of Featured Content Slider
  1. Simple jQuery Featured Content Slider (with numbers to navigate)
  2. Content Slider with Read more link

27 April 2011

Pre Live Mag Blogger Template


Simposium blogger template



21 April 2011

How to fix the missing "Add a Gadget" link in the Blogger

One of the follower of "Blogger Help" asked me by email: Today when I signed in to Blogger dashboard and go to page elements area I found the Add a Gadget option link is missing. How can I now add a new widget.



How to Add the Missing Quick Edit Wrench to Blogger blog Gadgets

By default all Blogger templates have the quick edit wrench at the bottom of each gadget. This helps in to quickly edit that gadget without going to Page Elements page. But some of the custom third party templates lacks this wrench and you have to go to Page Elements page every time when you want to edit the gadget. I have already explained about how to add the missing quick edit pencil. Here I will explain the procedure to add this missing quick edit wrench.


Add Bubble Comments Counter in Blogger Blog Post Title

More and more innovative ways are coming to make Blogger blogs attractive. Bubble Comments Counter is one of them. This bubble displays the total comments number for the any posts. Click for DEMO. Some of the new Blogger templates already have it. But if your template do not have bubble comment counter the following is the easy method to add it.



16 April 2011

Happy Shopping Blogger template


Pharse blogger template



How to Remove Title & Rating in Embeded YouTube Videos

When you embed the YouTube video to your website, that  video shows a grey bar at the top with the title of the video. Most of you do not want to show this title and rations. You can easily remove this title.

Following the embed code of YouTube video:

<object width="425" height="349"><param name="movie" value="http://www.youtube.com/v/FzRH3iTQPrk?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FzRH3iTQPrk?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="349"></embed></object>

Just replace
&amp;hl=en_US

with
&showinfo=0


This will remove the title and ratings.

Demo

Normal Video



Video with title and ratings removed


UPDATE:You can modify new iframe YouTube video code as follows

Normal New code

<iframe allowfullscreen="" frameborder="0" height="390" src="http://www.youtube.com/embed/l6BUaNbTEAk?rel=0" width="640"></iframe>

Modified New code

<iframe allowfullscreen="" frameborder="0" height="390" src="http://www.youtube.com/embed/l6BUaNbTEAk?rel=0 &showinfo=0" width="640"></iframe>

12 April 2011

How to add Page peel or Page flip effect to Blogger blog?

The page peel/flip effect hides the content and reveals it when mouse pointer is hovered there. This effect is present on most of the websites. Today we will learn to add this page flip effect to your blog.


Live Demo

06 April 2011

Add "Back to Top/Jump to Top" to Blogger blog

You have seen "Jump to Top" or "Back to Top" or "Scroll to Top" button on many websites. This button let the visitor to go back to the top of the website when he/she is scrolled to the bottom of that website.This also helps when you have long lengthy posts.

Live Demo

05 April 2011

Flower Mum Blogger Template



Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More