Showing posts with label Widget. Show all posts
Showing posts with label Widget. Show all posts

Monday, 4 August 2014

How to creat table of contents sitmpe for blogger

Create Table Of Contents or Sitemap Page For Blogger 


Table of Contents (Sitemap) is a page on your blog where all posts are arranged in accordance to their type, and shows the links to all posts published on your blog so far. Table of Contents (Sitemap) is important for all bloggers to have on their blog. This make blog look professional, and it helps your blog visitors and readers to navigate through your blog posts.

During search on Google i have find out a good script for sitemap table of contents designed by Naira, now i am sharing this nice search with you. Here is a script that saves time and helps to update all new posts made on your blog to your Table of Contents (sitemap) page automatically. This script will display all posts made on your blog under their specified categories (Labels). This widget also comes with a CSS & Jquery to make it attractive.

Steps To Add Automatic Sitemap (Table of Contents) Generator

Note: before you make any changes on your templates, always make a back up of it.
1. Go to Blogger Dashboard > Template
2. Click on Edit HTML
3. Press (CTRL+F) to search
4. Find ]]></b:skin> code in your template
5. finally copy the below CSS code and paste it before ]]></b:skin> tag.

/*--------JustNaira 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');
}

6.  Save your Template after inserting the CSS
7.  Go to your dashboard and creat new page and paste the below code in html view mode. Save page. Thats's you done.

<script src="http://olusegun-fapohunda-calculator.googlecode.com/svn/Justnaira-tos-file.js"></script>
<script src="http://www.it-taaleem.blogspot.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://olusegun-fapohunda-calculator.googlecode.com/svn/concordian-tos.js"  type="text/javascript"></script>


Make sure you change http://www.it-taaleem.blogspot.com to your own blog URL and then publish the page. Visit the page link to view your awesome blog sitemap (Table of Contents).

Table of Contents (Sitemap) Customization:

The color of the category when in active mode is blue while when it is inactive it appears as dark gray.

So to change the active mode, simply change #9dc2e7 and #438cd2. Here is a color generator tool that will aid you to select the best color code that you love.If you encounter any difficulties in the process of setting up your blog Sitemap, don’t hesitate to use the comment box below.

Sunday, 3 August 2014

Animated Auto scrolling recent post widget for bloggers

Auto scrolling recent post widget for bloggers

 

A beautiful Animated or Moving New post or scrolling recent posts gadget is a best widget to show off recent posts from your blog with a jQuery scroll effect, which grabs attention of of visitors very quickly because of the moving nature of the widget. Its a new scrolling recent posts widget, which works a with a jQuery spy effect, this is the best feature of this widget. Each snippets of this widget contains title of post, thumbnail of post, date when that post was published and number of comments on that post. Also all of the above options are fully customizable and editable, so that you can easily customize this widget asyou wish.


This widget works with jQuery spy effect so that we have to add jQuery library to our blog

first (Note - Ignore this step if you have already added jQuery library to your blog.)

1. Go to Blogger Dashboard > Template
2. Click on Edit HTML
3. Hit Proceed button
4. Find </head> code in your template
5. Add below code just above it </head>

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


Now you have activated jQuery library into your blog. Now lets go to Second Step how to add scrolling recent posts widget to blogger.

Second Step


1. Go to Blogger Dashboard > Layout
2. Add a Gadget
3. Select HTML/JavaScript
Paste below code inside it,


<style type="text/css" media="screen">
<!--

/* ========== Scrolling Recent Posts Widget By santosh143.com ======== */

#santosh143-widget {
    overflow: hidden;
    margin-top: 5px;
    padding: 0px 0px;
    height: 385px;
}

#santosh143-widget ul {
    width: 295px;
    overflow: hidden;
    list-style-type: none;
    padding: 0px 0px;
    margin: 0px 0px;
}

#santosh143-widget li {
    width: 282px;
    padding: 5px 5px;
    margin: 0px 0px 5px 0px;
    list-style-type: none;
    float: none;
    height: 80px;
    overflow: hidden;
    background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoSXU5Z5kzSSAvdV3nDqWHcjBCP13Dn__SWLnCXKoFuJkZtuT1AJhDl73CvG_IhKUtkuMKr17A6mckp6cwAODS7zFXYrmI6XHDZRogJjhc_sxAZrz05AJFvQbvxAYWx7-5e8SmjLC-ptM/s1600/santosh143.com-post.jpg) repeat-x;
    border: 1px solid #ddd;
}

#santosh143-widget li a {
    text-decoration: none;
    color: #4B545B;
    font-size: 15px;
    height: 18px;
    overflow: hidden;
    margin: 0px 0px;
    padding: 0px 0px 2px 0px;
}

#santosh143-widget img {
    float: left;
    margin-top: 10px;
    margin-right: 15px;
    background: #EFEFEF;
    border: 0;
}

#santosh143-widget img {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    padding: 4px;
    background: #eee;
    background: -webkit-gradient(linear, left top, left bottom, from(#eee), color-stop(0.5, #ddd), color-stop(0.5, #c0c0c0), to(#aaa));
    background: -moz-linear-gradient(top, #eee, #ddd 50%, #c0c0c0 50%, #aaa);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.7);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.7);
    box-shadow: 0 0 3px rgba(0,0,0,.7);
}

#santosh143-widget img:hover {
    -moz-transform: scale(1.2) rotate(-350deg);
    -webkit-transform: scale(1.2) rotate(-350deg);
    -o-transform: scale(1.2) rotate(-350deg);
    -ms-transform: scale(1.2) rotate(-350deg);
    transform: scale(1.2) rotate(-350deg);
    -webkit-box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);
    -moz-box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);
    box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);
}

.spydate {
    overflow: hidden;
    font-size: 10px;
    color: #0284C2;
    padding: 2px 0px;
    margin: 1px 0px 0px 0px;
    height: 15px;
    font-family: Tahoma,Arial,verdana, sans-serif;
}

.spycomment {
    overflow: hidden;
    font-family: Tahoma,Arial,verdana, sans-serif;
    font-size: 10px;
    color: #262B2F;
    padding: 0px 0px;
    margin: 0px 0px;
}

/* ========== Scrolling Recent Posts Widget By santosh143.com ======== */

-->


</style>

<script language='JavaScript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9LtRuEg3hDI2jQlfYlo2Psp-sQzo7orQ55tZthhoC9qmDOXhSiLNOLI-zcuYMzz-h9PPM6Fywjdu0EJzz22t68WpnD-8HQx8EB-p3kSSut5L0DP0QSpIaCeA2_mAHnQICFyKYbSPfTY/s1600/santosh143.com-no-thumbnail.png.jpg";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9LtRuEg3hDI2jQlfYlo2Psp-sQzo7orQ55tZthhoC9qmDOXhSiLNOLI-zcuYMzz-h9PPM6Fywjdu0EJzz22t68WpnD-8HQx8EB-p3kSSut5L0DP0QSpIaCeA2_mAHnQICFyKYbSPfTY/s1600/santosh143.com-no-thumbnail.png.jpg";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9LtRuEg3hDI2jQlfYlo2Psp-sQzo7orQ55tZthhoC9qmDOXhSiLNOLI-zcuYMzz-h9PPM6Fywjdu0EJzz22t68WpnD-8HQx8EB-p3kSSut5L0DP0QSpIaCeA2_mAHnQICFyKYbSPfTY/s1600/santosh143.com-no-thumbnail.png.jpg";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9LtRuEg3hDI2jQlfYlo2Psp-sQzo7orQ55tZthhoC9qmDOXhSiLNOLI-zcuYMzz-h9PPM6Fywjdu0EJzz22t68WpnD-8HQx8EB-p3kSSut5L0DP0QSpIaCeA2_mAHnQICFyKYbSPfTY/s1600/santosh143.com-no-thumbnail.png.jpg";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9LtRuEg3hDI2jQlfYlo2Psp-sQzo7orQ55tZthhoC9qmDOXhSiLNOLI-zcuYMzz-h9PPM6Fywjdu0EJzz22t68WpnD-8HQx8EB-p3kSSut5L0DP0QSpIaCeA2_mAHnQICFyKYbSPfTY/s1600/santosh143.com-no-thumbnail.png.jpg";
showRandomImg = true;
boxwidth = 255;
cellspacing = 6;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 50;
thumbheight = 50;
fntsize = 15;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = true;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://www.it-taaleem.blogspot.com/";
limitspy=5;
intervalspy=4000;
</script>

<div id="santosh143-widget">
<script src='http://santosh143.googlecode.com/svn/spyeffect.js' type='text/javascript'></script>
</div>
<div arial="arial" helvetica="helvetica" id="mashable" sans-serif="sans-serif" style="background: #EBEBEB; border-image: initial; border-top: 1px solid white; border: 1px solid #EBEBEB; font-size: 10px; padding: 1px 8px 1px 3px; text-align: right;">
<span class="author-credit" style="font-family: Arial, Helvetica, sans-serif;">
                <a href="http://www.santosh143.com/2012/11/how-to-add-animated-recent-posts-widget.html" target="_blank"> Get This ?</a>
            </span>
        </div>
Important : Now replacehttp://www.it-taaleem.blogspot.com/ with your blog URL.

Edit this as per your requirement :

    numposts = 10; Total number of posts which you wants to scroll by this widget
    limitspy=4; Number of the posts to appear on the widget
    intervalspy=4000; Scrolling speed of the widget,if you decreased the value speed of widget will increases.

Related Posts Plugin for WordPress, Blogger...