There are, The Trick of Javascript Hosting in Blogger
1. Change the format of the file extension from. js to. txt
Remember, not all the javascript is called by the ending. js, this is an advantage where we can store and call the javascript file in a text format that are stored in the format. txt
Not all free web hosting services provide the flexibility for us to store the file format. js, so we can outsmart just by changing the extension from. js to. txt
How to call a javascript format. txt file on another host:
<script type="text/javascript" src="your-url.js" />
The invitation can be replaced with
<script type="text/javascript" src="your-url.txt" />
The invitation can be replaced with
<script type="text/javascript" src="your-url.txt" />
2. Save the javascript code directly in HTML EDIT page
Platform bloggers actually frees us to put the code directly javascipt on Edit HTML page. This way I always managed to apply, but sometimes not very effective when we use javascript code is too long. This way I think is the best one that should be attempted.
For host the JS code directly used in blogger, we can directly use the code below.
<script type='text/javascript'>
//<![CDATA[
Your JavaScript Here
//]]>
</script>
Well, there my tricks and tips to overcome the problem of hosting javascript in blogger, hopefully can help
//<![CDATA[
Your JavaScript Here
//]]>
</script>
Tidak ada komentar:
Posting Komentar