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


Simple Blogger Social Icons System

Any Link List widget with $type=social_icons in title will become Social Icon list if your template was integrated Blogger Social Icons ... READ MORE