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?

open only special link in lightbox
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: open only special link in lightbox
#70912
open only special link in lightbox 11 Months, 2 Weeks ago Karma: 0
Hi,
I have a question.
On the website www.360-grad-panoramen.at/
On the homepage I use portfolios and from there I want to open just the icon and the title in the lightbox.
The description below the image should open as a new page in the same window.
Please find exactly what I mean in the attached image.
Is this possible?

Thank you very much for any answers.
Best regards
Günter
Last Edit: 2023/05/15 15:47 By gs@weblinedesign.at.
The administrator has disabled public write access.
 
#70918
Re:open only special link in lightbox 11 Months, 2 Weeks ago Karma: 748
Hello,

Open "ARI Fancy Lightbox -> Settings -> Advanced" page and populate "Custom JS code" parameter with the following code:

Code:


$('.fusion-rollover-gallery').each(function() {
var $el = $(this);
var $parent = $el.closest('.fusion-image-wrapper');
var $title = $parent.find('.fusion-rollover-title');
var title = $title.text();

$el.addClass('ari-fancybox-iframe').attr('data-caption', title);
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#70922
Re:open only special link in lightbox 11 Months, 1 Week ago Karma: 0
Hello,
thank you very much for your help.
The link on the magnifying glass works perfect now.
I would like to have the same on the text beneath the magnifying glass.
I think this is the fusion-rollover-title (maybe it does not work in the custom js??)
That means: the two links (www.360-grad-panoramen.at/glasenbachklamm/index.php) should open in a lightbox.

The text under the image is perfect as it is.
Is this possible?
Thank you in advance for any help!

Best regards Günter
The administrator has disabled public write access.
 
#70925
Re:open only special link in lightbox 11 Months, 1 Week ago Karma: 748
Hello,

Try the following code instead of the previous one:

Code:


$('.fusion-rollover-gallery,.fusion-rollover-title-link').each(function() {
  var $el = $(this);
  var $parent = $el.closest('.fusion-image-wrapper');
  var $title = $parent.find('.fusion-rollover-title');
  var title = $title.text();

  $el.addClass('ari-fancybox-iframe').attr('data-caption', title);
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#70961
Re:open only special link in lightbox 11 Months, 1 Week ago Karma: 0
Thank you very much for the help!
Finaly we found the solution, it was just a small change:

$('.fusion-rollover-gallery,.fusion-link-wrapper').each(function() {
var $el = $(this);
var $parent = $el.closest('.fusion-image-wrapper');
var $title = $parent.find('.fusion-rollover-title');
var title = $title.text();

$el.addClass('ari-fancybox-iframe').attr('data-caption', title); });

This worked perefct!
Thank you the topic is closed and best regards.
The administrator has disabled public write access.
 
Go to topPage: 1