This class can be used in conjunction with a mouse pointer. The user hovers the cursor over an item, without clicking it, and a small box appears with supplementary information regarding the item being hovered over.
On the server, the class parses the HTML content to lookup for known text expressions stored in a dictionary file in CSV format.
The text expressions found in the dictionary are replaced by links that make a popup window appear with the expressions meaning when the user drags the mouse over the links.
The processed HTML content is returned to the browser as part of the AJAX request response.
The Web site advertising business became much more profitable to Web site owners, and more effective for advertisers, when Web advertising agencies invested in contextual advertising techniques, like those used by AdSense and IntelliTXT.
Instead of display almost randomly chosen ads, context advertising techniques show ads that are picked automatically by the ad servers to match the topics of the content displayed in each page.
This package implements a solution that can be used to display contextual advertising using PHP.
It can scan the text in the current page and submit it to the server via AJAX. In response to the AJAX request, contextual advertising may be displayed in a pop-up window.