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 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 8 Years, 9 Months 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 8 Years, 9 Months ago Karma: 760
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 8 Years, 9 Months 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 8 Years, 9 Months ago Karma: 760
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 8 Years, 9 Months 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 8 Years, 9 Months ago Karma: 760
Send it by email.

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