Loading...

October 12, 2009

Embedding Javascript In Blogger Posts

Blogger automatically inserts line breaks to your code which inevitably disrupts the functionality of your javascript. To resolve this, simply
edit your javascript and delete all the line breaks in 'windows' notepad or other text editing software, then insert your revised code on your blog post with the html tab enabled. This should allow your javascript to execute correctly.

Reference: Add Javascript In Blogger Blogspot Post

Hope this helps!

Continue Reading

June 14, 2009

Displaying Codes In Blogger

I found myself in a situation where I had to display a piece of code on one of my post here. It was on my Navigation Bar post where I needed to display some code. No matter if you type it in html mode or compose mode, Blogger will detect code and not show it as-is in letter and character form. I did a search on Blogger Buster and found an article about how to display code properly in your blog posts! With the use of character entites described by Amanda in her post, we can find a workaround to this issue. Hopefully, one day, Blogger will have an option to compose codes and display them as-is on our posts. For the meantime, this is the way I found easiest to work with.

Continue Reading
410