- From the Admin menu click Structure, then Blocks, then Add block.
- For the Block title, enter <none>
- Switch to Full HTML in the Text format drop-down.
- Click on Switch to plain text editor
- Fill in the Show block on specific pages section as needed and save the block.
- Activate the block by placing it in a Region, e.g. the Footer.
Drupal supports jQuery natively, so you can attach your jQuery function to behaviors: