NASA Find Astronomy Events and Clubs (USA) Widget

NASA Find Astronomy Events and Clubs (USA) Widget

To add the widget to your website or blog:
 
  1. Copy the following code and paste it into the body of your HTML page in the desired location:

    <script async src='https://nightsky.jpl.nasa.gov/js/nsn_search_widget.js'></script>
    <div id='nsn'></div>
    <script>
     window.onload = function(){
       nsn_search_widget.init('nsn');
     };
    </script>
     
  2. If you want to change the initial value of the Zip field, place the desired value within the VALUE quotes for the Zip field.
     
  3. If you want to change the initial checked state of the radio button from "Clubs" to "Events", remove the "checked" value from the "Clubs" field and add it to the "Events" field.

Activity Key

Daytime Event
Daytime Event
Nighttime Event
Nighttime Event
Inside Venue
Inside Venue
Outside Venue
Outside Venue
star
Target Audience