Article information
Article relates to
RadNotification for ASP.NET AJAX
Created by
Marin Bratanov, Telerik
Created on
7th of October, 2011
if
(!modalDiv)
{
modalDiv = document.createElement(
"div"
);
modalDiv.style.width =
"100%"
;
modalDiv.style.height =
modalDiv.style.backgroundColor =
"#aaaaaa"
modalDiv.style.position =
"absolute"
modalDiv.style.left =
"0px"
modalDiv.style.top =
modalDiv.style.filter =
"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50)"
modalDiv.style.opacity =
".5"
modalDiv.style.MozOpacity =
modalDiv.setAttribute(
"unselectable"
,
"on"
modalDiv.style.zIndex = (sender.get_zIndex() - 1).toString();
document.body.appendChild(modalDiv);
}
Resources Buy Try