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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

SexyLightboxLite - Timing of when JS loads?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: SexyLightboxLite - Timing of when JS loads?
#43858
SexyLightboxLite - Timing of when JS loads? 10 Years, 8 Months ago Karma: 0
Hi Folks,

Love the plugin - does exactly what I wanted but occasionally it gets caught up. On the following page:

http://casadelcastello.bytheraintree.com/index.php/apartment/inclusions/fitout

the images found in the Accordion work perfectly. However, the Floor Plan at the top - as soon as I include the rel="sexylightbox" directive, all of them stop working.

If I look at the code, it would seem the earlier invocation of the Plugin results in the Javascript loading in a different order. This doesn't work:

Code:


<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/cache/widgetkit/widgetkit-97a724b0.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></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>



Instead of this which does:

Code:


<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/cache/widgetkit/widgetkit-97a724b0.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></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>



Presumably there's a JS conflict somewhere so is there any way to trick the plugin to load last?

Regards, Mark
The administrator has disabled public write access.
 
#43859
Re:SexyLightboxLite - Timing of when JS loads? 10 Years, 8 Months ago Karma: 747
Hello,

Sorry, but what difference between javascript codes which you sent? They look the same.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#43864
Re:SexyLightboxLite - Timing of when JS loads? 10 Years, 8 Months ago Karma: 0
Ooops, sorry. The 1st one should've had the plugin JS at the top of the list:
Code:


<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>
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/cache/widgetkit/widgetkit-97a724b0.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>



Perhaps a better example is the following link. This page is used in the accordion mentioned above - it works in the accordion but not on the individual page because the JS loads in a different order.
The administrator has disabled public write access.
 
#43874
Re:SexyLightboxLite - Timing of when JS loads? 10 Years, 8 Months ago Karma: 747
Check that you use the latest version of the plugin (v. 1.2.3) and set "Load jQuery method" parameter to "Local copy" in plugin settings.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#43876
Re:SexyLightboxLite - Timing of when JS loads? 10 Years, 8 Months ago Karma: 0
Perfect, that's did the trick (Load jQuery method") - works perfectly now.

Many thanks for your assistance.

Regards, Mark
The administrator has disabled public write access.
 
Go to topPage: 1