Выгрузить модули

This commit is contained in:
2019-10-16 14:43:38 +03:00
parent 0fc9d3020e
commit 0bb9e77495
9 changed files with 911 additions and 77 deletions

View File

@@ -0,0 +1,18 @@
муром.создатьЛевуюПравуюОбласти = function()
{
// Левая область.
var ло = document.createElement("div");
ло.id="левая-область";
ло.style.cssText =
"position: fixed; left: 0; top: 0; bottom: 0; width: 50%;";
document.body.appendChild(ло);
// Правая область.
var по = document.createElement("div");
по.id="правая-область";
по.style.cssText =
"position: fixed; right: 0; top: 0; bottom: 0; width: 50%;";
document.body.appendChild(по);
return [ло, по];
};