• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard.php
  • Класс: CWizardTemplate
  • Вызов: CWizardTemplate::CWaitWindow
function CWaitWindow()
{
this.Show = function()
{
	try
	{
		var oDiv = document.createElement("DIV");
		oDiv.id = "__bx_wait_window";
		oDiv.style.width = "170px";
		oDiv.style.border = "1px solid #EACB6B";
		oDiv.style.textAlign = "center";
		oDiv.style.backgroundColor = "#FCF7D1";
		oDiv.style.position = "relative";
		oDiv.style.padding = "10px";
		oDiv.style.backgroundImage = "url({$BX_ROOT}/themes/.default/images/wait.gif)";
		oDiv.style.backgroundPosition = "10px center";
		oDiv.style.backgroundRepeat = "no-repeat";
		oDiv.style.left = "35%";
		oDiv.style.top = "50%";
		oDiv.style.zIndex = "3000";
		oDiv.innerHTML = "{$loadingText}";
		document.getElementById("wizard-content-area").appendChild(oDiv);
	}
	catch(e){}
}

this.Hide = function()
{
	try
	{
		var oDiv = document.getElementById("__bx_wait_window");
		oDiv.parentNode.removeChild(oDiv);
		oDiv = null;
	}catch(e){}
}
}