Переписать небольшой JS
2 USDЕсть файл скрипта транслитерации ru2en для языка langID=1
Нужно сделать такой же, только ua2en для языка langID=3
Скрипт:
var ru2en = {
ru_str : 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя(),.; "+/*',
en_str : ['a','b','v','g','d','e','jo','zh','z','i','j','k','l','m','n','o','p','r','s','t','u','f',
'h','c','ch','sh','shh','','i','','je','ju','ja',
'a','b','v','g','d','e','jo','zh','z','i','j','k','l','m','n','o','p','r','s','t','u','f',
'h','c','ch','sh','shh','','i','','je','ju','ja',
'-', '-','-', '-', '-','-','-','-','-','-'],
translit : function(org_str) {
var tmp_str = "";
for(var i = 0, 1 = org_str.length; i < 1; i++) {
var s = org_str.charAt(i), n = this.ru_str.indexOf(s);
if(n >= 0) { tmp_str += this.en_str[n]; }
else { tmp_str += s; }
}
return tmp_str.toLowerCase();
}
}
function setTranslit(source, dest, rewrite) {
var name = $("input[name='"+source+"']").val();
if (name != undefined) {
$("input[name='"+source+"']").change(function(){
var name = $("input[name='"+source+"']").val();
var key = $("input[name='"+dest+"']").val();
if ((key == '')||(rewrite))
$("input[name='"+dest+"']").val(ru2en.translit(name));
});
}
}
-
1 day2 USD1 day2 USD
Приветствую, Андрей!
Готов реализовать быстро и качественно
Обращайтесь - буду рад сотрудничеству
-
6 Здравствуйте. Сделаю до конца для, привяжу к вашим инпутам. Если интересно, могу написать более гибкий скрипт для транслита в две стороны, с соответствием гостам, с поддержкой большего колличества языков.
-
10671 591 6 10 Готов взяться за работу, пишите, сделаю все качественно, опыт работы уже больше 9ти лет!
-
1 day2 USD
1932 69 0 1 1 day2 USDДобрый день,
Готов решить вашу задачу.
С уважением, Бабкен..
-
1 day2 USD
2593 427 9 1 1 day2 USDГотов сделать
=- =- = -=- =- =- =- = -= -=- = -= -=- =- =- =- =- =- =- =- =- = -=- =- =- =- =- =- =- =- = -= -=- = -
-
456 31 1 Здравствуйте, сделаю все качественно и быстро. Опыт в веб-разработке около 4х лет.
-
182 Доброго дня.
Тут більше треба вникати в суть завдання ніж писати код.
Тому для виконання було б добре поговорити по Скайп.
В цілому, завдання не здається надто важким.
З радістю допоможу вирішити це завдання.
-
1 day2 USD
377 5 0 1 day2 USDЗдравствуйте!
Готов выполнить ваш заказ. Приступлю в любой момент.
Жду вашего сообщения.
Current freelance projects in the category Javascript and Typescript
Optimization of WordPress site speed
113 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 14 hours 18 minutes back ∙ 43 proposals |
Integration of a service cost calculator on the Webflow site
330 USD
We are looking for a developer to integrate a ready-made service cost calculator into our website, created on Webflow. About the company We are engaged in: furniture assembly; TV mounting; mounting shelves, pictures, mirrors, and other items; moving help; heavy lifting; handyman… Javascript and Typescript, Web Programming ∙ 15 hours 18 minutes back ∙ 43 proposals |
I am looking for an experienced Full Stack developer to create a SaaS service for online stores.Service idea: The client uploads a link to their product feed (XML or CSV). The service automatically retrieves the products, takes their photos, and creates new advertising images based on ready-made templates: price, discount, logo, promotional tags, etc. There should also be… Javascript and Typescript, Web Programming ∙ 3 days 21 hours back ∙ 86 proposals |
Development of a WebGL/Three.js scene with generation and export of 3D (snapshot) from an animated shaderObject Description:The project is a designer table shaped like a realistic, deep whirlpool (a central vortex that smoothly transitions from a wide horizontal tabletop to a thin elegant leg). Task Essence:A WebGL / Creative Coding developer is required to create an interactive 3D… Javascript and Typescript, Web Programming ∙ 4 days 18 hours back ∙ 30 proposals |
Support and development of the cleaning company's website
20 USD
I'm looking for a web developer/webmaster for long-term support and development of a cleaning company's website. Website: https://donely.ca About the project DoneLy Home Services is a cleaning service company in Canada that is actively growing and expanding its geographical… Javascript and Typescript, Web Programming ∙ 6 days 20 hours back ∙ 64 proposals |