(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    How I can make a right click on menu in javascript to save my target pdf file?

Return to Recent Questions


Q: I am using menu in javascript. In the menu in javascript are some links to pdf-files.
On clicking them, a new window opens and the pdf is shown.
But to download the file, the right mouse click is necessary, but the field with save link isn't displayed. Any idea to solve this problem?


A: You can try to write your tmenuItems in the following way:

["|<a href='file.pdf' target='_blank'>Open file</a>","", "", "", "", "", "", "", "", ],

But you should create correct style for <a> tag.





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. website builder reviews | criador de site gratis | website designer | jquery slider | CSS Slider