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:

Several modules must be compiled when running VMware Workstation on Ubuntu

Several modules must be compiled when running VMware Workstation on Ubuntu I have a machine with Ubuntu 24.04.2 with VMware Workstation wor...