I have included docx file for terms and condition in our project.
Now i need to open it in new tab.
I agree to this Email campaign <a title="click to view terms and conditions" style="color:blue;" target="_blank" href="{$Site.ContentPath}/public/EmailServicesTermsofUse.docx">terms and conditions</a>.
However it is downloading the file rather than opening it new tab.
How can i achieve this. I am open for any kind of solution that will meet this condition.
Thanks in Advance!!!
Most browsers by default won't load a .docx in the browser. You might have better luck hosting it as a .pdf.