LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » Blogspot / Blogspot Tips / HTML-CSS-PHP-JavaScript / JavaScript Codes / Website / Website Tips » Where To Link/Embed JavaScript File/Code In Blogger And Website?

Where To Link/Embed JavaScript File/Code In Blogger And Website?

Where To Link/Embed JavaScript File/Code In Blogger And Website?

This post explains how to host javascript(.js) files in blogger itself, so you don’t need to worry about bandwidth limitations,etc:-
“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.
Did you ask yourself why in blogspot posts some javascript code works but in some cases don’t. In this article you will find answer.
In HTMLJscript gadgets jscript code work well. But this is not a case in posts.
Somewhere I founded tip to make jscript file with jscript code and put this file on the web. After that call jscript function addressing that file.
I think that this method have too many steps and that is too complicated (you must upload you jscript file somewhere on the web and later call this file from your blogspot post).

Benefits Of This Trick:
» No file size limitations
» No bandwith limitations
» Super fast page loading (coz files are stored in blogger itself)

There Are 5 Type Of Embedding Or Linking, Please Read That All.

Type 1:-
If You Have An External JavaScript File And Want To Embed That Just Do The Following Steps:
Find The Code.
</head>
And Paste Your JavaScript Code Just Above It Like.

<script src=' http://www.blogger.com/javascriptfilename .js' type='text/javascript' >
</head>


Or

Type 2:-

If You Have An Open Code Of JavaScript And Want To Embed That Just Do The Following Steps:
Find The Code.
</head>
And Paste Your JavaScript Code Just Above It Like.

<script type='text/javascript'>***YOUR JAVASCRIPT CODE***</script>
</head>

Or

Type 3:-
If You Have An Open Code Of JavaScript And Want To Embed That With HTML Code Just Do The Following Steps:
Open That HTML Space Where You Want To Embed And:

<script>
***YOUR JAVASCRIPT CODE***
</script>
<html>
***YOUR HTML CODE***
</html>

Or

Type 4:-
If You Have An External File Of JavaScript And Want To Embed That With HTML Code Just Do The Following Steps:
Open That HTML Space Where You Want To Embed And:

<script src="https://www.blogger.com/javascriptfilename.js"></script>
<html>***YOUR HTML CODE***</html>

Or

Type 5:-

Recommended For You:
Awesome And Stylish Website And Blog Loading Page

If You Have An Open Code Of JavaScript And Want To Embed That With HTML Code Just Do The Following Steps:
Find The Code.
</head>
And Paste Your JavaScript Code Just Above It Like.

<script type='text/javascript'>
//<![CDATA[
***YOUR JAVASCRIPT CODE***
//]]>
</script>
</head>

You Like It, Please Share This Recipe With Your Friends Using...

2 Responses to “Where To Link/Embed JavaScript File/Code In Blogger And Website?”

  1. open source developer says:

    Thanks for sharing. Its good to see fresh content always.

Leave a Reply

Your email address will not be published. Required fields are marked *