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 tip 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'>Then click Save template
//<![CDATA[
// Place your javascript code here
//]]>
</script>

0 nhận xét:
Post a Comment