How can I do something like show an embed document if a link is press.

The logic would be something like:




IF LinkPress then

<embed src="\Document.pdf" width="720" height="500" >



Being The link something like:

<a href="">Link<a/>

Thanks much