News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

image fade in banner

Started by flyn, July 30, 2014, 04:43:11 PM

Previous topic - Next topic

flyn

I looked at the javascript and wanted to know what is the correct word to replace 'random'. I tried crossfade and nothing happened

yonghan

Hi,as far as i know.Onebyone slider doesn't support crossfade effect.Here are the effects that i found that works with onebyone slider :

https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/javascript/jquery.onebyone.min.js

Hope it helps.

flyn

Thanks yonghan. I did fix part of the problem. The whole image now fills in the entire space which I am happy about.

As for the effect I dont know if it is taking effect. Goes by too fast and seems to slide from left top right and then fade in up. I just wish it would fade in without the sliding left or right

yonghan

You can set the speed of the slider.You can try to change the random with the other type.

buddahboy

younghan actually answered the time issue on the slider for me in June - http://forum.abantecart.com/index.php/topic,2342.msg9831.html#msg9831

The part to change begins on line 1:

$(window).bind("load", function() {
    $(function () {
            $('#banner_slides').show();
            $('#banner_slides').oneByOne({
                className: 'oneByOneSlide',
                easeType: 'random',
                slideShow: true,
                slideShowDelay: 6000,
                responsive: true
            });
        })
});


"you should edit the js file here (referring to the above link to github - https://github.com/abantecart/abantecart-src/blob/14375c4f42ef9e695e9783f50f6dda3ba7109847/public_html/storefront/view/default_html5/javascript/custom.js) instead of the onebyone.min.js.and please edit yhe slideShowDelay variable.and about animation type,it was set random by default."

Worked for me

Good luck!
Ron
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

buddahboy

Regarding the  slideShowDelay: 6000  -  just in case you don't know (most likely do but ...) 6000 represents 6 seconds - 10000 represents 10 seconds, etc. 

AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

Forum Rules Code of conduct
AbanteCart.com 2010 -