Feb 07, 2013, 1:52 AM
[CLOSED] Change in LoadMask appearance
Hi,
I am trying to simulate the mask used in the site: http://onlinehelp.nexiant.com/#home. I tried using Ext.LoadMask() but could not do that perfect. Could you please provide me the sample code which simulate?
My Code is as given below:
I am trying to simulate the mask used in the site: http://onlinehelp.nexiant.com/#home. I tried using Ext.LoadMask() but could not do that perfect. Could you please provide me the sample code which simulate?
My Code is as given below:
<html>
<head id="Head1" runat="server">
<title>Testing</title>
<style type="text/css">
.x-mask-loading3 div {
padding:5px 10px 5px 50px;
background:no-repeat 5px 5px;
background-image:url(../../Content/image/loading32.gif);
line-height:30px;
font-size: medium;
}
</style>
<script language="javascript" type="text/javascript" >
var ShowMask = function (IndexPageViewPort) {
var mask = new Ext.LoadMask(IndexPageViewPort.el, { msg: "Loading...", el: IndexPageViewPort.el, msgCls: "ext-el-mask-msg x-mask-loading3" });
mask.show();
}
</script>
</head>
<body>
<div>
<ext:ResourceManager ID="a" runat="server" />
<ext:Viewport ID="viewPort123" runat="server" >
<Content>
<ext:Label Text="Testing Mask" />
</Content>
<Listeners>
<BeforeRender Handler="ShowMask(#{viewPort123});" />
</Listeners>
</ext:Viewport>
</div>
</body>
</html>
Last edited by Daniil; Feb 12, 2013 at 5:25 AM.
Reason: [CLOSED]