Add and connect the smooth scrolling script to the coatings (OcStore)
ThreeThe script should take into account the specificity of the site, - the hat is recorded (so that the site with the curtain is not covered by the menu).P and S.There was the following script with the author's comment.$("body").on('click', '[href*="#"]', function(e){
var fixed_offset = 100;
$('html,body').stop().animate({ scrollTop: $(this.hash).offset().top - fixed_offset }, 1000);
e.preventDefault( )
}); First, asynchronous (for example, I have reviews loaded from another service, with a few seconds of delay).Secondly, for all links that contain the # symbol (they are folders).Thirdly, I had a fixed menu in the project from above, so when turning straight to the back, part of the content was covered, to solve this problem I suggest to set fixed_offset equal to the height of the fixed menu (optional).– – –
If the above script is really working, then the task is relieved, it will only be enough to connect it so that the script works on all the pages with scratches!The result of the work done.➤ The positive result will be the functionality of the smooth scrolling script for all pages of the site where the jacket is installed (with the specificity of the fixed hat, so that the place with the jacket is visible and the menu of the hat is not covered).➤ Show the file (this way) with the script (code) and where it is connected (in which file), if the script will use the subtle setting parameters, explain which of them and what it means - info for me, to understand.Avoid conflict with other script.P and S.To test the performance of the script on the site will be used transitions to the jacks:
1) In the framework of one information page - "Politika-confidencialnosti" (click on the link section 1 "General provisions" transition to the link section 10.“Conditional provisions”.2) Transfer from one information page “Why are we?” (pochemu-my) (click on the link the word “Trust”) to another information page “Customer Reviews” (otzyvy-pokupatelej) (accurate – the word “Rating”).
Client's review of cooperation with Maksim Parshenko
Add and connect the smooth scrolling script to the coatings (OcStore)It was necessary to add a script with a smooth curve to the jacks (OcStore). I thank Maxima for the clear performance of the TZ and for a small improvement of the script (as specific to the structure of the template of the site).
I was pleased to collaborate and advise Maxime as an executive.
Respect is!
Freelancer's review of cooperation with Vladislav Milman
Add and connect the smooth scrolling script to the coatings (OcStore)Clear TZ, all the necessary is indicated and described. I recommend !
-
380 12 2 1 Hello, I am ready to take your project.
Experience in development and programming over 8 years.
(Popular CMS and templates)
QA and optimizer experience 3 years.
I specialize in creating, programming websites of any difficulty.
Extensive experience and skills with JavaScript, Jquery, NodeJs, Vue, Gulp, Html/Pug, CSS/STYL/SASS/LESS, optimization tools (Google PageSpeed), w3c, etc.
-
883 26 0 2 Good day Vladislav.
Ready to work right now.
I will do it quickly and quality.
-
3800 231 0 Please, I will do it today.
IIIIIIIIIIIIIIIIIIIIIIIIIIII
Current freelance projects in the category Content Management Systems
LearnWorlds Administrator-ConfiguratorTask Set up the ready-made LearnWorlds platform for an elite online course. Do not develop the architecture — implement the already prepared structure manually in the admin panel. ———————— What needs to be done: Branding ⦁ Connect your domain ⦁ Upload the logo, set up… Content Management Systems, Web Programming ∙ 1 day back ∙ 9 proposals |
Responsive Portolio Website Design ( wordap - selling and buying website )I need a clean, modern portfolio site that follows my existing brand guide and adapts beautifully to desktop, tablet, and mobile. The site’s job is simple: highlight my work through high-impact photos, embedded videos, and detailed case studies so visitors immediately understand… Content Management Systems, Web Programming ∙ 1 day 19 hours back ∙ 42 proposals |
Transfer the fully ready adaptive HTML5 structure to WordPress.
268 USD
I am looking for an experienced WordPress developer who can convert our meticulously prepared static HTML5/CSS3 code into a high-performance custom WordPress theme. The frontend is almost ready (about 99%): semantic markup, metadata, and multilingual structure (hreflang) are… Content Management Systems, PHP ∙ 2 days 9 hours back ∙ 62 proposals |
Need a strong WordPress / WooCommerce specialist for the refinement of the MARSPRO website.We are looking for a responsible freelancer or a small team for the quality completion and technical refinement of the MARSPRO company website. The website is already operational, but there are many minor and significant technical issues left by the previous developer. We need a… Content Management Systems, HTML & CSS ∙ 2 days 23 hours back ∙ 44 proposals |
Development of a modern website for the Theater
223 USD
We are looking for a web developer to create the official website of a modern cultural platform. The project unites theatrical, artistic, educational, and cultural initiatives. It is necessary to create a modern responsive website that will simultaneously serve an image… Content Management Systems, Web Programming ∙ 3 days 1 hour back ∙ 113 proposals |