One of the biggest problems with Blogger is when you reach to a point that JS files need to be hosted somewhere to get the URL.If your not forced yet to use .JS files in some of your works trust me,in the future you will...Some people use Google sites for this reason.Other people use some of the biggest hosting clients like HotLinkFiles,or Fileden,or Ripway,and the list goes on!The idea is to upload there your JS file and then take the direct URL of your upload for your JavaScript code.But not any more!!!
There is a little secret in this story.A secret that quite a few people knows to display the JavaScript code of the JS file inside the rest script!
Where you used to place the URL of the uploaded JS files instead try this code:<script type='text/javascript'>
//<![CDATA[
<--Paste all code here from .js file -->
//]]>
</script>
(In some occasions you may need to delete the last //]]> to be able to save the template,so play around!)
Don't forget to save the template before of anything!



















Share on Facebook
Contact Us