Переписать это код на чистый JavaScript
4 USDБлок 1
jQuery(document).ready(function () {
var mql = window.matchMedia('screen and (min-width: 768px)');
if (mql.matches) {
jQuery('#lang_sel_list ul li a span').css("color", "whitesmoke");
jQuery(window).scroll(function () { // check if scroll event happened
if (jQuery(document).scrollTop() > 30) { // check if user scrolled more than 50 from top of the browser window
jQuery('#lang_sel_list ul li a span').css("color", "gray");
} else {
jQuery('#lang_sel_list ul li a span').css("color", "whitesmoke");
}
});
}
});Блок 2
jQuery(document).ready(function () {
jQuery(window).scroll(function(event){
jQuery(window).trigger('resize');
});
});Блок 3
function setEqualHeight(columns) {
var tallestcolumn = 0;
columns.each(function () {
currentHeight = jQuery(this).height();
if (currentHeight > tallestcolumn) {
tallestcolumn = currentHeight;
}
});
columns.height(tallestcolumn);
}
jQuery(document).ready(function () {
setEqualHeight(jQuery(".column"));
setEqualHeight(jQuery(".woocommerce-form"));
});Блок 4
(function ($) {
$(document).bind('gform_post_render', function () {
var $firstError = $('li.gfield.gfield_error:first');
if ($firstError.length > 0) {
$firstError.find('input, select, textarea').eq(0).focus();
document.body.scrollTop = $firstError.offset().top;
}
});
-
Бюджет окончательный?
-
Current freelance projects in the category Javascript and Typescript
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5770 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 2 days 4 hours back ∙ 99 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 2 days 10 hours back ∙ 21 proposals |
Commercial on-premise video communication platform "ViM"It is required to develop an on-premise video conferencing system with a basic calculation for 100 simultaneous connections (10 isolated rooms of 10 people each). The platform should have a built-in architecture for future horizontal scaling up to 1000 users by adding new media… Javascript and Typescript, Web Programming ∙ 3 days 5 hours back ∙ 32 proposals |
I am looking for a mentor with Claude Code to launch a web project from scratch.Brief about the task: I am a beginner with no programming experience. I have a ready specification for website development (42 pages, Next.js, PostgreSQL). I want to implement it myself using Claude Code - I need a specialist who will set up the environment and teach me how to… Javascript and Typescript, Tuition ∙ 4 days 9 hours back ∙ 18 proposals |
Website design updateIt is necessary to update the design of the existing website using HTML, CSS, JS: refresh the appearance, make it modern and responsive for mobile devices. Smooth animations and interactive elements need to be added. HTML & CSS, Javascript and Typescript ∙ 5 days 2 hours back ∙ 90 proposals |