[Tex/LaTex] Getting Yellow Background color on link

colorpdfcomment

can anybody tell me how to apply a yellow background color on pdf links (especially on hovering the mouse over the link). For example, I would like to have the same yellow background effect that appears for example on the Contents section of this pdf (pdfcomment docs). http://linorg.usp.br/CTAN/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf

Best Answer

[Converting Andrew Kepert's comment to a answer]

Interaction with mouseovers (e.g. a hover colour) is done by the pdf viewer, and will vary from viewer to viewer. For example the pdfcomment.pdf pdf linked above will use yellow mouseover highlights within firefox's built-in pdf viewer but not in Adobe Reader or MacOS X Preview. Interaction within Adobe Reader can be done with forms, javascript, etc but this won't work in other viewers.