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


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


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? 4 Years, 3 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? 4 Years, 3 Months ago Karma: 670
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? 4 Years, 3 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? 4 Years, 3 Months ago Karma: 670
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? 4 Years, 3 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