PHP Classes

File: docs/metrics/phpmetrics.html/js/functions.js

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   docs/metrics/phpmetrics.html/js/functions.js   Download  
File: docs/metrics/phpmetrics.html/js/functions.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 4 years ago
Size: 597 bytes


Class file image Download
function loadJSON(filename, callback) { var xobj = new XMLHttpRequest(); xobj.overrideMimeType("application/json");'GET', filename, true); xobj.onreadystatechange = function () { if (xobj.readyState == 4 && xobj.status == "200") { // Required use of an anonymous callback as .open will NOT return a value but simply returns undefined in asynchronous mode callback(xobj.responseText); } }; xobj.send(null); } function equalsHeightOf(node1, node2) { var w1 =; = w1 + 'px'; }