Forum Moderators: open
The only way I can think to do this is by using the Document Object Model to determine if what you click on was a link or table, then cancel the function and follow the link if it is a link.
Sorry maybe you could clarify your question is this is not what you are looking for? If this is your question and you want a detailed answer with some code let me know.