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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.