i have a web-project with a considerable amount of pdf-documents to view and download. I like to provide my users two ways to the content, either to download the pdf-files or to view them with the browserplugin.

I know i can setup the way a browser handles files with mime-types in .htacess file. But is there a way to distinguish between these two types of uses? So when one link is clicked it shows a download dialog, and when the other link is clicked browser shows it itself?

Hope you can help out with some advise.