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?

Custom Selector
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Custom Selector
#68388
Custom Selector 2 Years, 4 Months ago Karma: 0
Hello. Not sure whether it is possible, but on this page:

emmanuelramses(.com)/photos/

if you hover on the first frame with the green plant, the right icon takes me to the lightbox. But, no thumbnails. I am curious whether ARI can grab the contents of the album and display directly from the lightbox. I cannot find the correct selector. (If you hover and click on the left icon, you can see all contents of the album). It seems like I would need the selector for that particular album. Not sure if that is right.

Any help is greatly appreciated.
The administrator has disabled public write access.
 
#68392
Re:Custom Selector 2 Years, 4 Months ago Karma: 748
Hello,

The lightbox doesn't show thumbnails because they are located on another page and they are not available on "photos" page so a custom selector can't help in this case.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#68393
Re:Custom Selector 2 Years, 4 Months ago Karma: 0
I was afraid of that. Thank you. So, I created a dummy page to try and regain that function. Can you help me get thumbnails for each slideshow project?

emmanuelramses(.com)/custom-photos/

Each project is structured using the same layout, so by calling the selector, is there a way to make sure that the only thumbnails shown are for each specific project? I would not want all photos shown when the lightbox pops up.
Last Edit: 2021/12/05 19:09 By emmanuelramses.
The administrator has disabled public write access.
 
#68394
Re:Custom Selector 2 Years, 4 Months ago Karma: 748
Try to populate "ARI Fancy Lightbox -> Settings -> Advanced -> Custom JS code" parameter with the following code:

Code:


$('[data-lightbox="magnific-lightboxcarousel"]').each(function() { var $this = $(this); $this.attr('data-options', JSON.stringify({thumb: $this.attr('href')})); });



Regards,
ARI Soft
The administrator has disabled public write access.
 
#68400
Re:Custom Selector 2 Years, 4 Months ago Karma: 0
Added to custom JS section and unfortunately, did not work. No noticeable impact.
The administrator has disabled public write access.
 
#68439
Re:Custom Selector 2 Years, 4 Months ago Karma: 0
Just following up to see if there is an alternative to the code posted. Thanks again.
The administrator has disabled public write access.
 
Go to topPage: 1