Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Download Option Not Disabled in Mobile View
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Download Option Not Disabled in Mobile View
#62210
Download Option Not Disabled in Mobile View 6 Years, 11 Months ago Karma: 0
I have an issue with doc viewer download and trying to hide it.

We managed to disable the download button a while back for the viewer (in full screen). But I have noticed that when the screen is compressed to a mobile view size the users are able to still download the the pdf/article as the download option becomes available in the smaller view!
How can I get rid of this download option also?

See this video for an example of what is happening:

drive.google.com/file/d/1oHf_iqSAlJgFAQth-u-EctT61JGbLAKI/view?usp=sharing

view actual page at:
soccer.virnative.com/one-touch-passing/forward-passing-4vs2#pdf

Thanks,
Darren Pitfield
The administrator has disabled public write access.
 
#62213
Re:Download Option Not Disabled in Mobile View 6 Years, 10 Months ago Karma: 760
Hello,

Open <joomla_directory>/media/arisoft/pdfjs/web/viewer.html file and remove the following code:

Code:


<button id="secondaryDownload" class="secondaryToolbarButton download visibleMediumView" title="Download" tabindex="54" data-l10n-id="download">
  <span data-l10n-id="download_label">Download</span>
</button>



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1