Difference between revisions of "Auto-stripe jQuery debug"

From UnionCloud Support
Jump to: navigation, search
(Created page with "To be applied to global JS: <pre> setTimeout(function(){ jQuery('#homepage-grid').jcarousel({ auto: 2, wrap: 'last', animation: 10000, itemFallbac...")
 
m (Dannyjkendall12 moved page Auto-stripe not working to Auto-stripe jQuery debug)
(No difference)

Revision as of 11:55, 30 August 2018

To be applied to global JS:

setTimeout(function(){

 jQuery('#homepage-grid').jcarousel({
        auto: 2,
        wrap: 'last',
        animation: 10000,
		itemFallbackDimension: 800 

    });
	
 }, 1000);

NOTES: Replace #homepage-grid with the id of your slider.

Wrapped in a function to delay it by a second else the next/prev buttons get hidden. itemFallbackDimension to fix height/width error.

To control time before scrolling in this fix auto:2 waits 2 seconds and the 1000 adds an additional second delay (1000ms) animation as an example of scrolling speed (10,000ms - 10secs)