2. Website Structure: JavaScript Functions


[ Prev ] [ Index ] [ Next ]

Aside from interactions with the database, all other interactivity on the website is controlled with JavaScript functions. These are separated into two groups: the three functions found at the top of the .svg maps control interactions with the map, and the rest of the functions that control the webpage are found in script.js. Below are descriptions of their properties and purposes:

For the JavaScript functions related to the .svg map, see the SVG Maps page.