nbarnum Posted February 25, 2015 Share Posted February 25, 2015 I'd like to change how many product images the Products Category Module scrolls through before stopping. RIght now it only scrolls through one thumbnail at a time. I'd like it to scroll by 5. Link to comment Share on other sites More sharing options...
shacker Posted February 26, 2015 Share Posted February 26, 2015 edit the productscategory.js in the productscategpry module folder (inside js folder) and find this $(document).ready(function() { $('#productscategory_list').serialScroll({ items: 'li', prev: 'a#productscategory_scroll_left', next: 'a#productscategory_scroll_right', axis: 'x', offset: 0, stop: true, onBefore: pc_serialScrollFixLock, duration: 300, step: 1, lazy: true, lock: false, force: false, cycle: false }); $('#productscategory_list').trigger( 'goto', 0); }); change step by the number that you want Link to comment Share on other sites More sharing options...
nbarnum Posted February 26, 2015 Author Share Posted February 26, 2015 (edited) Thanks Shacker. I tried editing the file in the main Module folder. No change. I looked in the theme Module folder. No JS file. Then I found it! It was in the Theme -> JS -> Module -> productcategories -> JS. I changed the step and the transition speed. Works so much better thanks! Edited February 26, 2015 by nbarnum (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted February 26, 2015 Share Posted February 26, 2015 perfect. Change title to solved. Regards Link to comment Share on other sites More sharing options...
nbarnum Posted February 26, 2015 Author Share Posted February 26, 2015 I don't know how to edit the topic title. Link to comment Share on other sites More sharing options...
shacker Posted February 28, 2015 Share Posted February 28, 2015 i mark as solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now