3. Add to Your Page
All that remains to be done now is to add the fireworks script into your web page. To do this we simply add the script code to your page by placing the following into the head section:
The script itself contains the code necessary to trigger the fireworks once the page finishes loading so there is no need to place anything else into your web page.
If you only want the fireworks to display for a limited time then simply change the value assigned to "stopafter" at the top of the script. Any positive number in this field represents the number of minutes after which the fireworks display will stop if the page is still being viewed at that time. Zero in this field indicates that the display will continue for as long as the page is being viewed.