I have used the code from Sitepoint Javascript anthology (page 130) to create a popup on my pages, however I have a list of pdfs each of which needs to open in a popup and the code only works with the very first in the list. the rest of the pdfs open up in the window as normal. How can I adapt this and would I have to separatly number each id: ?
As we don't all have the book, can you post the relevant function?
I would have thought that for PDF documents it wouldn't be relevant, as they will usually open in their own window (or in Adobe Acrobat Reader or Preview) anyway.
Bookmarks