O'Reilly logo

jQuery for Designers Beginner's Guide by Natalie MacLees

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required