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?

not launching from custom slider
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: not launching from custom slider
#20610
not launching from custom slider 13 Years, 2 Months ago Karma: 0
I'm trying to implement sexylightbox here: http://r1sitebuild.com/Joomla15/index.php/creative
from within a customized version of easysliderPro.
While I can pop a lightbox from articles, the links are generated dynamically, Href from the php for the module and class declaration/HTML content via Javascript in the module. I think this is bypassing the event that Ari uses to scan for elements to place in its lightbox method. (I'm currently ruling out Javascript conflicts because I can successfully load lightboxes from the article) Is there a global method I can call that will trigger the lightbox anywhere or sexylinks to be added?
The administrator has disabled public write access.
 
#20630
Re:not launching from custom slider 13 Years, 2 Months ago Karma: 760
Hello,

"ARI Sexy Links" plugin calls the next javascript code on your site:

Code:


ARISexyLinks("a.lightbox", "width=500&height=350&tmpl=component", true);



Regards,
ARI Soft
The administrator has disabled public write access.
 
#20639
Re:not launching from custom slider 13 Years, 2 Months ago Karma: 0
Yes, however the links in the image slider are a links woth a class of lightbox and they are opening in a new page. Are you saying that the lightbox code is being added to the stack even when the links are opened in a new window? If so do you reccomend an event.preventDefault() in my slider js file to prevent the links from opening? Thank you for your support.
The administrator has disabled public write access.
 
#20644
Re:not launching from custom slider 13 Years, 2 Months ago Karma: 760
"ARI Sexy Links" calls provided code on DOM ready event, but the slider is created on window load event and it happens after DOM reasy so slider links are not shown into the lightbox. You can add call the next code in slider:

Code:


if (typeof(ARISexyLinks) != "undefined")
  jQuery(window).load(function() {
    setTimeout(function() {
      ARISexyLinks("a.lightbox", "width=500&height=350&tmpl=component", true);
    }, 10);
  });



Regards,
ARI Soft
The administrator has disabled public write access.
 
#20645
Re:not launching from custom slider 13 Years, 2 Months ago Karma: 0
Awesome! That was exactly what I needed. Thank you for the prompt reply.
The administrator has disabled public write access.
 
Go to topPage: 1