Friday, January 2, 2015

Table Of Contents(TOC) is a very important feature which assembles your all blog posts under categories you earlier specified . It is very helpful in search engine optimisation . It helps visitors to navigate through the posts easily as it saves a lot of time for them.

You can view live demo here.

How To Create ?


We have to follow some simple steps :




  • Login to your Blogger account .

  • Click on Pages.

  • Create a new page and select HTML.

  • Paste the code given below.


<style type="text/css">
#toc{
width:99%;
margin:5px auto;
border:1px solid #2D96DF;
-webkit-box-shadow:4px 4px 8px 2px rgba(0,0,0, 0.2);
-moz-box-shadow:4px 4px 8px 2px rgba(0,0,0, 0.2);
box-shadow:4px 4px 8px 2px rgba(0,0,0, 0.2);
}
.labl{
color:#FF5F00;
font-weight:bold;
margin:0 -5px;
padding:1px 0 2px 11px;
background:-moz-linear-gradient(right,#C2EAFE 0%,#055A85 40%);
background:-webkit-gradient(linear,left 10,right 80,color-stop(0.20,#055A85),color-stop(1,#C2EAFE));
border:1px solid #2D96DF;
border-radius:4px;-moz-border-radius:4px;
-webkit-border-radius:4px;box-shadow:3px 3px 1px #bbb;
-moz-box-shadow:3px 3px 1px #bbb;-webkit-box-shadow:3px 3px 1px #bbb;display:block;
}
.labl a{
color:#fff;
}
.labl:first-letter{t
ext-transform:uppercase;
}
.new{
color:#FF5F00;
font-weight:bold;
font-style:italic;
}
.postname{
font-weight:normal;
background:-moz-linear-gradient(right,#C2EAFE 0%,#fff 40%);
background:-webkit-gradient(linear,left 80,right 10,color-stop(0.60,#fff),color-stop(1,#C2EAFE));
}
.postname li{
border-bottom: #ddd 1px dotted;
margin-right:5px
}
</style>
<div id="toc"><script type="text/javascript" src="http://mybloggerworld.net/tools/MyTOC.js"></script>
<script src="/feeds/posts/default?max-results=9999&amp;alt=json-in-script&amp;callback=loadtoc">
</script></div>


  •  It's done.


[callout bg="#f3b8b8" color="#a65959" border="#f3b8b8"]You can also change colors by editing css.[/callout]

 

Thursday, January 1, 2015

Do you want to enhance the Scroll bar of your website? Scroll bar appears at the right side of the screen and, it allows users to scroll down the page whenever they drag there mouse up or down the page. To provide a user-friendly experience to your visitors, it is essential to have a Smooth Scroll bar. However, there is no doubt that Custom Scroll bar does the job quite handsomely, but it is not perfect. Few days ago, our reader informed us about the colorful Webkit Scrollbars that he has seen on different websites. Furthermore, he also requested us to develop a similar one. Therefore, in this article we will learn How to Create Customize Webkit Scrollbar in Blogger BlogSpot Blog?

What is a Scrollbar?


A Scrollbar is a GUI (graphical control element) which controls elements like text, pictures, videos and anything else available on the webpage. In other simple words, it’s a long thing bar located at the right side of your screen by which an element can be scrolled with the help of a mouse.

scrollbarparts

[quote]::-webkit-scrollbar              { /* 1 */ }
::-webkit-scrollbar-button       { /* 2 */ }
::-webkit-scrollbar-track        { /* 3 */ }
::-webkit-scrollbar-track-piece  { /* 4 */ }
::-webkit-scrollbar-thumb        { /* 5 */ }
::-webkit-scrollbar-corner       { /* 6 */ }
::-webkit-resizer                { /* 7 */ }[/quote]

Why to Use Customized Scrollbar?


There is no lethal reason why a person could say a no to Customized Scrollbar because it adds a new elegant life to his website. Consider that a person has a highly professional website but since, the Scrollbar is from old-school, so it is quite clear that, it will destroy the complete outlook of a website. To learn more about the difference between an ordinary or and a customized scrollbar consider the following screenshot.

Ordinary-and-Custom-Scrollbar


How to Add Webkit Scrollbar in Blogger Platform?


To be honest, there is no complexity in this tutorial because all we need to do is to insert a CSS to our theme, and it would do the job quite effortlessly.  To install Webkit Scrollbar in your blogger template consider the following instructions.



  • Go To Blogger.com >> Templates >>EDIT HTML >> Proceed.

  • Now in the theme Search for ]]></b:skin> and above it Paste the Following CSS Coding.


/* --- MyBloggerWorld CUSTOM WEBKIT SCROLLBAR IN BLOGGER BLOG --- */
::-webkit-scrollbar {
background:#fff;
width:10px;
}
::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
background-image: -webkit-linear-gradient(top, #336699 10%, #336699 51%);
}
::-webkit-scrollbar-track {
}


  • Then Replace #336699 with the color that you want to see in the Scrollbar.



Article from MyBloggerLab

Wednesday, December 31, 2014

Are you concern about Copyright of your blog content? Well, here's a small trick that may help you. What I gonna show you is a simple jQuery plugin which automatically append reference and copyright text to any content the user is copy and pasting away from your Blog.

Demo:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.

Copy any text from this page and paste it into the textarea:

Installation Steps:

  • Go to Blogger Dashboard > Template > Edit HTML. Click anywhere inside the code area and press the ctrl+ f keys to open the Blogger search box. Type or paste inside the search box and hit Enter to find it.
  • Copy and Paste the following code right above </html>

<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'/>
<script type='text/javascript' src='http://mybloggerworld.github.io/copyright-master/jquery.copyright.js'/>

<script type='text/javascript'>
$(document).ready(function() {
$(document).copyright({
text: "<br/>Reference: " + window.location.href,
minlength: 1
});
});
</script>

  • Save the Template & try copy text from your blog, then paste it to the notepad. See what you've got!!

This plugin is made by @absentik

Hello friends today we will show you that how you can add add to blogger button at your blog.
Just you have to copy the below code and paste where ever you want to place it.

<form action="https://www.blogger.com/add-widget" target="blank" method="POST">
<input type="hidden" name="widget.title" value="Widget Title Here"/>
<input name="widget.content" type="hidden" value="Your HTML JavaScript code here" />
<input name="widget.template" type="hidden" value="&lt;data:content/&gt;" />
<input type="hidden" name="infoUrl" value="http://www.mybloggerworld.net/"/>
<input type="hidden" name="logoUrl" value="http://mybloggerworld.net/wp-content/uploads/2014/12/MBW-Logo-small.png"/>
<input alt="Add to Blogger" src="http://www.blogger.com/img/add/add2blogger_lg.gif" type="image" /></form>
Replace the values which you want to add in your add to blogger button.
You can also try Add to Blogger Generator





In today’s post , i will explain that how you can add/show percentage value to scrollbar in blogger blog. actually it is not important for your blog, but this is for those who want to give unique effect to scroll-bar in their blog. it may be helpful for your readers to check that how much they have scrolled down or up or how much content left to be read.

Check the preview below and follow the steps, if you want to add this right to your blog.

Preview :

Untitled

How to add percentage value to scrollbar in blogger?


1. Go to blogger –> Tempalte –> Edit HTML

2. CTRL + F to find this : ]]></b:skin>

3. Copy and paste below code just above this : ]]></b:skin>
<style>
#scroll
{
display: none;
position: fixed;
top: 0;
right: 20px;
z-index: 500;
padding: 3px 8px;
background-color: #2187e7;
color: #fff;
border-radius: 3px;
}
#scroll:after
{
content: ” ”;
position: absolute;
top: 50%;
right: -8px;
height: 0;
width: 0;
margin-top: -4px;
border: 4px solid transparent;
border-left-color: #2187e7;
}
</style>

 

4. Next search for </head>

5. Copy and paste below code just after </head>

[quote]<div id='scroll'></div>[/quote]

Make sure you pasted the code after </head> and before <body> like this :
</head>
<div id='scroll'></div>
<body>

 

6. Now, again search for </body>

7. Copy and paste below code just above </body>
<script type='text/javascript'>
/*<![CDATA[*/
var scrollTimer = null;
$(window).scroll(function() {
var viewportHeight = $(this).height(),
scrollbarHeight = viewportHeight / $(document).height() * viewportHeight,
progress = $(this).scrollTop() / ($(document).height() - viewportHeight),
distance = progress * (viewportHeight - scrollbarHeight) + scrollbarHeight / 2 - $('#scroll').height() / 2;
$('#scroll')
.css('top', distance)
.text(' (' + Math.round(progress * 100) + '%)')
.fadeIn(100);
if (scrollTimer !== null) {
clearTimeout(scrollTimer);
}
scrollTimer = setTimeout(function() {
$('#scroll').fadeOut();
}, 1500);
});
/*]]>*/
</script>

 

8. Save template.

That’s it.









In today’s post , i will explain that how you can add/show percentage value to scrollbar in blogger blog. actually it is not important for your blog, but this is for those who want to give unique effect to scroll-bar in their blog. it may be helpful for your readers to check that how much they have scrolled down or up or how much content left to be read.

Check the preview below and follow the steps, if you want to add this right to your blog.

Preview :

Untitled

How to add percentage value to scrollbar in blogger?


1. Go to blogger –> Tempalte –> Edit HTML

2. CTRL + F to find this : ]]></b:skin>

3. Copy and paste below code just above this : ]]></b:skin>
<style>
#scroll
{
display: none;
position: fixed;
top: 0;
right: 20px;
z-index: 500;
padding: 3px 8px;
background-color: #2187e7;
color: #fff;
border-radius: 3px;
}
#scroll:after
{
content: ” ”;
position: absolute;
top: 50%;
right: -8px;
height: 0;
width: 0;
margin-top: -4px;
border: 4px solid transparent;
border-left-color: #2187e7;
}
</style>

 

4. Next search for </head>

5. Copy and paste below code just after </head>

[quote]<div id='scroll'></div>[/quote]

Make sure you pasted the code after </head> and before <body> like this :
</head>
<div id='scroll'></div>
<body>

 

6. Now, again search for </body>

7. Copy and paste below code just above </body>
<script type='text/javascript'>
/*<![CDATA[*/
var scrollTimer = null;
$(window).scroll(function() {
var viewportHeight = $(this).height(),
scrollbarHeight = viewportHeight / $(document).height() * viewportHeight,
progress = $(this).scrollTop() / ($(document).height() - viewportHeight),
distance = progress * (viewportHeight - scrollbarHeight) + scrollbarHeight / 2 - $('#scroll').height() / 2;
$('#scroll')
.css('top', distance)
.text(' (' + Math.round(progress * 100) + '%)')
.fadeIn(100);
if (scrollTimer !== null) {
clearTimeout(scrollTimer);
}
scrollTimer = setTimeout(function() {
$('#scroll').fadeOut();
}, 1500);
});
/*]]>*/
</script>

 

8. Save template.

That’s it.




There are a lot of Famous Bloggers keep sharing their awesome Blogger tricks or widgets from time to time. Some advanced tricks involve of template modification, while beginner or intermediate tricks need only "add new gadget" in the Blogger layout console. However, even the "add new gadget" may difficult for new Bloggers to follow. Therefore, to help new Blogger for installation of new widget we will then create a "Add to Blogger" button for simplify the installation process. And this button generator, is used to aid those widget sharer to create that "Add to Blogger" button.

All you need to do is to fill up the "Widget Title", "Blog Url", "Logo Url", & your widget content in html/Javascript. Once the code is created, it's ready to be published in your Blogger post. Enjoy!





Dropbox is a great way to share content with the world easily. It offers hot-linking to images which is useful. Recently we talked about how hosting your media content on a faster third-party server can help you out in many ways. If you're a Dropbox user, you can use your Dropbox storage to host images from your small to medium-sized website. Today, we'll talk about using Dropbox as an external media storage for your WordPress site.
Some third-party platforms have the advantage of speed. Typical web servers might not be well suited to serve media content quickly, especially large files. So these third party platforms can take care of that.


But the biggest advantage of your own personal cloud storage is the peace of mind. You can never trust free third-party image storage websites. But Dropbox and other such cloud storages are another story. Secondly, exporting/migrating your blog is a huge hassle if there's a lot of media content as well. Third-party servers give you peace of mind during migration, because you only have to move the text content. It is faster, and much more convenient.



Hosting images on Dropbox


If you're running a WordPress blog, you can easily host your images on Dropbox.

  • Log into your WordPress dashboard and go to Plugins >> Add New

  • Search for the plugin named "Pressbox"  and install it.


pressbox

 

  • Go to Settings >> Pressbox

  • You will see a set of instructions to get a Dropbox API. Both the “Key” and “Secret” codes are needed to connect your blog to Dropbox. This step is needed to prevent unauthorized access to your Dropbox account. Follow the instructions to the letter and you’ll be just fine.


dropbox

  • After acquiring the codes, press the “Connect your Blog to Dropbox” button and you can start using images in your Dropbox folder for your blog posts.


But why go through all that trouble if using images from the Dropbox public folder is as easy as copying and pasting the public URLs (as discussed in this article)? Well, first, Pressbox allows users to use images from any folder within your Dropbox account. Second, users don’t have to go back and forth between their blog and Dropbox account to fetch the image’s URL. Instead, you can easily add images using Pressbox’s code.


Pressbox also allows users to set their default path for a file list and favorite folders. You can use the “/Photos” folder as the default, but I’d suggest you go one folder deeper. Create another folder inside Photos and use it as the default.


If everything is set, you can easily put your blog images inside your chosen folder and add them using “[pressbox path=/Folder/imagename.extension]“. So if you want to add sunset.jpg inside the Pictures folder, you will write [pressbox path=/Pictures/sunset.jpg].


You can also browse and insert the pictures you want via the new “From Dropbox” menu in the “Add an Image” pop-up window.


The only thing you should consider if you choose to use Dropbox is the storage limit. With a 2GB storage limit for free accounts and an average 100KB image size, you can store up to 20,000 images. It’s a good idea to create a new Dropbox account specifically for this purpose.

 

Friday, December 19, 2014


Creating an Hover Effect




  • Place the Following Code where you want to appear a hover image


<a href="URL ADDRESS"><img src="URL OF THE Non-Hover Image GOES HERE" onmouseover="this.src='URL OF Hover Image GOES HERE'" onmouseout="this.src='URL OF Non-Hover Image GOES HERE'" /></a>


  • Replace "URL OF THE Non-Hover Image GOES HERE""  with your non-hover img.

  • Replace "URL OF Hover Image GOES HERE''" with your hover img.

  • Replace "URL ADDRESS" with your Blogger Address


Now You are done :).