1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!


3. Add to Your Page

clr gif
Join the Discussion

Questions? Comments?

More of this Feature

Introduction Obtain the Script

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:

<script src="fireworks.js" type="text/javascript">

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.

Sample Page | Obtain the Script | Add to Your Page
See More About
Related Video
PowerPoint Animation

©2017 About.com. All rights reserved.