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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Rev Slider
#64625
Rev Slider 5 Years, 2 Months ago Karma: 0
Hi - I would like to open the Ari's iframe lightbox when a content layer is clicked in Slider Revolution.

The instructions are to add the “fancybox” class to the Attributes of the slider and to add the following script to the slider's Custom JavaScript section.

These instructions are not working. This might be a question for Slider Revolution's support, but I thought you might notice something obviously wrong with their code or suggest alternative code to address the issue.


/*start...revapi14 is the API name is being used for your slider */

var api = revapi14;

api.on('revolution.slide.onloaded', function() {

jQuery(this).find('.fancybox').each(function() {

var $this = jQuery(this);
if(!$this.is('a')) $this = $this.removeClass('fancybox').find('a');

$this.addClass('fancybox fancybox.iframe').fancybox({

/* begin FancyBox options */
width: 'auto',
height: 'auto',
autoSize: true,
aspectRatio: true,
fitToView: true,
autoCenter: true,
scrolling: 'no',
type: 'iframe',
onClosed: function() {api.revresume()}

}).on('click', function() {api.revpause()});

});

});

/*end...*/

Thank you in advance for any help that you can provide.
The administrator has disabled public write access.
 
#64626
Re:Rev Slider 5 Years, 2 Months ago Karma: 747
Hello,

Could you provide a link to a page where this code is used?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64630
Re:Rev Slider 5 Years, 2 Months ago Karma: 0
Hi - careaxis.ca

Please see rev slider at top of homepage. The book an "book an assessment" button on the slider is supposed to launch careaxis.ca/our-physios in n fancybox. I used "fancybox" class in the button layer.

The JS code is in there now...and it is not working as expected. :/

Thank you!!!
The administrator has disabled public write access.
 
#64635
Re:Rev Slider 5 Years, 2 Months ago Karma: 747
Remove your custom JS code for the slider and add the following code to "Custom JS code":

$('A.rev-btn').attr('data-type', 'iframe');

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64636
Re:Rev Slider 5 Years, 2 Months ago Karma: 0
It worked! Thank you! P
The administrator has disabled public write access.
 
Go to topPage: 1