How to adjust the website scroll speed?

More
11 years 5 months ago - 11 years 5 months ago #34128 by homeedition
Hello,
how i can adjust the website scroll speed.
The standard speed is a little bit to fast :)

Look this site for example and klick on the ENTER or one of the the NEXT button to see what i mean:
www.shrimp.eu/en

Thanks :)
Last edit: 11 years 5 months ago by homeedition.

Please Log in to join the conversation.

More
11 years 5 months ago #34135 by ivan.milic
In :

templates/hot_one_page/js/hot_onepage.js

you will see:

event.preventDefault();
try{
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
});

change that 500 you see twice, it represents duration in miliseconds
The following user(s) said Thank You: homeedition

Please Log in to join the conversation.

More
11 years 5 months ago #34147 by homeedition
Thanks for your support.
Very nice :)

Please Log in to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum