<span id="popupboxstyle="visibility:hiddenposition:absolutebackground-color#ffffff;"/get reference to the popup box element *var popup document getelementbyid("popupbox")var popupcontent document getelementbyid("popupcontent")/get pop-up data from the server and display when received *function showpopup(hoveritem,namevar request new xmlhttprequest()request open("get","cgi-bin/popupdata py?name="+nametrue)request onreadystatechange function(var done ok if (request readystate =done &request status =okif (request responsetextpopupcontent innerhtml request responsetextpopup style left hoveritem offsetleft+ popup style top hoveritem offsettop+ popup style visibility "visible"}request send()/hide the popup box *function hidepopup(popup style visibility "hidden"acme officials quiet after corruption probe todayshares of acme corporation (<span class="popuponmouseover="showpopup(this,'acme');onmouseout="hidepopup();">acmeplummetted by more than after federal investigators revealed that the board of directors is the target of corruption probe involving the governorstate lottery officialsand the archbishop in this examplethe javascript function showpopup(initiates request to python script popupdata py on the server the result of this script is just fragment of htmlwhich is then displayed in popup window figure shows what this might look like in the browser finallythe entire website might run under the control of python within the context of framework written in python it has been humorously noted that python has "more web programming frameworks than language keywords "the topics of web frameworks is far beyond the scope of this bookbut moin/webframeworks is good starting point for finding more information lib fl ff