- Posts: 25
- Thank you received: 0
How to adjust the website scroll speed?
-
homeedition
Inactive member -
Topic Author
- Member
-
Less
More
11 years 5 months ago - 11 years 5 months ago #34128
by homeedition
How to adjust the website scroll speed? was created 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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 5 months ago #34135
by ivan.milic
Replied by ivan.milic on topic How to adjust the website scroll speed?
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
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.
-
homeedition
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 25
- Thank you received: 0
11 years 5 months ago #34147
by homeedition
Replied by homeedition on topic How to adjust the website scroll speed?
Thanks for your support.
Very nice
Very nice

Please Log in to join the conversation.
Time to create page: 0.149 seconds