Tooltip Content via Ajax

This example of dyn-web's Tooltips demonstrates and describes how to obtain content using ajax. Hover over the links below to see.

Link one, link two and link three.

This example demonstrates using a value in a query string (prodID) to look up product information in a database[1] and return a string to display in the tooltip.

Instructions

The documentation contains general instructions for implementing the code, such as the script tags to be included, where and how to specify styles for the tooltip, etc.

The extra JavaScript[2] required to perform this example is included in the head of this document.

More Information

See Documentation for basic instructions as well as more detailed information about advanced features of the code. The download file contains numerous examples to simplify the process of implementation for you. See the list of examples in the right column to see other features demonstrated.

See Licensing Information for use of the code. Please read dyn-web's Terms of Use if you plan to use our code.


  1. Since we don't have a database of products set up we will just look it up in an array for this demo. ^
  2. The very basic ajax code would likely need to be tailored for your purposes and so is kept separate from the tooltip code. A separate download file will be prepared for this demo shortly. ^