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


Recent Events
  • 30/04/2021 Important information

    We transferred to another hosting so if you are experiencing any problem let us know. We will fix it as soon as possible.

  • 25/11/2020 BLACK FRIDAY is coming

    BIG SALE, 35% discount for all our extensions. Use BF2020 coupon code. Hurry up the discount is valid till 7 December.


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 3 Years, 8 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 3 Years, 8 Months ago Karma: 734
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