how can I locate

Hi. how can I locate the popup in the middle of the page?
another question. how can I arrange that the popup will open when I click on specific link. how can I know what is the id or class of the link?
thanks