Lightbox effect issue
- quenda
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
14 years 2 months ago #5677
by quenda
Hallo!
On my Ajaxscroller modules the lightbox effect on the images sometime works......and sometime not.....VERY STRANGE!!!!
Look here and try for yourself:
89.119.84.143/index.php?option=com_conte...cle&id=43&Itemid=369
Do you have some ideas for correcting this strange issue??
ettore
On my Ajaxscroller modules the lightbox effect on the images sometime works......and sometime not.....VERY STRANGE!!!!
Look here and try for yourself:
89.119.84.143/index.php?option=com_conte...cle&id=43&Itemid=369
Do you have some ideas for correcting this strange issue??
ettore
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
14 years 2 months ago - 12 years 11 months ago #5680
by Saka
Emir Sakic
www.sakic.net
Yes, I also had a user who complained about Google translate not working for all items.
The issue is that AJAX Scroller fetches the items asynchronously. This means it only fetches the first slide at the page load and rest of them later, as you scroll.
When using lightbox the script needs to initiate the effect on the thumbnails. It can only initiate it on already loaded images and not on rest of them because they are not there yet!
A solution would be to add the lightbox init in scroller javascript code so it's initiated every time the new items are fetched.
But I think almost better and more general solution in cases like this would be not to use AJAX at all, since you only have 3 slides in total. I am considering adding this option in parameters. That would kinda defeat the purpose of AJAX Scroller but very often I see users that are just looking for nice scrolling effect for only a few items. The asynchronous system doesn't bring much of advantage for them and in that case these kind of things would work because all slides would be loaded at once.
So I will be looking for adding an option to turn off AJAX in next version and with that option your lightbox will work for all thumbnails.
The issue is that AJAX Scroller fetches the items asynchronously. This means it only fetches the first slide at the page load and rest of them later, as you scroll.
When using lightbox the script needs to initiate the effect on the thumbnails. It can only initiate it on already loaded images and not on rest of them because they are not there yet!
A solution would be to add the lightbox init in scroller javascript code so it's initiated every time the new items are fetched.
But I think almost better and more general solution in cases like this would be not to use AJAX at all, since you only have 3 slides in total. I am considering adding this option in parameters. That would kinda defeat the purpose of AJAX Scroller but very often I see users that are just looking for nice scrolling effect for only a few items. The asynchronous system doesn't bring much of advantage for them and in that case these kind of things would work because all slides would be loaded at once.
So I will be looking for adding an option to turn off AJAX in next version and with that option your lightbox will work for all thumbnails.
Emir Sakic
www.sakic.net
Last Edit: 12 years 11 months ago by Saka.
Please Log in or Create an account to join the conversation.
- quenda
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
14 years 2 months ago #5683
by quenda
I just want to say a very BIG THANK-YOU for your fast support and detailed explaination.
The AJAX scroller is a beautiful module and I'm sure that the next versions will be even better.
ettore
The AJAX scroller is a beautiful module and I'm sure that the next versions will be even better.
ettore
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
14 years 2 months ago - 14 years 2 months ago #5685
by Saka
Emir Sakic
www.sakic.net
Hello again,
The version 1.6.0 is now released with an option to turn off AJAX. Please download and install and test it. I believe it will make the Lightbox work on all items in your case. Let us know the results.
Warning: This option is only to be used when having a few items to scroll. Do not turn off AJAX if you have 50 items to scroll because all of them are then fetched at the page load which will slow down your site.
The version 1.6.0 is now released with an option to turn off AJAX. Please download and install and test it. I believe it will make the Lightbox work on all items in your case. Let us know the results.
Warning: This option is only to be used when having a few items to scroll. Do not turn off AJAX if you have 50 items to scroll because all of them are then fetched at the page load which will slow down your site.
Emir Sakic
www.sakic.net
Last Edit: 14 years 2 months ago by Saka.
Please Log in or Create an account to join the conversation.
- quenda
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
14 years 1 month ago #5698
by quenda
Hallo! Sorry for my delay.
I have two identical websites on different servers (I've used Joomlapack….. ).
On this page I have the AJAX SCROLLER module with the "Turn off AJAX" option off:
89.119.84.143/index.php?option=com_conte...cle&id=43&Itemid=369
On the same page I have the identical AJAX SCROLLER module with the "Turn off AJAX" option on, but the page do not open :
www.eqmultimedia.it/rebecchi/index.php?o...icle&id=43&Itemid=36 9
I suspect a problem with the new "Turn off AJAX" option.
Thank you for your advice.
ettore
I have two identical websites on different servers (I've used Joomlapack….. ).
On this page I have the AJAX SCROLLER module with the "Turn off AJAX" option off:
89.119.84.143/index.php?option=com_conte...cle&id=43&Itemid=369
On the same page I have the identical AJAX SCROLLER module with the "Turn off AJAX" option on, but the page do not open :
www.eqmultimedia.it/rebecchi/index.php?o...icle&id=43&Itemid=36 9
I suspect a problem with the new "Turn off AJAX" option.
Thank you for your advice.
ettore
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
14 years 1 month ago #5699
by Saka
Emir Sakic
www.sakic.net
I can't help without having a look on what you did. So please send admin password and FTP info on mail.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.