Add Tabbed Table Of Contents Page to Blogger
Posted by
Hammad Ansari
Sitemap or Table Of Contents Page is exactly what every blogger likes to include in his blog. It facilitates in reducing the bounce rate on the blog as well as increasing the actual pageviews.
Today Let me show you how one can add a fantastic Table of Contents widget to some page of your blog. The concept of this widget is very easy. It can be coded by making use of JavaScript as well as CSS. What's more, it has several choices and setting that i will explain below.
First of all we need to create a new page and to do this firstly go to Blog Title → Pages → New Page → Blank Page. Page editor will open, now click on HTML tab.
Once you are in the HTML tab of Page Editor add the below code in it.
Copy and paste the above given code in the post editor.
Now change the URL in the blog Url field. You may change other settings. It is briefly described in the code what they are and how to change them. After making the changes save the page.
You are done now. Now you can link the page wherever you want. You and your visitors may now see this amazing table of content in your blogger blog.
I hope this will helps you a lot in reducing bounce rate and increasing pageviews. Don't forget to share your views till then Peace, Blessings and Happy Blogging.
Today Let me show you how one can add a fantastic Table of Contents widget to some page of your blog. The concept of this widget is very easy. It can be coded by making use of JavaScript as well as CSS. What's more, it has several choices and setting that i will explain below.
Step 1 : Creating a New Page
First of all we need to create a new page and to do this firstly go to Blog Title → Pages → New Page → Blank Page. Page editor will open, now click on HTML tab.
Step 2 : Adding the code
Once you are in the HTML tab of Page Editor add the below code in it.
<link rel="stylesheet" href="http://reader-download.googlecode.com/svn/trunk/tabbed-toc-skin.css" type="text/css" media="screen" />
<div id="tabbed-toc"><span class="loading">Loading...</span></div>
<a style="display:block;text-align:right;font:normal bold 8px Arial,Sans-Serif;text-decoration:none;margin:10px;" href="http://www.bloggerwp.com/" title="Tabbed TOC">BloggerWP</a>
<script type="text/javascript">
var tabbedTOC = {
blogUrl: "http://your-url.blogspot.com", // Blog URL
containerId: "tabbed-toc", // Container ID
activeTab: 1, // The default active tab index (default: the first tab)
showDates: false, // `true` to show the post date
showSummaries: false, // `true` to show the posts summaries
numChars: 200, // Number of summary chars
showThumbnails: false, // `true` to show the posts thumbnails (Not recommended)
thumbSize: 40, // Thumbnail size
noThumb: "http://3.bp.blogspot.com/-vpCFysMEZys/UOEhSGjkfnI/AAAAAAAAFwY/h1wuA5kfEhg/s72-c/grey.png", // A "no thumbnail" URL
monthNames: [ // Array of month names
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
newTabLink: true, // Open link in new window?
maxResults: 99999, // Maximum post results
preload: 0, // Load the feed after 0 seconds (option => time in milliseconds || "onload")
sortAlphabetically: true, // `false` to sort posts by published date
showNew: 7, // `false` to hide the "New!" mark in most recent posts, or define how many recent posts are to be marked
newText: " - <em style='color:red;'>New!</em>" // HTML for the "New!" text
};
</script>
<script type="text/javascript" src="http://reader-download.googlecode.com/svn/trunk/tabbed-toc.js"></script>
Copy and paste the above given code in the post editor.
Step 3 : Table of Content Settings
Now change the URL in the blog Url field. You may change other settings. It is briefly described in the code what they are and how to change them. After making the changes save the page.
You are done now. Now you can link the page wherever you want. You and your visitors may now see this amazing table of content in your blogger blog.
I hope this will helps you a lot in reducing bounce rate and increasing pageviews. Don't forget to share your views till then Peace, Blessings and Happy Blogging.
Subscribe to:
Post Comments
(
Atom
)




No comments :
Post a Comment