SK01 Posted October 30, 2010 Share Posted October 30, 2010 Hello everyone out there!When pressing on the "More details" button the page scrolls down a bit, try it for example in this link:http://www.prestashop.com/demo/music-ipods/2-ipod-shuffle.htmlPress the "More details" button and u will see what I mean.Now to my question;How can I make it scroll to the bottom of the page?I got very much text on the product description and I would like it to scroll down to the bottom of the page first (because I got something special there).How can I make this change?Many thanks! Link to comment Share on other sites More sharing options...
rocky Posted October 30, 2010 Share Posted October 30, 2010 Change line 375 of js/product.js in your theme's directory (in PrestaShop v1.3.2): $.scrollTo( '#more_info_tabs', 1200 ); Change #more_info_tabs to the ID of an element further down on the page that you want to scroll to. Link to comment Share on other sites More sharing options...
SK01 Posted November 6, 2010 Author Share Posted November 6, 2010 Great! Worked perfectly! Thanks Rocky! 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