CSS sprites and pop up windows I have just implemented a css sprite for a list of items. The purpose of this was that when a user hovers over an item, the image changes... What I have been asked to do now is  to add a pop up for each of those list items. How would I go about doing this?

Is there any way by using aFancybox module to achieve this?

The pop up would consist of a page title, image and a close button.

At the moment the list items are hard coded in the page.tpl.php template.

I use drupal 7

This is the sort of thing I am trying to achieve. So a set of images which change on hover, and when clicked on a little pop up appears.
I wouldn't approach it this way. Hardcoding list items, with content, in a tpl.php is generally frowned upon and will ultimately require more work than this should entail.

Instead use Views and the Colorbox module. Create a view with the list of nodes you want to display, pop it in a block on the page in the region you'd like it to display, and use the Colorbox plugin to Views show the popover on click. Use CSS to style the colorbox however you please. This can be handled strictly with configuration and a touch of CSS. This way, when the theme changes someday, the functionality is maintained.

See http://drupal.org/project/views and http://drupal.org/project/colorbox for more details.