This example uses the onClick event-handler and just the alert message funtion.
Clicking on the names in this set also displays text. However, the alert message function is called directly by the event-handler. Since the alert message function is called directly, there is no need for the "MM_PopupMsg" function. Note the absence of JavaScript instructions within the <HEAD> section. As before, an additional JavaScript instruction (return false) was added to the onClick event-handler for each of the presidents to instruct the browser not to reload the page.