View Single Post
  #4  
Old 09-24-2015, 04:06 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Banner System Module

Quote:
Originally Posted by shaz
Thanks for the response.

Yes I did. Does anyone else have it working on that template?
Okay, I found out that the 'Delay' parameter that is available at the banner settings page is actually how long the animation lasts, it's not a delay between animations.

I got in touch with the developer of the module and I was informed that the parameter that allows to define a time interval between animations will be available for manual editing in the new version of module, 5.2.8, which is planned to be released soon.

For now, the easiest way to change this is to edit the source code of the jQuery Cycle2 engine which is responsible for scrolling images.
Find the following file in your X-Cart
Code:
/skins/default/en/modules/QSL/Banner/jquery.cycle.all.js
Then go to this section of code
Code:
$.fn.cycle.defaults = { allowWrap: true, autoSelector: '.cycle-slideshow[data-cycle-auto-init!=false]', delay: 0, easing: null, fx: 'fade', hideNonActive: true, loop: 0, manualFx: undefined, manualSpeed: undefined, manualTrump: true, maxZ: 100, pauseOnHover: false, reverse: false, slideActiveClass: 'cycle-slide-active', slideClass: 'cycle-slide', slideCss: { position: 'absolute', top: 0, left: 0 }, slides: '> img', speed: 500, startingSlide: 0, sync: true, timeout: 4000, updateView: 0 };
These are basic settings of the engine, that can not be edited manually in the admin area.
The 'timeout' parameter is the one you are looking for, it defines the interval between animations.
By default it is set to 4 seconds, as you may guess. Feel free to set it to 1 millisecond to reduce the delay between animations as low as possible.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote