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:

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...