Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/07/2021 in Posts

  1. Уху… запарился… просто писал находу из головы… Ща протестирую функцию и точно напишу вот в случае если бразуер на английском языке - редиректит на другую страничку <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <title>Документ без названия</title> <script type="text/javascript"> var lang; if (typeof navigator.userLanguage != 'undefined') {lang = navigator.userLanguage.toUpperCase() } else if (typeof navigator.language != 'undefined') {lang = navigator.language.toUpperCase() } alert(lang); if (lang=='EN'){location.href="en.html"}; </script> </head> <body> русский вариант </body> </html>
    1 point
This leaderboard is set to Kiev/GMT+02:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy