This page describes some technical details about how Navigation Popups works, in order to help future developers make improvements to the gadget.

Call chain[edit]

This is a list of methods that are called in order to display a popup that's of the non-simple variety. (I'll add another writeup for the simple ones eventually.)

To start it off, a user's mouse moves over a link with a Popups handler. The name of that handler is...

Once the download finishes, we're back to the callback that loadAPIPreview made. It takes all the data we have so far, including the API data, and gives it to its htmlGenerator. It then takes the HTML and all the other data and gives it to...

Finally, by this point, we have a visible popup with all of the HTML we constructed!

See also[edit]