Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
169
rated 0 times [  173] [ 4]  / answers: 1 / hits: 66271  / 11 Years ago, tue, july 9, 2013, 12:00:00

I found the pdf.js project, which is very useful. However, I am unable to figure out how to remove the Download option.


More From » pdf

 Answers
28

Here are the steps:




  1. Add jQuery library to shared folder.

  2. Include jQuery library to viewer.html file

  3. Add this on the header section:



    <script>
    $(function(){
    $('#download').hide();
    });
    </script>



Done!


[#77118] Sunday, July 7, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
marisela

Total Points: 103
Total Questions: 105
Total Answers: 102

Location: Solomon Islands
Member since Fri, Oct 8, 2021
3 Years ago
;