Thursday, December 30, 2010

Multi Column Footer Widget For Blogger –The Hot!

Multi-Column-Footer Widget For Blogger

We had previously shared a tutorial on Three Column Footer Widget which was well appreciated and today we have yet another more advanced version of the same widget. This new widget can become three column, four column or with as many columns as you wish. Further this new footer widget has some great CSS effects added to it which makes it even better. First see a demo to know what’s so different about it.

See the widget at the bottom of the following Demo blog,

Live Demo

 

How To Add the Multi Column Footer Widget To Blogger?

First we will add the CSS code to your blogger templates and then the HTML. So without wasting any time lets jump straight to the steps,

  1. Go To Blogger > Design > Edit HTML
  2. Backup Your Template
  3. Search for ]]></b:skin>
  4. Just above ]]></b:skin> paste the code below,

/*----- MBT MULTI COLUMN FOOTER WIDGET -----*/

#lower {
margin:auto;
padding: 0px 0px 10px 0px;
width: 100%;
background:#333333;
}
#lower-wrapper {
background:#333333;
margin:auto;
padding: 20px 0px 20px 0px;
width: 960px;
border:0;
}
#lowerbar-wrapper {
background:#333333;
float: left;
margin: 0px 5px auto;
padding-bottom: 20px;
width: 23%;
text-align: justify;
color:#ddd;
font: bold 12px Arial, Tahoma, Verdana;
line-height: 1.6em;
word-wrap: break-word;
overflow: hidden;
}
.lowerbar {margin: 0; padding: 0;}
.lowerbar .widget {margin: 0; padding: 10px 20px 0px 20px;}
.lowerbar h2 {
margin: 0px 0px 10px 0px;
padding: 3px 0px 3px 0px;
text-align: left;
border:0;
color:#ddd;
text-transform:uppercase;
font: bold 14px Arial, Tahoma, Verdana;
}
.lowerbar ul {
color:#fff;
margin: 0 auto;
padding: 0;
list-style-type: none;
}
.lowerbar li {
display:block;
color:#fff;
line-height: 1.6em;
margin-left: 0 !important;
padding: 6px;
border-bottom: 1px solid #222;
border-top: 1px solid #444;
list-style-type: none;
}
.lowerbar li a {
text-decoration:none; color: #DBDBDB;
}
.lowerbar li a:hover {
text-decoration:underline;
}
.lowerbar li:hover {
display:block;
background: #222;
}

 

       5.    Now search for </body> and paste the following code just above </body>

 

<div id='lower'>
<div id='lower-wrapper'>


<div id='lowerbar-wrapper'>
<b:section class='lowerbar' id='lowerbar1' preferred='yes'>
</b:section>
</div>


<div id='lowerbar-wrapper'>
<b:section class='lowerbar' id='lowerbar2' preferred='yes'>
</b:section>
</div>


<div id='lowerbar-wrapper'>
<b:section class='lowerbar' id='lowerbar3' preferred='yes'>
</b:section>
</div>


<div id='lowerbar-wrapper'>
<b:section class='lowerbar' id='lowerbar4' preferred='yes'>
</b:section>
</div>


<div style='clear: both;'/>
</div> </div>

      6.   Save your template and you are done!

Now go to Page Elements and add your widgets to the newly added Footer Widget that will look something like this,

image

You can observe that there a total of four columns by default and you can add as many widgets as you want to each column. If you wish to increase or decrease the number of vertical columns then follow the steps below.

How to Customize the Widget?

Well I will keep it simple. I think the colors and overall size and padding and margining are just perfect. The only thing that you will need to adjust according to your template is the width of the widget and the number of vertical columns.

1.  In order to reduce or increase the overall width of the widget simply change width: 960px;

2.  If you wish to decrease the number of widgets to three then simply delete this part of the code,

<div id='lowerbar-wrapper'>
<b:section class='lowerbar' id='lowerbar4' preferred='yes'>
</b:section>
</div>

3.  Or if you wish to add an extra column then add the code below just above <div style='clear: both;'/>

<div id='lowerbar-wrapper'>
<b:section class='lowerbar' id='lowerbar#' preferred='yes'>
</b:section>
</div>

Remember that lowerbar# refers to the column number. So if you want to add a fifth column then simply replace  lowerbar# with lowerbar5.

After you have added the fifth column then remember to change width: 23%; with width: 17%; 

You will repeat step 3 for as many columns as you wish to create. But three and four and five columns are a standard. Increasing them will make things look ugly.

 

That’s it! Enjoy :D

Wishing you all a Happy New Year 2011 full of love, joy and just Happiness. Peace and blessings :)

Tuesday, December 28, 2010

Add Customized PayPal Donate Button Below Blogger Posts

donate Below every post at “MY Blogger Tricks” you have seen a PayPal donate button customized with some Author description next to it. It’s indeed a wizard tool that helps you tremendously with your Blog’s revenue. Some people are really generous and they do help new bloggers and keep them motivated with their precious donations. Some great people have even donated us $20-$25 just for making them smile. :) I had kept this little PayPal donation code for my premier services but I thought it would be nicer if I share it with all those who wish to go forward. See a screen shot below,

 

 

paypal-donate-button

How To Get the PayPal Donate Button Code?

Kindly follow these steps,

  1. Log into PayPal
  2. Click The Merchant Services Tab and then select Donate Option under Create Button

Paypal--1

 

    3.  Then Fill the form with relevant details as shown below. Leave step-2 and step-3 as default.

Paypal---2

     4. Hit Create Button

     5.  Click Remove code protection Link in order to simplify the code. Its completely safe even this way.

paypal--3

       6.  Copy the code and jump to the next part of the tutorial below.

 

How to add Customized PayPal Donate Button To Blogger?

Note:- Before adding the customized code shared below to blogger if you wish to try it on MBT HTML Editor and customize the look then its not a bad idea. :)

As usual I have tried my best to keep it simple. So here we go,

  1. Go To Blogger > Design > Edit HTML
  2. Back up your template
  3. Check the Expand Widget Templates box
  4. Search for data:post.body
  5. Just below it paste the code below,

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

  <table border='0' cellpadding='2' cellspacing='0' width='590'><tbody>
      <tr>
        <td><div style='border:5px solid #37BD07; padding:5px 10px; margin-right:5px;'>  <br/> PASTE PAYPAL DONATE BUTTON CODE RIGHT HERE
</div> </td>

        <td>
          <p align='justify'><font color='#2FAA2F'><em><strong>Respected Readers:</strong></em></font>
                  <br/><em>WRITE YOUR SHORT REQUEST MESSAGE HERE</em></p>
       </td>
      </tr>
    </tbody></table>
</b:if>

Replace PASTE PAYPAL DONATE BUTTON CODE RIGHT HERE with your PayPal code that you got earlier. And replace WRITE YOUR SHORT REQUEST MESSAGE HERE with something that may catch reader’s attention. You can get an idea from my request message.

  6. Save your template and visit your blog and see it hanging in action :)

How To Customize The Code?

  • To Change the width of the widget change the value width='590'
  • To Change the border size and colour change border:5px solid #37BD07

That’s it!

Please not that if PayPal is not available in your countries then you can use Donate button of any Online account that you may have. If you needed any help just let me know. If this tutorial helped you a little then kindly consider contributing a small donation. :)

Sunday, December 26, 2010

How to Create a Table Of Contents Page For Blogger?


The hosting server where I saved the JavaScript is down. So I have updated the Last code so please use the updated one.




Table-of-contents-for-bloggger You have seen that I have created an automatically updated table of contents page that shows the links to all posts published so far at this blog. This widget displays all your posts category wise and really saves time. I was previously adding new links manually to the Blogger Tricks page but as soon as I came to know of this great widget from Abu Farhan I instantly converted to it. This widget will also tell visitors that which posts are new and which are old. I have modified the CSS in order to make it suit your blog appearance.


Please first see a Demo Table Of Contents Page and play with the widget to see what is so exciting about it.




Follow the steps below to create a TOC page for your blog



  1. Go To Blogger > Design > Edit HTML

  2. Back up your template

  3. Search for ]]></b:skin>

  4. And just above it paste the CSS code below,



/*--------MBT TOC-----*/
.judul-label{
background-color:#E5ECF9;
font-weight:bold;
line-height:1.4em;
margin-bottom:5px;
overflow:hidden;
white-space:nowrap;
vertical-align: baseline;
margin: 0 2px;
outline: none;
cursor: pointer;
text-decoration: none;
font: 14px/100% Arial, Helvetica, sans-serif;
padding: .5em 2em .55em;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-border-radius: .5em;
-moz-border-radius: .5em;
border-radius: .5em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 1px 1px 4px #AAAAAA;
box-shadow: 0 1px 2px rgba(0,0,0,.2);
color: #e9e9e9;
border: 2px solid white !important;
background: #6e6e6e;
background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
background: -moz-linear-gradient(top,  #888,  #575757);
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}

.data-list{
line-height:1.5em;
margin-left:5px;
margin-right:5px;
padding-left:15px;
padding-right:5px;
white-space:nowrap;
text-align:left;
font-family:"Arial",sans-serif;
font-size:12px;
}

.list-ganjil{
background-color:#F6F6F6;
}

.headactive{
    color: #fef4e9;
    border: 2px solid white !important;
    background: #1C8DFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#9dc2e7), to(#438cd2));
    background: -moz-linear-gradient(top,  #9dc2e7#438cd2);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dc2e7', endColorstr='#438cd2');
}

     5.   Save your template and now create a New Page (not a new Post).

     6.    Give Your new Page a relevant title like “XYZ Table Of Contents” and then in the EDIT HTML mode of your blogger editor paste the code below,

UPDATED CODE:




<script src="http://abu-farhan.com/script/acctoc/daftarisiv2-pack.js"></script>
<script src="http://www.mybloggertricks.com/feeds/posts/summary?max-results=1000&amp;alt=json-in-script&amp;callback=loadtoc"></script>
<script type="text/javascript">
var accToc=true;
</script>
<script src="http://abu-farhan.com/script/acctoc/accordion-pack.js" type="text/javascript"></script>



See a screenshot on how things will appear,

Table-of-contents

Now simply replace http://www.mybloggertricks.com with your Blog URL and hit save. View your new page to see a beautiful Table Of Contents with a nice drop down effect.


Customize The TOC widget


By default I have kept the Category background in active colour mode to appear as blue and inactive as dark gray as shown below,

Customize-TOC



If you want to change the colour of the Active mode then simple change #9dc2e7 and #438cd2 . Here #9dc2e7   refers to a lighter shade and #438cd2 refers to a darker shade colour. So whatever colour you wish to use simply replace #438cd2 with your prefered colour and #9dc2e7  with the lighter shade of your prefered colour.

You will find our Colour Generator Tool useful in deciding a colour selection.


That’s it!

I hope you will find it really useful. If you find anything unclear then feel free to ask for my assistance. Peace out! :)

Add Drop Shadows to Images and Expand them on Mouse Hover

Image-Drop-Shadows CSS is a fun thing to play with. With the growing development of cascading style sheet and with the accepting compatibility of new browsers, web designing is becoming more and more creative. We once used Photoshop to manually add drop shadows to images but now thanks to CSS3 you can add drop shadows to all your images automatically. We will learn today how to minimize the size of large images and how can we make them expand to their original size on mouse hover. I am sure you will love it :)

Please see a demo first,

Live Demo

 

How To add Drop Shadows and Enlarge Images on Mouse Hover?

The methods are really simple.

  1. Go to Blogger > Design > Edit HTML
  2. Back up your template
  3. Search for ]]></b:skin>
  4. Just above ]]></b:skin> paste the following code,

.MBT-CSS3 img{
-webkit-transform:scale(0.7); /*Webkit 0.7 times the original Image size*/
-moz-transform:scale(0.7); /*Mozilla 0.7 times the original Image size*/
-o-transform:scale(0.7); /*Opera 0.7 times the original Image size*/
-webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/
-moz-transition-duration: 0.5s; /*Mozilla Animation duration*/
-o-transition-duration: 0.5s; /*Opera Animation duration*/
opacity: 0.5;
margin: 0 10px 5px 0;
}

.MBT-CSS3 img:hover{
-webkit-transform:scale(1.1); /*Webkit: 0.5 times the original Image size*/
-moz-transform:scale(1.1); /*Mozilla 0.5 times the original Image size*/
-o-transform:scale(1.1); /*Opera 0.5 times the original Image size*/
box-shadow:0px 0px 30px gray;
-webkit-box-shadow:0px 0px 30px gray;
-moz-box-shadow:0px 0px 30px gray;
opacity: 1;
}

 

If you wish to further decrease the image size then decrease 0.7 or if you wish to further fade the image then decrease 0.5

You are almost done. Now when ever you want the image to appear with this effect, simply use this code,

<div class="MBT-CSS3">
<img src="Image URL Goes Here" />
</div>

 

Upload your image to Blogger editor and replace Image URL Goes Here with your image link. You are done. Now visit your blog to see the effect working in action and yell out Bravo! :P

If you wish to add this effect to another image just keep on adding <img src="Image URL Goes Here" /> before </div>

This effect is compatible with latest versions of Mozilla, Safari, Opera, Chrome and as usual not that effective with boring IE. I just hope you liked it.

Friday, December 24, 2010

Add Facebook Like Button, Retweet, Stumble and Digg Counter Buttons To Blogger

social-media Ever expected to add the best social media buttons all at one go? Well today’s Widget is not just a smart one but it will surely increase your blog Traffic tremendously. The widget includes Facebook Like Button which is highly appreciated throughout the blogosphere and our favourite the retweet button, Stumble and Digg Counter Buttons. All these buttons are eye catching so the visitors would love clicking them and thus bringing you more and more traffic by sharing your tutorials with people in their social media networks. You can see these buttons in action just under my post titles. So how do we add them? Here we go –>

Demo Screenshot,

social-media-buttons

How to add Social Media Buttons To Blogger?

The method is as simply as throwing a peanut in air and swallowing it. =p Simply follow these steps,

  1. Go To Blogger > Design > Edit HTML
  2. Back up your template
  3. Check the Expand Widget Templates box
  4. Then click Ctrl + F and in the browser search box paste this,

data:post.body

    5. Just above this code paste the giant code below,

 

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<table border='0'>
<tr>
<td><div style='padding-top:6px;'>
<script type='text/javascript'>
tweetmeme_style = &quot;compact&quot;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div></td>

<td>
<script expr:src='&quot;http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=&quot; + data:post.url'/>
</td>

<td><div style='margin-left:35px;'>
<script type='text/javascript'>
(function() {
var s = document.createElement(&#39;SCRIPT&#39;), s1 = document.getElementsByTagName(&#39;SCRIPT&#39;)[0];
s.type = &#39;text/javascript&#39;;
s.async = true;
s.src = &#39;http://widgets.digg.com/buttons.js&#39;;
s1.parentNode.insertBefore(s, s1);
})();
</script>
<a class='DiggThisButton DiggCompact'/>
</div></td>

<td>
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp; action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; margin-left:35px;  width:100px; height:20px;'/>
</td>
</tr>
</table> </b:if><br/>



 

6.  Save your template and see your blog decorated with some best social media buttons.

 

That’s All!

If you liked the tutorial then kindly be generous enough to liking it :)

Ps: Please Respect copyrights.

Tuesday, December 21, 2010

Create Slideshow In Blogger With Navigation - V2

A More Updated version can be found here -> jQuery Image Slider For Blogger - V3


 Blogger-Slideshow Last day I shared a simple tutorial which tells how to a create Slideshow For Blogger. Today we have yet another more advanced slider that has some awesome effects added to it. You can navigate between images and the slideshow has opacity plus slice image effects. All adds up just more spice to the slideshow. This slider is created by dev7studios.com and modified by us. Kindly have a look at the demo before we may start learning how to create this new Jquery slider.


Live Demo

 

PS: If you have slow network connection then kindly have patience till the slideshow loads.

How to add the Slideshow to blogger?

The methods as usual are more easy than you can imagine. Follow up,

  1. Go To Blogger > Design
  2. Choose Add a Page Element
  3. Then choose HTML/JavaScript widget
  4. Inside the widget paste the code below,

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

<script src="http://nivo.dev7studios.com/scripts/nivo-slider/jquery.nivo.slider.pack.js" type="text/javascript"></script>

<script type="text/javascript">
$(window).load(function() {
    $('#slider').nivoSlider();
});
</script>

<style>
#slider {
    position:relative;
}
#slider img {
        position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
}

.nivo-controlNav {
    position:absolute;
    left:260px;
    bottom:-42px;
}
.nivo-controlNav a {
    display:block;
    width:22px;
    height:22px;
    background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJGVjRM3seAdnombcILKMtY7KFgVscrPfageT19tx_vwqFIk8KhTAxW_Rlu5Kyg4RjqDBF6oHqwfmqMCNxXXwrckON_OebV3gFI5itbBD6SYecBTQBpxabtHv-N7y1qgzudKWAIl755n4/s400/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:3px;
    float:left;
}
.nivo-controlNav a.active {
    background-position:0 -22px;
}

.nivo-directionNav a {
    display:block;
    width:30px;
    height:30px;
    background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiynbyZmB6ByetWW09xPlq5ROpPBBbvGn-QC-khbZoY8ueX9rREU2wvUXtSi4mXgBpOtL7OVhOGqD05pDiPDNa1BKH6V77O3TvfuplkP4V5lzu3usWGEyWK3n1H-nP3IVUOb3wQdD3HAIs/s400/arrows.png) no-repeat;
    text-indent:-9999px;
    border:0;
}
a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
}
a.nivo-prevNav {
    left:15px;
}

.nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
    font-size:16px;
    padding: 10px 0px;
}
.nivo-caption a {
    color:#efe9d1;
    text-decoration:underline;
}

.clear {
    clear:both;
}

.nivoSlider {
    position:relative;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
}
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:60;
    display:none;
}

.nivo-slice {
    display:block;
    position:absolute;
    z-index:50;
    height:100%;
}
.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    background:#000;
    color:#fff;
    opacity:0.7; /* Overridden by captionOpacity setting */
    width:100%;
    z-index:89;
}
.nivo-caption p {
    padding:5px;
    margin:0;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-html-caption {
    display:none;
}

.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:99;
    cursor:pointer;
}
.nivo-prevNav {
    left:0px;
}
.nivo-nextNav {
    right:0px;
}
.nivo-controlNav a {
    position:relative;
    z-index:99;
    cursor:pointer;
}
.nivo-controlNav a.active {
    font-weight:bold;
}
</style>

<div id="slider">


<img src="URL Of Image" alt="" title="Description Goes Here" />

<img src="URL Of Image" alt="" title="Description Goes Here" />

<img src="URL Of Image" alt="" title="Description Goes Here" />

<img src="URL Of Image" alt="" title="Description Goes Here" />

<img src="URL Of Image" alt="" title="#htmlcaption" />

</div>

<!—Write Descriptoon With Links In this Part—>
<div id="htmlcaption" class="nivo-html-caption">
Cool na? :) Now Learn How to create one by <a href="http://wwww.mybloggertricks.com">Clicking here</a>
</div>


<br/>
<br/>

How To Customize the Slider?

Of course its fun to customize it first using MBT HTML Editor :)

Replace URL Of Image with image link and Description Goes Here with any stuff that you may write. If you want to show no caption/description then simply delete title="Description Goes Here"

If you wish to add effects to text or use a link then use title="#htmlcaption"  instead and then add your description as I have done after <div id="htmlcaption" class="nivo-html-caption"> . If you are finding this part difficult then let me know to which image do you want to add the effect. I will provide you with the code required.

Note:  Please Note that you will need to use Images with equal sizes. The default size of all images used in this tutorial is 618 x 270. To learn how to adjust image sizes using Photoshop read this tutorial. Photoshop Image Editing Basics For bloggers

How To add More Images?

To add another image simply paste the code below just above </div>

<img src="URL Of Image" alt="" title="Description Goes Here" />

That’s it! Enjoy :)

Sunday, December 19, 2010

How To Create Stunning Image Slideshows In Blogger? - V1

A More updated version can be found here -> jQuery Image Slider For Blogger - V3

Blogger-SlideshowWell this is surely gona cheer up us all. After a lot of struggle a simple coded Slideshow came across my eyes while reading Boban KariÅ¡ik’s article on Jquery Slideshow. The code that he created is in fact plausible and after tweaking a portion of the CSS and some HTML provided by him, I was able to create a compatible version of the Slide Show for Blogger. Kindly view the demo before we jump at the tutorial.


Live Demo

 

How To Add Jquery SlideShow To Blogger Templates?

I have tried my best to make the code installation as easier as possible. You just need to copy the code and paste it in the HTML/Javascript widget. Thats it!

  1. Go To Blogger > Design
  2. Choose Add a Page Element
  3. Then choose HTML/JavaScript widget
  4. Inside the widget paste the code below,

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

<script type="text/javascript" src="http://s3slider-original.googlecode.com/svn/trunk/s3Slider.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
   $('#MBT-slider').s3Slider({
      timeOut: 3000
   });
});
</script>

<style>

#MBT-slider {
   width: 590px; /* Keep it 20px-40PX greater than ACTUAL Image size */
   height: 335px;
   position: relative;
   overflow: hidden;
   margin-left: 0;
}

#MBT-sliderContent {
   width: 590px;
   position: absolute;
   top: 0;
   margin-left: 0;
}

.MBT-sliderImage {
   float: left;
   position: relative;
   display: none;  top: 0;
   border:1px solid #ddd;

}

.MBT-sliderImage span {
position: absolute;
    font: 10px/15px sans-serif,Arial, Helvetica;
    padding: 10px 10px;
    background-color: #000;
    color: #fff;
    filter:'alpha(opacity=70)';
    -moz-opacity: .5;
    -khtml-opacity: .5;
    opacity: .5;
    text-align:justify;
}

.MBT-sliderImage span a {

text-decoration:underline;
color:#FE6602;
}

.clear {
   clear: both;
}

.top {
    top: 0;
    left: 0;
    width: 570px !important;
    height: 70px;
}
.bottom {
    bottom: 0;
    left: 0;
    width: 570px !important;
    height:90px;
}
.left {
    left: 0;
    top: 0;
    width: 110px !important;
    height: 335px;
}
.right {
    right: 0;
    bottom: 0;
    width: 80px !important;
    height: 319px;
}

</style>

<div id="MBT-slider">
<ul id="MBT-sliderContent">

<li class="MBT-sliderImage">
<img src="URL OF IMAGE" />
<span class="right"><h3>HEADING-1 GOES HERE</h3>DESCRIPTION GOES HERE</span>
</li>

<li class="MBT-sliderImage">
<img src="URL OF IMAGE" />
<span class="left"><h3>HEADING-2 GOES HERE</h3>DESCRIPTION GOES HERE</span>
</li>


<li class="MBT-sliderImage">
<img src="URL OF IMAGE" />
<span class="top"><h3>HEADING-3 GOES HERE</h3>DESCRIPTION GOES HERE</span>

</li>
<li class="MBT-sliderImage">
<img src="URL OF IMAGE" />
<span class="bottom"><h3>HEADING-4 GOES HERE</h3>DESCRIPTION GOES HERE</span>
</li>


<li class="MBT-sliderImage">
<img src="URL OF IMAGE" />
<span class="bottom"><h3>HEADING-5 GOES HERE</h3>DESCRIPTION GOES HERE</span>

</li>
<div class="clear MBT-sliderImage"></div>
</ul>
</div>

<br/>

 

How To Customize The Slideshow Code?

Simply replace URL OF IMAGE with the Image link and replace bolded black texts with your preferred headings and descriptions. You can play around how the slider appears. If you want the slider to appear from bottom then change the class to bottom if you want the slider to appear from right then change it to right and so on. If you wish you can set all sliders to bottom or top or to any position you wish.

If you want to slow down the speed with which the slider come and go then set timeOut: 3000 to a higher value like 4000 or 5000.

The default size of all images that I have used in this tutorial is having a width=550px and height=335px. So take images of equal size and then play around the sizes  width: 590px and height: 335px You can note that the width size i.e (590px) is greater than the actual image size of 550px. You will have to keep the width 20-40px greater than the actual image size so that the image may perfectly fit into the slide. You can play with this part and all other parts using our Magic tool i.e MBT HTML Editor

How To Add More Images Or Remove an Image From the Slider?

To add an extra image just above <div class="clear MBT-sliderImage"></div> add this code,


<li class="MBT-sliderImage">
<img src="URL OF IMAGE" />
<span class="bottom"><h3>HEADING GOES HERE</h3>DESCRIPTION GOES HERE</span>
</li>

Since you now know how to add an image then you will have certainly figured it out how to remove an image from the slide. I leave it on you. I know you guys are no less than Eienstein! =p

That’s All!

Click here to see a Demo at Boban KariÅ¡ik’s website 

I just hope you may find the tutorial useful and worth trying. If you find anything unclear then kindly do not hesitate to let me know. Peace out! :)

Friday, December 17, 2010

Google And DMOZ’s Warm Welcome And My Activities During The Long Break

hello-everyone! I offer my humble greetings to all loyal, valuable an highly motivating readers and contributors of MyBloggerTricks Blog. Its been a long time since I last posted and to be honest I was dying for this day to arrive. Its really tough to take all things along when you live in a world where you are surrounded with responsibilities from all corners. I started blogging in the year 2008 and my interest kept on increasing so much that I dedicated six hours daily to blogosphere and that was fun in its own. But today as I joined university and crossed my teenage, several responsibilities often slow down the posting process.

I opened my inbox after two months and was really shocked to have found so many unanswered queries and feedback. I humbly apologize all those who waited eagerly for a reply but could not receive any response from me side due to the most horrible and highly extended University Exams of my life! It was a 70 days long Preparation and Exams torture which I fortunately survived Alhamdulillah. :(

Keeping all things aside, what can be more shocking to an author than having lost valuable readership and ranking in the Online world. This was my biggest nightmare till last week but to our expectation I was shocked to have discovered everything the other way round! Amazingly not only did our readership have increased but the overall search engine ranking, blog traffic, blog publicity and not forgetting blog revenue have dramatically accelerated. MBT’s monthly page views, page bounce rates and number of daily unique visitors have increased. And I just don’t have words to thank all those who kept sharing our content with their fellow countrymen in different languages. I am thankful to Allah Almighty and then grateful to all of you who continuously kept me motivated with your amiable letters, emails and feedback. Thank you so much pals, it could have never been possible with you!

Do we have any Shocking Surprise?

Oh yeh we surely do. Just some months ago we announced that some pages of MyBloggerTricks blog have been finally added to the Largest human Edited Online Web Directory  and today to our amazement the homepage of My Blogger tricks has been finally added to DMOZ Directory in a category where only four blogs are listed along with the Mega Giant blogger and its an honour in itself. Search for “My Blogger Tricks” in the DMOZ search box and you will be driven to this,

 My-Blogger-Tricks-Listed-in DMOZ Directory

Google Gifted Us with A Hot Cheque!

Though I was not posting regularly but thanks to some loyal friends and readers the Traffic kept on increasing MashAllah and I just received a Cheque from Google through Western Union Cash and it felt really cool because I was running out of money and needed a better Computer to restart my blogging. Thankfully I have upgraded my system to Core 2 Duo now! :p

So What did we do during the Long Break?

Of course I can’t breath calmly unless I create or design something new and different. so during the Exam preparations and before it I was given the task of designing my University Department’s Annual Students Magazine. It was tough and hectic at first but as time passed, the experience turned really exciting. I designed around 50 pages out of 126. The Magazine includes my article and poem too. I have shared below a screenshot of my article on blogging,

what-is-blogging

If you want a readable version of the article above then kindly subscribe. The Article will be emailed to you instantly. Make sure you mention your Email ID in the comment box below once you subscribe. Current subscribers can simply mention their Email ID’s to receive the download copy.

Another project was designing a Premier Template with MBT’s copyrighted widgets, icons and goodies for a hacking blog i.e Rafay Hacking Articles The template was designed during EID Holidays and it turn out really interesting. To have a look at the template and read the author comments kindly visit this page –> Rafay Hacking Articles Redesigned

Now that was all for today. It was just a Hello post with little info about my activities during the long break that I took. I am back on duty and ready to share again some inspiring templates, Icons, goodies, widgets and some cool and useful CSS Tricks. Till then Prenez soin. Avoir un jour béni! (I am learning french BTW :p)

Saturday, July 3, 2010

Random Ad Banners Widget For Blogger



Random-Ad-Banner-Widget In most blogs which are selling ad spots you often have seen random Ad banners appearing when the page is refreshed. Ever wondered how to show random Ad Banners in Blogger? In today's tutorial we will learn how to create a Random Banner Widget for blogger which will show random Ad banners when a visitor visits a new page on your blog. Using this widget you can display as many Ad banners on a Sponsor Area as you want!


This widget is exactly similar to our previous 125 by 125 AD Banner Widget and in fact it is the most awaited one and have been requested several times by our readers. Just last night I succeeded in creating a simple Java script that uses Array of images and thus displays random images on Page refresh. 




Lets have a demo of the widget before jumping to the tutorial. Note:- Refresh the page to see new Ad banners.





Live Demo




How To Add Random Ad Banner Widget To Your Blogs?


Simply follow these steps,


  1. Go To Blogger > Design > Page Elements

  2. Choose HTML/JavaScript Widget

  3. And Paste the following code inside it,



<div align="center">
<table border="0"  cellpadding="2" cellspacing="6" width="265" bgcolor="#ffffff">
<tbody><tr>
<td><center>

<!--  BANNER#1  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</center></td>

<td><center>

<!--  BANNER#2  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</center></td>
</tr>
<tr>

<td><center>

<!--  BANNER#3  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</center></td>

<td><center>

<!--  BANNER#4  -->

<script language="JavaScript">
images = new Array(2);

images[0] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='125' width='125' alt='AD DESCRIPTION'></a>";

index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>

</td></center>

</tr>

</tbody></table>

<table border="0" bordercolor="#0084ce" cellpadding="2" cellspacing="6" width="265" bgcolor="#ffffff">
<tbody>
      <tr>
       <td><center><a href="URL OF ADVERTISER" rel="nofollow"><img width="265" height="37" border="0" alt="Advertise Now!" src="file:///C:/Documents%20and%20Settings/Mohammad/Desktop/ADVERTISE-HERE.gif" /></a></center></td>
      </tr>

    </tbody></table>

</div>



MAKE THE FOLLOWING CHANGES:-

1.  Replace URL OF ADVERTISER with the website link of the advertiser

2.  Replace URL OF BANNER’S IMAGE-1  and URL OF BANNER’S IMAGE-2 with the Image links of the Advertiser’s banners

3.  Replace AD DESCRIPTION with some information related to the Ad. The description appears on mouse hover.

4.  If you want to increase the distance between the ad blocks then edit width="265"

Now after making the necessary customization view your blog to see a beautiful 125 by 125 Banner widget that will change Banners on every different page.


Download Animated AD Banners


To ad spice to the widget may be you will prefer some of our previously designed animated banners -> Animated 125 by 125 AD Banners

Do let me know how did you find this new and useful widget. Take care! :D

Friday, June 25, 2010

Meta Tag Generator Tool For Blogger

meta-tags-generator-tool Meta description and meta keywords are the most popular html tags which are still recommended despite many arguments by several expert Search engine Optimizers. The first thing that every blogger must do after creating a log is to optimize his template by submitting it to search engines and by adding important meta tags inside the template. To make your job easy I have created a simple Meta Tag Generator Tool below which will help you create important tags within seconds with no SEO knowledge required at all!

Follow these tips for writing best blog description and for choosing the most relevant keywords for your blog.

Meta Description:

Describe your blog in max 150 letters. The Character Counter tool can help you. For example I have chosen the following words for describing my blog,

A Blog about Blogger Tricks, Blogger Templates, Widgets, SEO, Make Money Online, CSS and HTML Tricks etc.

You can choose a similar format to describe your blog with most relevant words.

Note:- I have enclosed the meta description inside a dynamic HTML tag in order to avoid duplicate content issue. Confused? Let me explain. If Meta description appears for all pages in your blog then search engine robots would think that all your pages are having same description. Since robots deal each page as a separate website therefore your blog could get penalized for using same meta description over and over again. To avoid this I have added two pieces of code before and after meta description  so that it may appear to robots at homepage only. Following are the two codes added to the tool by default,

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<META NAME="Description" CONTENT="Your Blog description">
</b:if>

 

 

Meta Keywords:

Choose words that describe the core topics of your blog. Keywords are high traffic targeted words that define your blog content. Most people use dozens of most competitive keywords but doing this is unnecessary and further effects your search engine listing. Choose few but smart keywords that may reflect the overall content of your blog. Google keyword Tool can immensely help you in choosing the right keywords. The best tip is to use similar keywords as used by your competitors. You can press Ctrl + U to open the source file of your competitor while you are on his blog. Through source file you can easily see what keywords and description your competitor is using.

Write a maximum of three words per keyword and separate each keyword using a comma. See my keywords as an example,

 

Blogger tricks,blogger tips, SEO guide, make money online, blogger widgets, css html tricks

Meta Author:

This is not a very important tag but still everyone likes to attach his name to his website so why should you left behind! :p Simply write your full name and avoid using nicknames or special symbols.

If you don't want to add your name then simply leave the blank empty in the tool below.

Meta Robot:

Sometimes you don't want search engine robots to crawl and index your blog so you can simply tell the robots that don't crawl the data of the blog using the No follow tag or No index tag.  By default blogger tags all blogs as ALL

If you don't want to be bothered with this tag then simply leave the blank empty in the tool below.

 

Meta Tag Generator Tool


Description:
Keywords:
Author (Optional):
Robots (Optional):

class="mbt4" TYPE="reset" VALUE="Clear All">

Saturday, June 19, 2010

HTML Form For Blogger

HTML Contact Form I received several emails this week regarding how to create a contact form, web form, email form etc. Few months back I wrote a detailed tutorial on how to create a HTML and CSS based Email Me form. In that tutorial I mentioned every single step of embedding a high quality free Contact form in your blogger blogs just the way I have done on my blog. See my Contact Me page.

Kindly read this tutorial to learn the best way or trick of adding a free Contact Form on your websites -> Learn How to Create HTML and CSS based Contact Form

Note:- This was a recall post.

Monday, June 14, 2010

Google Crawls This Blog Every Minute!

fast-crawl-rate I published two posts today and was shocked when I found out that how fast is Google crawling this website. It took less then a minute for my search results to appear. It was interesting to see how fast Google crawls a blogger site. I immediately took a screenshot as a proof to show it to most of you. I will share just one Search engine optimization tip which will help you achieve the fastest crawl rate possible! But first have a look at the screenshot below,

 

 

Keyboard-shortcuts-for-blog

 

Note:- In actual it might have taken even less than a minute for Google to crawl the last post that I published. Due to my reaction delay I took long to observe this amazing crawl rate and then to take the screenshot.

How to let Google Crawl your Website Faster?

As I promised that there is only one SEO tip which will boost the crawl rate of your blog or website and the tip is,

Start publishing useful and valuable content so that more and more people could link to your blog. The more one way linking you receive the better your rank increase in Google search listings. PageRank greater than 2.0 in short means a faster crawl rate! The higher your Site PR grows the better your ranking increase in Search engine listings. So work hard from today to flow the PR juice from other developed blogs to your blog.

Write Guest Posts at blogs with good PR and traffic and just don't waste any further time by commenting on forums and blogs! MBT has just started offering guest posting and is offering three Links to your blog for one post that you write for us. Further we have promised that if you come up with at least 6 quality Guest posts for MBT we will add your homepage link to our Friends list permanently! You can read further details here -> All Brilliant minds invited to write Guest Posts at MBT!

Kindly let me know what are your valuable views on increasing the crawl rate of a site.

Blogger Post Editor Keyboard Shortcuts

Blogger Keyboard Shortcuts After writing a post on Windows Live Writer keyboard shortcuts I moved towards Blogger Editor. I tried many combinations of keyboard shortcuts but only few shortcuts could work properly with the latest browsers like Mozilla and Chrome. However some shortcuts are still not applicable to the latest versions of Firefox and Chrome but they work with old browsers like Internet Explorer 5.5+.

Note:- Shortcuts with red font do not work with Firefox or any other latest browser.

 

 

The Complete List Of Keyboard Shortcuts for Blogger Editor

 

Keyboard Shortcuts Function
CTRL + Z To Undo
CTRL + X To Cut
CTRL + C To Copy
CTRL + V To Paste
CTRL + B To Bold
CTRL + A To Highlight all the text
CTRL + S To Auto Save and Keep editing
CTRL + D To Save as Draft
CTRL + F To Find a Word or Phrase
CTRL + G Indic Transliteration
CTRL + Y To Redo
CTRL + U To Underline
CTRL + I Change To Italic
CTRL + P To Publish the post
CTRL + SHIFT + P To Preview the post
CTRL + SHIFT + A To Insert Hyperlink

If you know any shortcut that I haven't shared yet then kindly share it with all of us in the comments. Hope this may help you in saving time while editing posts and in making your blogging experience more enjoying!

Windows Live Writer Keyboard Shortcuts

windows-live-writer.jpg Windows Live Writer Tricks tutorials are increasing day by day. WLW is a visual blog editor for Windows. It works with most blogging platforms like WordPress, TypePad, Movable Type, Blogger, and others. I always use it when I write posts even when I am offline. As a regular user of this useful editor I just figured out many keyboard shortcuts while playing with this cool high quality text editor. I have compiled each and every keyboard shortcut that works with Windows Live Writer and have listed them below for your ease.

The Complete List of Windows Live Writer Keyboard Shortcuts

Keyboard Shortcuts

Function

CTRL + Z

To Undo

CTRL + X

To Cut

CTRL + C

To Copy

CTRL + V

To Paste

CTRL + B

To Bold

CTRL + N

To Open a New Post

CTRL + A

To Highlight All text

CTRL + S

To Auto Save

CTRL + F

To Find a word or phrase

CTRL + H

To strikethrough

CTRL + K

To Insert Hyperlink

CTRL + L

To Insert Image

CTRL + Y

To Redo

CTRL + U

To underline

CTRL + I

Change to italic

CTRL + O

To Open Drafts or Recently posted posts

CTRL + P

To Print the post

F11

Switches To Edit window

F12

Switches To Preview window

SHIFT + F11

Switches To Source window

CTRL + F11

Toggles theme usage

CTRL + SHIFT + C

To Set Category/ Tag

CTRL + SHIFT + V

Paste Special:
Lets you whether to keep or remove text formatting when you copy text from WordPad, excel, blogs or websites

CTRL + SHIFT + P

To Publish the post

You can read read more about it in this post -> Learn How To Do Offline blogging with windows live writer

If you know any hidden keyboard shortcut of WLW then kindly share it with us all! :>

Sunday, June 13, 2010

Surprisingly MBT Blog Finally added to DMOZ Directory! Learn How To Get Listed

DMOZ---Open-Directory Having your blog or website selected into DMOZ’s Open Directory Project is the dream of every blogger or web owner. And same is true for me as a newbie blogger who just started learning blogging and thanks to God now MBT blog is added to the Blogger Templates category where only 17 blogs could make it out of thousands of quality blogs out there! How did MBT do it?

Well there are many factors that played well in my part and we will discuss all DMOZ Submission tips today so that one day you may feel the same joy that I am feeling at the moment :p

How to check if your blog or website is selected into DMOZ?

Go to Dmoz.org and write your blog URL or your Blog Title inside the search box. For example type my blog title in the search box and you will be brought to the sub directory where my blog is added.

get-listed-in-Dmoz

You can also go directly to the sub directory by following this root –> Computers: Internet: On the Web: Weblogs: Templates: Blogger

MBT-DMOZ-listing

Note:- DMOZ has added a sub-page of MBT i.e Magazine Style Templates and not the MBT homepage. So you will get no results when you type in the MBT homepage URL but if you type MY Blogger Tricks or Just Blogger Tricks MBT will appear. I am contacting them so that they may correct the URL.

Why is DMOZ listing is so important?

DMOZ is the largest human-edited directory of the web. With over 85,559 editors, DMOZ’s Open Directory Project (ODP) has listed more than 4.5 Million quality websites in 590,000 categories. It has played an influential role in the rise of social media, inspiring projects like Wikipedia. Believe it or not Google’s directory is made up of DMOZ directory. Most of the data that Google spiders crawl and index is from this amazing open directory. DMOZ is an open directory project (ODP) where any blog or website can be submitted for free with no submission fee  or recurring annual fee like that of Yahoo Directory which charges a nonrefundable fee of US$299! Of course for students like me it is far ahead of our budget.

An amazing fact about DMOZ is that if your blog gets listed in this huge directory then your blog will automatically be listed in all mega search engines except for Overture! Which means that you don’t need to submit your URL to hundreds of search engines if by luck you get selected at DMOZ. Dmoz reviews every single page submitted to them and they are very picky about what they include. Therefore, Dmoz’s Open Directory Project is a Trusted source of high quality websites for all search engines including AOL Search, Google, Yahoo and bing

Summarizing the benefits of adding your site to DMOZ,

  1. DMOZ data is consumed by thousands of search engines and websites in over 80 languages, from Google to smaller special interest websites. .
  2. Almost all search engines results are aggregated from DMOZ
  3. DMOZ is a PR 8.0 directory and indeed one link from this directory can turn out to be a blessing for your site.
  4. If your site has been accepted into the DMOZ Open Directory then it will be listed in hundreds of search engines automatically.

What must You do so that Your Blog is selected at DMOZ?

There are many questions that hover in website owners mind like,

  1. Why hasn’t my site been accepted into DMOZ?
  2. Why aren’t DMOZ accepting my submission?
  3. What should I do to make sure my website is included in the DMOZ Open Directory?
  4. And so on…

Having your site successfully selected into DMOZ Open Directory is not very difficult if you follow some simple tips as follows,

  1. The most important tip is to read the DMOZ’s criteria of accepting a submission
  2. The second most important thing to keep in mind is that DMOZ doesn’t keeps on adding websites, they aim at creating a valuable and useful category that may offer relevant internet resources. Therefore DMOZ’s editors will accept your site only if it offers unique content rarely found elsewhere i.e Content which is not generic.
  3. Stop making your blog a Fish Market of Ads. Websites that sell too many products or have ads everywhere are never appreciated by DMOZ expert editors.
  4. Keep your blog’s interface user friendly and avoid un-professional widgets, banners, multimedia etc.
  5. Treat DMOZ more like a reader who will appreciate your work only if you offer high quality, valuable and worth-reading content. Make your articles more informative.
  6. DMOZ editors if assumed as readers will surely give a thumbs up to blogs with fastest load time. Carefully read this article to minimize your blog load time as much as you can –>12 useful tips to reduce your blog load time
  7. If your blog is not selected during your first submission then don’t loose hope and try again with a more precise and meaningful blog description. Try at most three times but each try should be done wisely as explained in DMOZ’s criteria for selection. 

Follow the above steps carefully and quickly make use of this amazing Open Directory which can indeed bless you with several good news during your future Blogging experience. :>

If you have any question regarding submitting your URL at DMOZ then feel free to leave your query in the comment box below.