Wednesday, September 08, 2010

Embed Javascript in blog post

This shows a simple example of embedding Javascript in blogger. Not sure if this is supported as it messes up the anchor tag when post is edited using "Compose" instead of "Edit HTML".

Click on "Hello world" below to see Javascript in action.
Hello world


The key to embed the script is the CDATA tag.
Hello world


Reference(s):
Adding javascript to Blogger posts (link)

No comments:

How to configure nfs server on QNX 7.1

How to configure nfs server on QNX 7.1 Target: QNX 7.1 running on a VM (VMware Workstation or VirtualBox). It is assummed that the targets ...