Sunday, October 9, 2011
0
Use Blogger to Upload Javascript (.js) files
"How to host Javascript files for Free with unlimited bandwidth ?" is one of the most frequently asked questions in the blogger community. There are tons of hosting providers out there who can help you host your .js files for Free, but all have some bandwidth limitations and also they are not very reliable. There are some of the professionals who upload .js files on google site but problem is even google sites have bandwidth limitations. So, if the bandwidth exceeds at a particular moment, the javascript files don't load which results in complete template mess up.
I am taking example of the How to Add Twitter Follow Box on Bloggger post.
In this post you can see Javascript file (circled in the picture) which you have to upload or add into the blogger.
Now follow the Simple steps to upload .js files onto the blogger :
1. Copy and paste the url of .js file (circled in the pic, from http to .js) in the browser.
2. Copy the full java snippet in the worldpad (not in notepad).
3. Now, here is the trick...
Paste the code you copied (copied from first file) in your blogger template like this.
4. Now if you want to add this into your template than put anywhere inside the
5. And the Final and Most Important step... SAVE THE CHANGES ;)
Benefits of this trick:
» No file size limitations
» No bandwith limitations
» Super fast page loading (coz files are stored in blogger itself)
Like the trick ? comment.. :)
I am taking example of the How to Add Twitter Follow Box on Bloggger post.
In this post you can see Javascript file (circled in the picture) which you have to upload or add into the blogger.
Now follow the Simple steps to upload .js files onto the blogger :
1. Copy and paste the url of .js file (circled in the pic, from http to .js) in the browser.
2. Copy the full java snippet in the worldpad (not in notepad).
3. Now, here is the trick...
Paste the code you copied (copied from first file) in your blogger template like this.
<script type='text/javascript'>
//<![CDATA[
PASTE THE JAVASCRIPT CODE HERE
//]]>
</script>4. Now if you want to add this into your template than put anywhere inside the
<head> </head> or you can also add the same into the HTML/Javascript page element as shown in the pic below :5. And the Final and Most Important step... SAVE THE CHANGES ;)
Benefits of this trick:
» No file size limitations
» No bandwith limitations
» Super fast page loading (coz files are stored in blogger itself)
Like the trick ? comment.. :)
Subscribe to:
Post Comments (Atom)






0 Responses to “Use Blogger to Upload Javascript (.js) files”
Post a Comment