Apprendre à traduire à partir d'exemples de traductions humaines.
Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.
you can find a browscap.ini file at http://www.garykeith.com/browsers/downloads.asp.
Пред.
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
although, browsers are smart enough to detect character encoding in html. charset is better to be set in http header. change default_charset according to character encoding.
Пример 1. php.ini setting example
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
/* * returns a new xmlhttprequest object, or false if this browser * doesn't support it */ function newxmlhttprequest() { var xmlreq = false; if (window.xmlhttprequest) { // create xmlhttprequest object in non-microsoft browsers xmlreq = new xmlhttprequest(); } else if (window.activexobject) { // create xmlhttprequest via ms activex try { // try to create xmlhttprequest in later versions // of internet explorer xmlreq = new activexobject("msxml2.xmlhttp"); } catch (e1) { // failed to create required activexobject try { // try version supported by older versions // of internet explorer xmlreq = new activexobject("microsoft.xmlhttp"); } catch (e2) { // unable to create an xmlhttprequest with activex } } } return xmlreq; } /* * returns a new xmlhttprequest object, or false if this browser * doesn't support it */ function newxmlhttprequest() { var xmlreq = false; if (window.xmlhttprequest) { // create xmlhttprequest object in non-microsoft browsers xmlreq = new xmlhttprequest(); } else if (window.activexobject) { // create xmlhttprequest via ms activex try { // try to create xmlhttprequest in later versions // of internet explorer xmlreq = new activexobject("msxml2.xmlhttp"); } catch (e1) { // failed to create required activexobject try { // try version supported by older versions // of internet explorer xmlreq = new activexobject("microsoft.xmlhttp"); } catch (e2) { // unable to create an xmlhttprequest with activex } } } return xmlreq; }
/* * Возвращает новый xmlhttprequest объект или false, если браузер его не поддерживает */ function newxmlhttprequest() { var xmlreq = false; if (window.xmlhttprequest) { // Создадим xmlhttprequest объект для не-microsoft браузеров xmlreq = new xmlhttprequest(); } else if (window.activexobject) { // Создадим xmlhttprequest с помощью ms activex try { // Попробуем создать xmlhttprequest для поздних версий // internet explorer xmlreq = new activexobject("msxml2.xmlhttp"); } catch (e1) { // Не удалось создать требуемый activexobject try { // Пробуем вариант, который поддержат более старые версии // internet explorer xmlreq = new activexobject("microsoft.xmlhttp"); } catch (e2) { // Не в состоянии создать xmlhttprequest с помощью activex } } } return xmlreq; } /* * Возвращает новый xmlhttprequest объект или false, если браузер его не поддерживает */ function newxmlhttprequest() { var xmlreq = false; if (window.xmlhttprequest) { // Создадим xmlhttprequest объект для не-microsoft браузеров xmlreq = new xmlhttprequest(); } else if (window.activexobject) { // Создадим xmlhttprequest с помощью ms activex try { // Попробуем создать xmlhttprequest для поздних версий // internet explorer xmlreq = new activexobject("msxml2.xmlhttp"); } catch (e1) { // Не удалось создать требуемый activexobject try { // Пробуем вариант, который поддержат более старые версии // internet explorer xmlreq = new activexobject("microsoft.xmlhttp"); } catch (e2) { // Не в состоянии создать xmlhttprequest с помощью activex } } } return xmlreq; }
Dernière mise à jour : 2011-03-23
Fréquence d'utilisation : 1
Qualité :
Avertissement : un formatage HTML invisible est présent