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?

Lightbox for just 1 external page
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 12
TOPIC: Lightbox for just 1 external page
#65748
Lightbox for just 1 external page 5 Years, 1 Month ago Karma: 0
Hi,

1st: I unchecked all options on integration tab and ARI fancy Lightbox is still pulling js from DB into header... This is not right, right?

And now a question: After reading all support documentation and i still dont know hot to trigger lightbox on a link.... (I need only 1 link on certain pages)

btw where is the documentation how the lightbox can be hooked up to certain functions or widget... is there any link to dokumentation.

If there is no simple way to trigger link i will take time and use lightbox without the plugin (but I m still so lazy i rather writing this
The administrator has disabled public write access.
 
#65753
Re:Lightbox for just 1 external page 5 Years, 1 Month ago Karma: 760
Hello,

You can add ari-fancybox CSS class for particular links to attach the lightbox. HTML code will look like:

Code:


<a href="LINK" class="ari-fancybox">Click me</a>



PRO version also supports shortcodes to create links with the attached lightbox.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#65756
Re:Lightbox for just 1 external page 5 Years, 1 Month ago Karma: 0
Thanks a lot, It seems my lazyness will make this popup works. shortcodes? I will give you some ideas for future PRO developement: I will 2 custom fields so I can set 'click me' and 'link' for the each postn and some one create lightbox for me:)

I m good with html, css and some php but JS is killin me:( pls, before I thank you again (or try to troubleshoot entire plugin)

Error on loaded popup.... is this my plugin setting problem? (I have Js set in footer)

{"lightbox":{"buttons":["fullScreen","thumbs","close"],"backFocus":false,"trapFocus":false,"thumbs":{"hideOnClose":false},"touch":{"vertical":true,"momentum":true},"lang":"custom","i18n":{"custom":{"PREV":"Previous","NEXT":"Next","PLAY_START":"Start slideshow (P)","PLAY_STOP":"Stop slideshow (P)","FULL_SCREEN":"Full screen (F)","THUMBS":"Thumbnails (G)","CLOSE":"Close (Esc)","ERROR":"The requested content cannot be loaded. <br\/> Please try again later."}}},"convert":{"wp_gallery":{"convert":false}},"viewers":{"pdfjs":
The administrator has disabled public write access.
 
#65757
Re:Lightbox for just 1 external page 5 Years, 1 Month ago Karma: 0
Of course ERROR is The requested content cannot be loaded. <br\/> Please try again later.

Thanks:)
The administrator has disabled public write access.
 
#65761
Re:Lightbox for just 1 external page 5 Years, 1 Month ago Karma: 0
Maybe you could try not to check "Open external links into lightbox" in the Tab "Integration", but do this only for some files manually by adding this code in the Tab "Advanced":

Code:

var activeUrls = [
  'https://www.url1.com/file1.pdf',
  'https://www.url2.com/file2.pdf'
];
$('a[href]').each(function() {
  var $a = $(this), url = $a.attr('href');
  if (activeUrls.indexOf(url) !== -1) {
     $a.addClass('ari-fancybox');
  }
});



Best regards
Jan
The administrator has disabled public write access.
 
#65762
Re:Lightbox for just 1 external page 5 Years, 1 Month ago Karma: 0
Thank Jan,

As i suspected this error has nothing to do with settings, a href="LINK" class="ari-fancybox" works perfect with (even external) images and probably pdf too. It failed to load internal or external pages, even static ones.

I hate JS cause I m so ignorant but this was a code for adding class style to specific link. This part is working just fine...

Thank You again.
The administrator has disabled public write access.
 
Go to topPage: 12