Time for action — building custom Ajax tooltips

Follow these steps to set up some tooltips that display Ajax content:

  1. We'll get started by creating an HTML document and associated files and folders like we did in Chapter 1, Designer, Meet jQuery. Our HTML page should contain a couple paragraphs of text that have some links to further information. My first HTML document looks like the following:
    <!DOCTYPE html> <html> <head> <title>Pittsburgh, Pennsylvania</title> <link rel="stylesheet" href="styles/styles.css"/> </head> <body> <h2>Pittsburgh, Pennsylvania</h2> <p>Pittsburgh is the second-largest city in the US Commonwealth of Pennsylvania and the county seat of Allegheny County. Regionally, it anchors the largest urban area of Appalachia and the ...

Get jQuery for Designers Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.