LoginCreate an Account

Right way to embedded direct javascript code to Blogger template

I just usually forgot how to embedded javascript code to my Blogger templates. So I just want to share with you as a short quote and also


I just usually forgot how to embedded javascript code to my Blogger templates. So I just want to share with you as a short quote and also help me each time I need add Js to a template. This tips always helps me prevent XML error when save template code. At first, Access your blog dashboard, choose Template. Then click Edit HTML. Not, insert before </head> tag or </body> tag with your javascript wrapper code like below:

<script type='text/javascript'>
//<![CDATA[
// Place your javascript code here
//]]>
</script>

Then click Save template

Load Comments (6)

Blogger Underscore Menu System

Pages or Link List widget with $type=menu in title will become menu navigation if your template was integrated Underscore Menu System of ... READ MORE


Host CSS/Javscript is faster than embedded code in Blogger Template?

Blogger has no hosting for us to host css and javascript files. So we always find a free or cheap hosting to host our files. But before ... READ MORE