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


Recent Events
  • 25/11/2021 Black Friday Promotion

    BIG SALE, 35% discount for all our extensions. Use BF21 coupon code. Hurry up the discount is valid till 1 December.

  • 30/04/2021 Important information

    We transferred to another hosting so if you are experiencing any problem let us know. We will fix it as soon as possible.


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 Lite using rel="" not working
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Lightbox Lite using rel="" not working
#57180
Lightbox Lite using rel="" not working 7 Years ago Karma: 0
I've seen your Sexy Lightbox Lite in action on Joomla other sites and loved it, but can't seem to get it to work on mine.

Using in conjunction with gallerific.js

Code:


// Construct new hidden span for the image
var newSlide = this.$imageContainer
.append('<span class="current"><a href="'+url_modified+'" rel="sexylightbox" title="Main Image" style="float:left;"></a></span>')
.find('span.current').css('opacity', '0');


newSlide.find('a')
.append(imageData.image)
.click(function(e) {
e.preventDefault();
});



I have manually called
Code:


<link rel="stylesheet" href="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/sexylightbox.css" type="text/css" media="screen"  />
<script type="text/javascript" src="/plugins/system/t3/base-bs3/js/search.js"></script>
<script src="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/jquery.easing.js" type="text/javascript"></script>
<script src="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/jquery.sexylightbox.min.js" type="text/javascript"></script>


in the head of the page.

Any help is appreciated!
The administrator has disabled public write access.
 
#57182
Re:Lightbox Lite using rel="" not working 7 Years ago Karma: 739
Hello,

Call SexyLightbox.refresh() javascript code after creating a slide.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57205
Re:Lightbox Lite using rel="" not working 7 Years ago Karma: 0
I have tried
Code:


// Construct new hidden span for the image
var newSlide = this.$imageContainer
.append('<span class="current"><a href="'+url_modified+'" rel="sexylightbox" title="Main Image" style="float:left;"></a></span>')
.find('span.current').css('opacity', '0');


jQuery(document).ready(function() {
SexyLightbox.refresh();
});

newSlide.find('a')
.append(imageData.image)
.click(function(e) {
e.preventDefault();
});



as well as

Code:


// Construct new hidden span for the image
var newSlide = this.$imageContainer
.append('<span class="current"><a href="'+url_modified+'" rel="sexylightbox" title="Main Image" style="float:left;"></a></span>')
.find('span.current').css('opacity', '0');

SexyLightbox.refresh();

newSlide.find('a')
.append(imageData.image)
.click(function(e) {
e.preventDefault();
});



and


Code:


// Construct new hidden span for the image
var newSlide = this.$imageContainer
.append('<span class="current"><a href="'+url_modified+'" rel="sexylightbox" title="Main Image" style="float:left;"></a></span>')
.find('span.current').css('opacity', '0');

newSlide.find('a')
.append(imageData.image)
.click(function(e) {
e.preventDefault();
});

SexyLightbox.refresh();



All 3 leave the Lightbox loading Icon, and no clickability for Lightbox to display.
Any tips are much appreciated.
The administrator has disabled public write access.
 
#57206
Re:Lightbox Lite using rel="" not working 7 Years ago Karma: 739
The code should be called always after creating slide (bunch of slides). If it doesn't help, provide a link to a page where we can see a problem.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57207
Re:Lightbox Lite using rel="" not working 7 Years ago Karma: 0
I'd prefer not to post a direct link on a public forum. Can I PM or email you the link to my dev site?
The administrator has disabled public write access.
 
#57208
Re:Lightbox Lite using rel="" not working 7 Years ago Karma: 739
Send it by email.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12