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?

disable all button on right corner
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1234
TOPIC: disable all button on right corner
#64404
Re:disable all button on right corner 5 Years, 11 Months ago Karma: 0
Yes, pls see below url...thx!
Last Edit: 2019/01/21 13:08 By terencewp.
The administrator has disabled public write access.
 
#64405
Re:disable all button on right corner 5 Years, 11 Months ago Karma: 760
The provided code is for PRO version. For free version use the following one:

Code:


jQuery(document).on('afterLoad.fb', function(e, instance, current, firstRun) {
  if (current.contentType === 'pdf' || current.type === 'iframe') {
    var $iframe = current.$content.find('iframe');
    $iframe.off('load.pdf').on('load.pdf', function() {
       var doc = $iframe.contents();
       doc.find('.toolbar').hide();
       doc.find('#viewerContainer').css('top', 0);
    });
  }
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#64425
Re:disable all button on right corner 5 Years, 11 Months ago Karma: 0
Could you advise if i upgrade to pro version, any feature different?

Actually I also need the zoom function but now all button disabled.
drive.google.com/open?id=1tz0Vig99IwyH9kKt2RZeoz_0Ol4yKTK-

thx!
Last Edit: 2019/01/21 13:19 By terencewp.
The administrator has disabled public write access.
 
#64426
Re:disable all button on right corner 5 Years, 11 Months ago Karma: 760
You can find here compare table for free and PRO versions.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64432
Re:disable all button on right corner 5 Years, 11 Months ago Karma: 760
Use the following code to hide only right toolbar buttons:

Code:


jQuery(document).on('afterLoad.fb', function(e, instance, current, firstRun) {
  if (current.contentType === 'pdf' || current.type === 'iframe') {
    var $iframe = current.$content.find('iframe');
    $iframe.off('load.pdf').on('load.pdf', function() {
       var doc = $iframe.contents();
       doc.find('#toolbarViewerRight').hide();
    });
  }
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#64435
Re:disable all button on right corner 5 Years, 11 Months ago Karma: 0
Thanks and it works perfectly.

Just wondering if I can use "Custom CSS" to define lightbox size and other display attribute?

Thanks
The administrator has disabled public write access.
 
Go to topPage: 1234