How to get pop or a context menu on a link

I want to have something like a pop up on top of a link to show there is something wrong with that link and populate the pop up with a description of the reason why this link is not working.