Reputation: 11
I am facing issue with a website which is currently on a test location.
The problem is that the site loads incomplete for the first time on any browser and on 2nd time refreshing browser loads it complete.
So far i believe its a Jquery conflict issue, any help would be highly appreciated?
Upvotes: 0
Views: 146
Reputation: 33163
You are loading multiple copies of the library: I counted at least 4 different versions of jQuery. Pick one and remove the rest.
Another possible issue is that scripts aren't set to run on page load. Right at the end:
jQuery( '#SlideDeck_877_4' ).slidedeck( ... );
You can't be sure that the element has been rendered yet. Change it (and similar code) to:
$( document ).load( function() {
jQuery( '#SlideDeck_877_4' ).slidedeck( ... );
} );
Upvotes: 2