Showing posts with label seowidgets. Show all posts
Showing posts with label seowidgets. Show all posts

Wednesday, 9 October 2013

How to Add Alexa traffic rank Stats Badge on your Blog and Website

Everyone who has a website or Blog should know about Alexa website.it not just a website.Today Alexa traffic rank is valid measure that count the popularity of each site. Alexa traffic rank is updated daily. Which means you're not to worry about how will my Alexa rank improve and how I can attract advisers and improve my online presence.The value of Alexa traffic ranks is very important as a webmaster.Because advertisers check the Alexa rank of the site before dealing with site.So proceeding good Rank in Alexa is really important as a web site owner.

Alexa Inc provides some Widgets for wbmasters and bloggers. One of these gadgets is Alexa traffic rank badge or rank stats widget.It show the alexa rank of particular site andalexa backlinks.By displaying one stats widgets on your site,You can build trust of advisors also amaze your readers.I have brought some codes of these badges.You can add one of desired Alexa traffic rank badges below to your blog or website.


Small Button  (120 x 65)
<a href="http://www.alexa.com/siteinfo/Your_site_Address"><script type='text/javascript' src='http://xslt.alexa.com/site_stats/js/t/a?url=Your_site_Address'></script></a>


Regular Button  (120 x 90)

<a href="http://www.alexa.com/siteinfo/Your_site_Address"><script type='text/javascript' src='http://xslt.alexa.com/site_stats/js/t/b?url=Your_site_Address'></script></a>

Replace Your_site_Address  with your website's or blog's URL.Below is an example code ofAlexa badge.

<a href="http://www.alexa.com/siteinfo/bestlodge.blogspot.com"><script src="http://xslt.alexa.com/site_stats/js/s/a?url=bestlodge.blogspot.com" type="text/javascript"></script></a>

If you have any question adding Alexa traffic rank on your site ask me below.

What is the Alexa rank of your site? I would like to hear...

How to change Font Size of your blogger blog pages?

How to change Font Size of your blogger blog pages

One considerable aspect of any success blogger is its DESIGN. Template setup,Widget settings and content settings are belonged to Design.Readership and Readability are dominant factors that must have in any site.You know it.Having suitable content width, font size of any blog gives many advantages such as increasing the conversion rate and pageviews per user and also unique page views.

Some users confuse to realize the content of some blogs.Any blog receives the visitors from different of ages.Twenty age visitors can read the content speedily than other readers. Forty age readers get more time to read the content.also some of them aguise pair of spectacles.Sixty age readers get most time to read the articles than other younger readers.most of them ZOOM the web page to read the article clearly.We want all these readers.

READERS ARE THE FOUNDATION OF EXISTENCE OF ANY SITE

In this tutorial you will learn how to change the Font size of your body copy.Font size of your blog is different from each blogs.It is depended on your blog niche,Template/Theme and your writing style.But having undisguised font size is really good for any site.I distinguish that having 16px or more than font size on your site is really good.(16px is equal to 1em),You may think that 16px fonts are big,but it is not.Font Family for "Georgia" and 16px font size is matching for any site.But,don't increase your font size more than your headlines.It will confuse you  and especially your readers.Now let's learn how to change your blogger blog content font size easily.

.....................................................................................................................................

Change the Font size of your blog

.....................................................................................................................................

1. Sign in to your blogger account.
2. Go to your Blogger Dashboard--> Select one blog --> Template -->Edit HTML.
3. Now find body selector code on your template within skin tags.
4. You will be found similar Css code like below.

body{
margin: 0;
font-family: Arial, Helvetica, Georgia, Sans-serif;
font-size: 14px;
text-align: center;
vertical-align: top;
background: #d7d2bc url() top center no-repeat;
color: #212121; }

If you blogger Template has used Variable definitions,codes will like this.

body {
  font: $(body.font);  color: $(body.text.color);
  background: $(body.background);
  padding: 0 $(content.shadow.spread) $(content.shadow.spread) $(content.shadow.spread);
  $(body.background.override)
} 

I will explain you to change font size on these both templates.

As in above first code,If your template has given font size straightly,you can change your blog's font size easily.You just need to replace 14px with any suitable width.It is not inevitable to use the measure as px(Pixels).You can use mm,cm,in,em,pt ...etc some measures too.If you replace 14px with 16px,the whole CSS code will look like this.

body{
margin: 0;
font-family: Georgia,Arial, Helvetica, Sans-serif;
font-size: 16px;
text-align: center;
vertical-align: top;
background: #d7d2bc url() top center no-repeat;
color: #212121; }

If your blog has used Variables,you must do some changes on variable definitions to adjust the font size.First find the Variable definition on your template.usually it is just under the skintag (<b:skin><![CDATA[/*) on most of blogs.It may difficult you to find out the code on your template.As in above second code,font size shows in  font: $(body.font); code.To get relevant variable of body font,search variable name using Inbuilt searching tool on your template editor.As above example code varable name is body.font.Now you will see similar code like below,


<Group description="Page Text" selector="body">
     <Variable name="body.font" description="Font" type="font"
         default="normal normal 12px Arial, Tahoma, Helvetica, FreeSans, sans-serif" value="normal normal 12px Arial, Tahoma, Helvetica, FreeSans, sans-serif"/>
     <Variable name="body.text.color" description="Text Color" type="color" default="#222222" value="#222222"/>
   </Group>

Now replace your font size to be displayed on the blog instead of red 12px.Don't forget to replace both numbers(Default and Value) with your font size.If you didn't put equal numbers to both positions,it will not work.

5. At last,Save your template.

You're done.If you have any problem changing the font size of your blog,feel free to ask me.Happy Blogging:)

How to Create static pages in Blogger

How to Create static pages in Blogger


What are Blogger static pages?


Blogger allows you to make specific pages like About me,Contact me,Privacy & Terms etc. These pages are Stand-alone pages.You can publish static information on these pages.Static pages are similar to post pages.But There are some differences between post pages and static pages.Static pages are not shown on homepage and not included in Labels.Address of static page is different than usual post pages(Not include the date).It also static pages are not indexed as Archive pages.But Static pages are ranked in Search results highly than some posts.Keyword-rich static pages can rank in higher positions in your search queries.

How to create Static pages?


Step 1 : Sign in to your Blogger account.
Step 2 : Now click on "pages" from the drop down menu near the your blog's title.
Step 3 : Click New page-> Blank page.

Step 4 : Now type your page content from "Compose" mode or edit its content clicking on "HTML" button.

Step 5 : After you add content to page,Click on Preview button to see how it will appear on your blog.


Step 6 : When you finished editing the page,click on Publish button to publicize your static page.
Step 7 : Now you have three options to link your static page on your blog.

  1. Keep your page link on the top of blog as a navigation menu.- Top tabs
  2. Add page's link on your sidebar as a vertical menu link- Side links
  3. Hide your page from blog.You can link that page manually on your Template/Menu bar.-Don't show

Step 8 : After you set the page link on your blog,click on "Save arrangements" button.

You're done.If you want to edit your page content again,click on "Edit" link bottom of your page title.Then edit your page content and after that click on "Update" button.

If you want another static page for your blog,repeat above steps.that's all.If you have any problem with creating new static page,feel free to ask from commenting section in below.

How To Add Horizontal menu bar for Blogger

How To Add Horizontal menu bar for Blogger

Step 1:  Sign in to your Blogger account.
Step 2:  From Blogger Dashboard,go to Layout.
Step 3:  Now click on "Add Gadget" link and find HTML/JavaScript element on the pop up window.
Step 4:  Paste below codes on your "HTML/JavaScript" element and make below changes on the given codes.

<style>
#hrnav05 {
list-style-type:none;
padding:0px;
margin:0px;
font-family:Helvetica,Arial,'DejaVu Sans','Liberation Sans',Freesans,sans-serif;
font-size:18px;
}
#hrnav05 li {
display:inline;
float:left;
margin:0px;
}
#hrnav05 li a {
color:#EDEA3B;
padding:11px;
text-decoration:none;
text-transform:capitalize;
background:#B7B7B7;
border-style:solid;
border-color:transparent;
border-width:3px;
-moz-transition:all 250ms ease-out;
-webkit-transition:all 250ms ease-out;
-o-transition:all 250ms ease-out;
transition:all 250ms ease-out;
}
#hrnav05 li a:hover {
color:#B20000;
border-style:solid;
border-color:#B0B0B0;
box-shadow:inset 0px 0px 8px 10px #ccc;
-moz-transition:all .3s ease-in ;
-webkit-transition:all .3s ease-in ;
-o-transition:all .3s ease-in ;
transition:all .3s ease-in ;
}
</style>
<br/>
<div id="hrnav05">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Currency converter</a></li>
<li><a href="#">Our Group</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>


- Replace red color #  with your target Urls such as your blog pages,specific posts or labels.
- Type the titles/names of your target Urls.

Step 5: Now Save your HTML/JavaScript.

..............................................................................................................................
More Information about customization
...............................................................................................................................

This navigation widget has been used hovering effects.You can change the default background color replacing the color name or hexadecimal number instead of #B7B7B7 .Also do same thing to the text color (color:#EDEA3B; ).You can change the both default and hovering effects.If you need any help,do comment in below.Happy blogging :)

Friday, 4 October 2013

How to add recent comments widget with avatars in blogger

How to add recent comments widget with avatars

Step 1. Go to Blogger Dashboard, then go to Layout and click on Add a Gadget link.

avatars, recent comments blogger, blogger widgets

Step 2. In the popup window scroll down + choose HTML/Javascript



Step 3. Paste in the following code in the empty box:

 <style type="text/css">
ul.w2b_recent_comments {
    list-style: none;
    margin: 0;
    padding: 0;
}

.w2b_recent_comments li {
    background: none !important;
    margin: 0 0 6px !important;
    padding: 0 0 6px 0 !important;
    display: block;
    clear: both;
    overflow: hidden;
    list-style: none;
}

.w2b_recent_comments li .avatarImage {
    padding: 3px;
    background: #fefefe;
    -webkit-box-shadow: 0 1px 1px #ccc;
    -moz-box-shadow: 0 1px 1px #ccc;
    box-shadow: 0 1px 1px #ccc;
    float: left;
    margin: 0 6px 0 0;
    position: relative;
    overflow: hidden;
}

.avatarRound {
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}

.w2b_recent_comments li img {
    padding: 0px;
    position: relative;
    overflow: hidden;
    display: block;
}

.w2b_recent_comments li span {
    margin-top: 4px;
    color: #666;
    display: block;
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
}
</style>
<script type="text/javascript">
//<![CDATA[
    // Recent Comments Settings
    var
 numComments  = 5,
 showAvatar  = true,
 avatarSize  = 60,
 roundAvatar = true,
 characters  = 40,
 showMorelink = false,
 moreLinktext = "More »",
 defaultAvatar  = "http://www.gravatar.com/avatar/?d=mm",
 hideCredits = true;
//]]>
</script>
<script type="text/javascript" src="http://helplogger.googlecode.com/svn/trunk/w2b recent comments with avatars.js"></script>
<script type="text/javascript" src="http://your-blog.blogspot.com/feeds/comments/default?alt=json&callback=w2b_recent_comments&max-results=5"></script>

Note
Replace your-blog with the name of your blog.
Replace the "5" values in red, with the number of comments you want to appear... from:

  • numComments  = 5 

and

  • &max-results=5 

To change the anonymous avatar, replace the following address with your own:
  • http://www.gravatar.com/avatar/?d=mm 

To change the size of the avatar, replace 60 value in green with your own

Step 4. After you've made the changes, click Save... and you're done!
Here are some amazingly funny emoticons compatible with your Blogger comments - also with threaded commenting system! If you want to know how to add them, just follow the next steps:

emoticons, smileys, blogger, tricks

Step 1.

Go to Dashboard - Template - Edit HTML - Proceed


...and select Expand Widget Template (don't forget to make a backup)

    Step 2. Search (using CTRL + F) for this code:

    • For previous commenting system: 
     <h4 id='comment-post-message'><data:postCommentMsg/></h4>
    • For threaded comments:
     <div class='post-footer-line post-footer-line-3'>

    Step 3. Add the below code just above it

    (for threaded comments, add the code after):

     <b:if cond='data:blog.pageType == "item"'>
    <div style=' width: 450px; text-align: left; border: 1px dashed #0084ce; background: transparent; padding: 10px; color:#000000; font-weight:bold; '>
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe9w5RSkUD5LGoSuwXfm0drLuC2RgY088hGCYTPoYhGTtXANtH9owQ7gUJUzGSRNjxfjozluQ8UG0NGHIfCo5e7sDx1OO1Yk3IbzjR-9cEGY_MylfnVwu-XYWh4_5PW2dmZ2ggPjNzT9nu/s1600/helplogger.blogspot.com(1).gif'/> :a
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJm5t3OiGehOtzWMc4caQxLIbKpyOIICI_CLbf8X4OGheuIHNnV_fnIRwPN-F6KA3F_AOXZVRScu2Y9V27sWf0dyhJkRKJMxejgMlZMZ0uAC9WCoX9PXIKdAc-SrUf1rEmz8hLk_8CxCQ7/s1600/helplogger.blogspot.com+(2).gif'/> :b
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCS2R0XyQtcXvmlxHHTb7vT4N7WTwYU-m8Dhm2jhXxXziG3AZYio9YH-_sO32AOIZlTQszvsGgQTOUqC-668IRq05RM_BAbM6-26AvJy5DBkIj9naaWdY37FPTcCLzedquHJLjKx3d-PDz/s1600/helplogger.blogspot.com(3).gif'/> :c
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMIj_5UoZUA8uS7cZzOMLXSPdfj_6SFoL5SneSTQQ27njyYist2EloI9DeJhs1JV44TtTnbOp6JJRiQjrBXtSfUev40pS99UerrLkTaLdKFUwVIk840JjEf0xEdayxS3COEKVpSkmzjDXZ/s1600/helplogger.blogspot.com(4).gif'/> :d
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAFFPghJv5MRDqJfhLft7Eb_FLjYPJLZL0VZg6XYlc-Ttt-i8c22JYJhxfdI_09oYJEzOO9ukQJI2mSSnhNMAI9J4LpR0T7ThQj2WYLr3noIJOeirGaN_jNMCMkuAayfQzxM8F0onX6_QX/s1600/helplogger.blogspot.com(5).gif'/> :e
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoLGxbyGcXvyzDw8ao_R0mUzDMxrz3dDml0tksQKaCI-IrlvXnjwdomSn8xhMmNrdEJgOyhbAHX2YXlh8GSiXWgLu3Leoz4pASPRr02d-BhrNCGsOPKlN5l7vZ6kxbghfJXr46LXBv_rqV/s1600/helplogger.blogspot.com(6).gif'/> :f
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBFrNaOgMkPvtBnuASDhw_VMuKTNqqZfVJef13d77XLMFxOCHKmf7THUd_b3VhiRu5zyLr1GKBwH06jYPPEH3hyphenhyphen72MzuGGOtoPtIRC44l8ur7QjWMzhNqzU88j6iju4coK4AsxMj8sqjfM/s1600/helplogger.blogspot.com(7).gif'/> :g
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFSKazFAtKvZ3PXH2B7aW03IwrRdpR4Tfpibs6V6AK6UMnhnKUR2Rl4s38dZl0SgD-DQe_1FoQ-w6CI0AeSDoxU5Q8XmFB0n0ID0GxLQjT7_EYVi4nHV0lQQgT_BpBHp6NnBdNq0szV7fQ/s1600/helplogger.blogspot.com(8).gif'/> :h
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT-vtwnV4UJGGaPGmMEpPl0mDmVhVlTDNzAPke8Ptcn3rsYgqASQRQRlljI8g-NdylrRWaWVOL57CTCLd2jVed3rqKn5B2XyIQ6Tk88xIlyHgcd3sJmwp2ZSZXHOyP2zqPl2t5gVil8_Ee/s1600/helplogger.blogspot.com(9).gif'/> :i
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqztk0_rT68trrqF3EW2tmY8l-en4fGlFKCzw22qgeqjI1lM7Cduo-xAx9Vu_11HIoIzsKph9Lz_oQXNLBVdZtW-Zrj-aQX_25fb5vmjeG7p5TqJ7uvh2VyUA43LL0dhkIXWI5-oZLqKG8/s1600/helplogger.blogspot.com(10).gif'/> :j
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvbqjcBEaAPvBWDBZZC9c81ugnWxnhTQDuvIqGjwG1YNjK3whCa7a4rFCqKlBE7aDXBKO1shcdC1pkr65DA6HWeGkTf5i0otHrEzYnkOyo8l_KoA43kZRf_hDTjY8PgvouQslg8J9H8jxL/s1600/helplogger.blogspot.com(11).gif'/> :k
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHBnYhct4gBflRHTUXtp_U0Rn9G1CYtqVPhL2lbDcpN_abTXQ2e_i4mQHkOSlCKOK2Hfm5Thyphenhyphen2D3ApBT3zs-5hkHLEg4jGjOiJI2YhuhIK0dkg2WjjJhpHtOE5VbTzDujImT8mzQRJn3ak/s1600/helplogger.blogspot.com(12).gif'/> :l
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbz6To_K0cP3nH1-3gd1r7xSdHUHXTnEMKrNJnK4uVN-4Gnz4bW3uluPxuNWdOS4ikv8-_ShHnOMxmstfqpAg_NzuFpgYdCqLe9a0pHocwwamST_d7Cl8Om4qPqDxCPDiGl5v2XwM4c2q4/s1600/helplogger.blogspot.com(13).gif'/> :m
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZPrYxUIT68il3TuNowe4N6oma0a8WRNEHiXK4fNLjKN4sJkhfh4f2j1x_iSxwB9n4UNZmhRUdHOB-RX6As2iq6FOl0tgITZmwNvFf7wqDw0x64zPDKgzcEgmJ6Roe3QBxEVe32J2kv4Y1/s1600/helplogger.blogspot.com(15).gif'/> :n
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYTZF1ybQ4M6gKxD_jU1MQDf3SgREveWhbPtkfJi2ViUFqoB4QbFvMFcu51-fCgKZ2Ay1My7L9VRKI8Iy7ZwvfDnd5lkOaT1Y2KWicn2lFAqhuJNqVTt6b-UAYJMW-JyfMi3aaPExHZvBT/s1600/helplogger.blogspot.com(16).gif'/> :o
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRcEm4sbG31QKiWxxVwaAHSv6u1J3BKRCAWZKeIk61tChA7h_dBBU-HHEtMC7i0Szs9FMrEswI0XMUG7J_OIYB9ZaNvhrfMlauZduC_1xFsjBwCW8yHw6PaVzcM5Vy2D5KpJRdKCPF5QSB/s1600/helplogger.blogspot.com(14).gif'/> :p
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqDeB-z5afnX6SOi-rO6tfMElBGgWAb6P9vMYhXq6y-kqs_Pu2Dp4_oDhqyZf2rEXV2abLPlBLcm_243t_S4mwcCOVPCgGffrFZs-j3Ir8g4f0YTssDrmfBeyuN2cKCchn_nVRIlto4GfM/s1600/helplogger.blogspot.com(17).gif'/> :q
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvPSLMyLd4r8q5m0t0RhNOaXVWhFoY_y6Yf09Z4Rk5Ol5hXaii61QcLT_DrTCJ5vBxFTwUF-3uGeSNUlaYHcIlOgpIDCQllHlzhWOYVFqUDZmgSIdHE8I892n_Ps7WtZ11WFmBW0kwvG7r/s1600/helplogger.blogspot.com(18).gif'/> :r
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlR9qQa5EoaRPB1IMbFJ9V5KU5NAnigxqlA87wikL5XsTk-0QTHZjMFuhJcnO-TOMvrEO9YLSCOjDmRSk37gClVUOjikOpNoxCJh6pMAUiSPkRKsaunxrw71V8Q8f9-eqm6WCly5FUmMj2/s1600/helplogger.blogspot.com(19).gif'/> :s
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ2Ayn2E0wVIntuZNQnynAzvNLHMrBwNbyTqXmXfERHGJVpJ7yE36HlgWnbe6FuQtYzts23jbOuPLFEYOVwbL3Phom9hejzG9sIltL403co-m6Uxk8qIQKSuXm1MDGrEIXO31TxZBot91H/s1600/helplogger.blogspot.com(20).gif'/> :t   <a href='http://helplogger.blogspot.com/2012/05/add-facemoods-emoticons-to-your-blogger.html' style='color: rgb(30, 122, 183); font-size: x-small;'>Add smileys to Blogger + </a>
    </div></b:if>

    Step 4. Now search for this piece of code:

     </body>

    Step 5. And add the following code immediately above it:

    • For previous commenting system:
     <script type='text/javascript' src="http://helplogger.googlecode.com/svn/trunk/facemood emoticons.js"/>
    • For threaded comments: 
     <script type='text/javascript' src="http://helplogger.googlecode.com/svn/trunk/facemood emoticons threaded.js"/>

    Step 6. Save the Template. Now, enjoy your comments!

    How To Embed A Youtube Playlist On Your Blogger Blog?

    In this post we will see how to create a YouTube video gallery using jQuery. It is an elegant gallery in which we can add 5 videos and for its dimensions, we could put it below the blog header. Actually you can put it anywhere, but it is recommended in that area considering that 765px is the width of the gallery.

    youtube to blogger
    To add this video slider to your blog go to Template > Edit HTML and before the </head> tag, add these scripts:

    <script>
    //<![CDATA[
    /*hoverscroll v.0.2.4*/
    (function($) {
    $.fn.hoverscroll = function(params) {
    if (!params) { params = {}; }
    params = $.extend({}, $.fn.hoverscroll.params, params);
    this.each(function() {
    var $this = $(this);
    if (params.debug) {$.log('[HoverScroll] Trying to create hoverscroll on element ' + this.tagName + '#' + this.id);}
    if (params.fixedArrows) {
    $this.wrap('<div class="fixed-listcontainer"></div>')
    }
    else {
    $this.wrap('<div class="listcontainer"></div>');
    }

    $this.addClass('list');
    var listctnr = $this.parent();
    listctnr.wrap('<div class="ui-widget-content hoverscroll' +
    (params.rtl && !params.vertical ? " rtl" : "") + '"></div>');
    //listctnr.wrap('<div class="hoverscroll"></div>');

    var ctnr = listctnr.parent();

    var leftArrow, rightArrow, topArrow, bottomArrow;
    if (params.arrows) {
    if (!params.vertical) {
    if (params.fixedArrows) {
    leftArrow = '<div class="fixed-arrow left"></div>';
    rightArrow = '<div class="fixed-arrow right"></div>';

    listctnr.before(leftArrow).after(rightArrow);
    }
    else {
    leftArrow = '<div class="arrow left"></div>';
    rightArrow = '<div class="arrow right"></div>';

    listctnr.append(leftArrow).append(rightArrow);
    }
    }
    else {
    if (params.fixedArrows) {
    topArrow = '<div class="fixed-arrow top"></div>';
    bottomArrow = '<div class="fixed-arrow bottom"></div>';

    listctnr.before(topArrow).after(bottomArrow);
    }
    else {
    topArrow = '<div class="arrow top"></div>';
    bottomArrow = '<div class="arrow bottom"></div>';

    listctnr.append(topArrow).append(bottomArrow);
    }
    }
    }
    ctnr.width(params.width).height(params.height);

    if (params.arrows && params.fixedArrows) {
    if (params.vertical) {
    topArrow = listctnr.prev();
    bottomArrow = listctnr.next();

    listctnr.width(params.width)
    .height(params.height - (topArrow.height() + bottomArrow.height()));
    }
    else {
    leftArrow = listctnr.prev();
    rightArrow = listctnr.next();

    listctnr.height(params.height)
    .width(params.width - (leftArrow.width() + rightArrow.width()));
    }
    }
    else {
    listctnr.width(params.width).height(params.height);
    }

    var size = 0;

    if (!params.vertical) {
    ctnr.addClass('horizontal');
    $this.children().each(function() {
    $(this).addClass('item');

    if ($(this).outerWidth) {
    size += $(this).outerWidth(true);
    }
    else {
    size += $(this).width() + parseInt($(this).css('padding-left')) + parseInt($(this).css('padding-right'))
    + parseInt($(this).css('margin-left')) + parseInt($(this).css('margin-right'));
    }
    });
    $this.width(size);

    if (params.debug) {
    $.log('[HoverScroll] Computed content width : ' + size + 'px');
    }
    if (ctnr.outerWidth) {
    size = ctnr.outerWidth();
    }
    else {
    size = ctnr.width() + parseInt(ctnr.css('padding-left')) + parseInt(ctnr.css('padding-right'))
    + parseInt(ctnr.css('margin-left')) + parseInt(ctnr.css('margin-right'));
    }

    if (params.debug) {
    $.log('[HoverScroll] Computed container width : ' + size + 'px');
    }
    }
    else {
    ctnr.addClass('vertical');
    $this.children().each(function() {
    $(this).addClass('item')

    if ($(this).outerHeight) {
    size += $(this).outerHeight(true);
    }
    else {
    size += $(this).height() + parseInt($(this).css('padding-top')) + parseInt($(this).css('padding-bottom'))
    + parseInt($(this).css('margin-bottom')) + parseInt($(this).css('margin-bottom'));
    }
    });
    $this.height(size);

    if (params.debug) {
    $.log('[HoverScroll] Computed content height : ' + size + 'px');
    }
    if (ctnr.outerHeight) {
    size = ctnr.outerHeight();
    }
    else {
    size = ctnr.height() + parseInt(ctnr.css('padding-top')) + parseInt(ctnr.css('padding-bottom'))
    + parseInt(ctnr.css('margin-top')) + parseInt(ctnr.css('margin-bottom'));
    }

    if (params.debug) {
    $.log('[HoverScroll] Computed container height : ' + size + 'px');
    }
    }
    var zone = {
    1: {action: 'move', from: 0, to: 0.06 * size, direction: -1 , speed: 16},
    2: {action: 'move', from: 0.06 * size, to: 0.15 * size, direction: -1 , speed: 8},
    3: {action: 'move', from: 0.15 * size, to: 0.25 * size, direction: -1 , speed: 4},
    4: {action: 'move', from: 0.25 * size, to: 0.4 * size, direction: -1 , speed: 2},
    5: {action: 'stop', from: 0.4 * size, to: 0.6 * size},
    6: {action: 'move', from: 0.6 * size, to: 0.75 * size, direction: 1 , speed: 2},
    7: {action: 'move', from: 0.75 * size, to: 0.85 * size, direction: 1 , speed: 4},
    8: {action: 'move', from: 0.85 * size, to: 0.94 * size, direction: 1 , speed: 8},
    9: {action: 'move', from: 0.94 * size, to: size, direction: 1 , speed: 16}
    }

    ctnr[0].isChanging = false;
    ctnr[0].direction = 0;
    ctnr[0].speed = 1;
    function checkMouse(x, y) {
    x = x - ctnr.offset().left;
    y = y - ctnr.offset().top;

    var pos;
    if (!params.vertical) {pos = x;}
    else {pos = y;}

    for (i in zone) {
    if (pos >= zone[i].from && pos < zone[i].to) {
    if (zone[i].action == 'move') {startMoving(zone[i].direction, zone[i].speed);}
    else {stopMoving();}
    }
    }
    }

    function setArrowOpacity() {
    if (!params.arrows || params.fixedArrows) {return;}

    var maxScroll;
    var scroll;

    if (!params.vertical) {
    maxScroll = listctnr[0].scrollWidth - listctnr.width();
    scroll = listctnr[0].scrollLeft;
    }
    else {
    maxScroll = listctnr[0].scrollHeight - listctnr.height();
    scroll = listctnr[0].scrollTop;
    }
    var limit = params.arrowsOpacity;
    var opacity = (scroll / maxScroll) * limit;

    if (opacity > limit) { opacity = limit; }
    if (isNaN(opacity)) { opacity = 0; }

    var done = false;
    if (opacity <= 0) {
    $('div.arrow.left, div.arrow.top', ctnr).hide();
    if(maxScroll > 0) {
    $('div.arrow.right, div.arrow.bottom', ctnr).show().css('opacity', limit);
    }
    done = true;
    }
    if (opacity >= limit || maxScroll <= 0) {
    $('div.arrow.right, div.arrow.bottom', ctnr).hide();
    done = true;
    }

    if (!done) {
    $('div.arrow.left, div.arrow.top', ctnr).show().css('opacity', opacity);
    $('div.arrow.right, div.arrow.bottom', ctnr).show().css('opacity', (limit - opacity));
    }
    }

    function startMoving(direction, speed) {
    if (ctnr[0].direction != direction) {
    if (params.debug) {
    $.log('[HoverScroll] Starting to move. direction: ' + direction + ', speed: ' + speed);
    }

    stopMoving();
    ctnr[0].direction = direction;
    ctnr[0].isChanging = true;
    move();
    }
    if (ctnr[0].speed != speed) {
    if (params.debug) {
    $.log('[HoverScroll] Changed speed: ' + speed);
    }

    ctnr[0].speed = speed;
    }
    }

    function stopMoving() {
    if (ctnr[0].isChanging) {
    if (params.debug) {
    $.log('[HoverScroll] Stoped moving');
    }

    ctnr[0].isChanging = false;
    ctnr[0].direction = 0;
    ctnr[0].speed = 1;
    clearTimeout(ctnr[0].timer);
    }
    }

    function move() {
    if (ctnr[0].isChanging == false) {return;}

    setArrowOpacity();

    var scrollSide;
    if (!params.vertical) {scrollSide = 'scrollLeft';}
    else {scrollSide = 'scrollTop';}

    listctnr[0][scrollSide] += ctnr[0].direction * ctnr[0].speed;
    ctnr[0].timer = setTimeout(function() {move();}, 50);
    }

    if (params.rtl && !params.vertical) {
    listctnr[0].scrollLeft = listctnr[0].scrollWidth - listctnr.width();
    }

    ctnr
    .mousemove(function(e) {checkMouse(e.pageX, e.pageY);})
    .bind('mouseleave', function() {stopMoving();});

    this.startMoving = startMoving;
    this.stopMoving = stopMoving;

    if (params.arrows && !params.fixedArrows) {
    // Initialise arrow opacity
    setArrowOpacity();
    }
    else {
    // Hide arrows
    $('.arrowleft, .arrowright, .arrowtop, .arrowbottom', ctnr).hide();
    }
    });

    return this;
    };

    if (!$.fn.offset) {
    $.fn.offset = function() {
    this.left = this.top = 0;

    if (this[0] && this[0].offsetParent) {
    var obj = this[0];
    do {
    this.left += obj.offsetLeft;
    this.top += obj.offsetTop;
    } while (obj = obj.offsetParent);
    }

    return this;
    }
    }

    $.fn.hoverscroll.params = {
    vertical: false,
    width: 400,
    height: 50,
    arrows: true,
    arrowsOpacity: 0.7,
    fixedArrows: false,
    rtl: false,
    debug: false
    };
    $.log = function() {
    try {console.log.apply(console, arguments);}
    catch (e) {
    try {opera.postError.apply(opera, arguments);}
    catch (e) {}
    }
    };
    })(jQuery);

    $(function(){
    $("#videoslider-tabs a").click(function(){
    var container = $("#videoslider-content");
    container.html("<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiviRyYaks_f4rd9mipBGqpGIw1Zq63r2-OSX570GUSthA0dbCiVuQZ8TF9Co3xlUmyyVpsgyPuP8qxs_6ECcNSAWAlXvynbtuOu0matK8uTe951O3TDT5-vraFihv6xCNpxO1pW7INcfoM/s1600/loading.png' class='loading-vid' />");
    var id = $(this).attr("href").slice(1);
    loadvideo(id);
    return false;
    });
    $("#videoslider-tabs").hoverscroll({vertical:true,width:300,height:330,arrows:false});
    $("#videoslider-tabs li").hover(function(){$(this).addClass("hover");},function(){$(this).removeClass("hover");});
    loadvideo();
    });

    function loadvideo (hash){if(hash){hash = hash.slice(3);$("#videoslider-content").html(video[hash]);$("#videoslider-tabs li").removeClass("actVid");$("#videoslider-tabs a[href=#vid"+hash+"]").parent().addClass("actVid");}else{$("#videoslider-content").html(video[1]);$("#videoslider-tabs li").removeClass("actVid");$("#videoslider-tabs a[href=#vid1]").parent().addClass("actVid");}}
    //]]>
    </script>

    Then add the styles before ]]></b:skin>


     /* Video Gallery for Blogger
    ----------------------------------------------- */
    #videoslider {
    background:#000; /* Background color */
    clear:both;
    margin:0 auto;
    padding:5px;
    width:765px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    }
    #videoslider, #videoslider-content, #videoslider-tabs {height:350px;overflow:hidden;}
    #videoslider-content {color:#fff;float:left;text-align:center;width:460px;z-index:1;}
    .loading-vid {display:block;margin:165px auto 0;}
    #videoslider-tabs {float:right;width:300px;margin:0;}
    #videoslider-tabs li {background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6q6NWqWqkkbHO_wU-v-4v6ohrnGTYjylGWCx6FeUBxvHid3RZK0wucLrL9sEZGd0sHJ0T0ixYubzexJ3d0tWWZ70GKvFgl8ZaijB7tk6-TG7D9Rgk1yHwV7M6ciVCwDTFDJGd_0-RFcU5/s1600/tab_backgr.jpeg) repeat-x top left;float:left;height:60px;padding:5px;width:290px;list-style:none;}
    #videoslider-tabs li a {padding:0 !important;border:0 !important;}
    #videoslider-tabs li.hover {background:#333;}
    #videoslider-tabs li.actVid {background:#555;}
    #videoslider-tabs li img.thumb-vid {background-color:#fff;float:left;height:52px;margin:0 8px 0 0;padding:5px;width:52px;}
    #videoslider-tabs li span.vidTit {
    display:block;
    color:#CD332D; /* Titles color */
    font-size:14px; /* Titles font size */
    font-weight:bold;
    text-decoration:none;
    }
    #videoslider-tabs li .vidDesc {
    display:block;
    color:#fff; /* Color of the description */
    font-size:12px; /* Font size of the description */
    font-weight:bold;
    text-decoration:none;
    }
    #videoslider-tabs a {text-decoration:none;}
    #videoslider-tabs li.actVid .vidDesc {color:#fff;}
    .ui-widget-content{float:right;}
    .tabs-outer {background-image: none !important;}
    #videoslider-tabs li a:hover {background: none !important;}
    Now in a HTML/Javascript gadget paste the structure of the slider, this is the one you should put under the header:
     <script>
    var video = [];
    video[1] = '<iframe width="460" height="345" src="http://www.youtube.com/embed/video_ID_1" frameborder="0" allowfullscreen></iframe>';
    video[2] = '<iframe width="460" height="345" src="http://www.youtube.com/embed/video_ID_2" frameborder="0" allowfullscreen></iframe>';
    video[3] = '<iframe width="460" height="345" src="http://www.youtube.com/embed/video_ID_3" frameborder="0" allowfullscreen></iframe>';
    video[4] = '<iframe width="460" height="345" src="http://www.youtube.com/embed/video_ID_4" frameborder="0" allowfullscreen></iframe>';
    video[5] = '<iframe width="460" height="345" src="http://www.youtube.com/embed/video_ID_5" frameborder="0" allowfullscreen></iframe>';
    </script>
    <div id="videoslider">
    <div id="videoslider-content"></div>
    <ul id="videoslider-tabs">
    <li><a href="#vid1"><img src="//i2.ytimg.com/vi/video_ID_1/default.jpg" class="thumb-vid" /><span class="vidTit">Video Name</span><span class="vidDesc">Video Description</span></a></li>

    <li><a href="#vid2"><img src="//i2.ytimg.com/vi/video_ID_2/default.jpg" class="thumb-vid" /><span class="vidTit">Video Name</span><span class="vidDesc">Video Description</span></a></li>

    <li><a href="#vid3"><img src="//i2.ytimg.com/vi/video_ID_3/default.jpg" class="thumb-vid" /><span class="vidTit">Video Name</span><span class="vidDesc">Video Description</span></a></li>

    <li><a href="#vid4"><img src="//i2.ytimg.com/vi/video_ID_4/default.jpg" class="thumb-vid" /><span class="vidTit">Video Name</span><span class="vidDesc">Video Description</span></a></li>

    <li><a href="#vid5"><img src="//i2.ytimg.com/vi/video_ID_5/default.jpg" class="thumb-vid" /><span class="vidTit">Video Name</span><span class="vidDesc">Video Description</span></a></li>

    </ul>
    </div>

    Add the IDs of the videos, their names and their description and that's it. The description should be brief so you wont have space problems.
    If you do not know how to get the ID of a video, then open the video on YouTube and look at the address bar... the last characters are the ID you need.


    Note that the ID of each video should be added two times, one is for displaying the video and one for the tabs thumbnail.

    As this gallery works with jQuery we should make sure to not repeat the version of the script if we already have jQuery.