Problem with Notification Box

  1. #1

    Problem with Notification Box

    Dears,

    I'm using the following JavaScript code to create Notification Box:
                Ext.net.Notification.show(
                {
                    id: "MsgingCenter",
                    contentEl: 'MsgCenter',
                    closable: true,
                    showFx: {
                        args   : [ 't', {} ],
                        fxName : 'slideIn'
                    },
                    hideFx: {
                        args: ['t', {}],
                        fxName: 'ghost'
                    },
                    closeVisible: true,
                    pinned: true,
                    header: false,
                    width: 500,
                    height: 50,
                    alignToCfg:
                    {
                        offset: [-300, -20],
                        position: 'br-br',
                        el: Ext.net.getEl('ToolsPnl')
                    }
                });
    Also, contentEl defined in aspx page as:
        <div id="MsgCenter" class="x-hide-offsets">
            <ext:Panel ID="Panel3" runat="server" Border="false"  BaseCls="x-plain">
                <Items>
                    <ext:Image runat="server" ImageUrl="../../../NewStyle/FullScreen/Images/Msg.png"></ext:Image>
                </Items>
            </ext:Panel>
        </div>

    Problems I'm facing are:

    1. I want to show the Notification Box in the middle of ToolsPnl panel noting that panel width vary from one screen to other, and the height is fixed.
    2. The Notification Box defined above has no header plus no exit botton, but when you click by mouse in any position on the screen it get hided except the Box itself, what wrong I'm doing?
    3. I want to make custom Notification Box, which can be closed by clicking on image inside it (Close Image Fit in Somehow), how to perform this?

    Refer to image attached.
    Need your support and help.

    Regards,
    Alaswad
    Attached Thumbnails Click image for larger version. 

Name:	Msg.png 
Views:	17 
Size:	1.8 KB 
ID:	6160  
  2. #2
    Any Updates?

Similar Threads

  1. [CLOSED] Ext.net.Notification
    By supera in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 20, 2013, 12:27 PM
  2. Problem with notification
    By feanor91 in forum Open Discussions
    Replies: 5
    Last Post: Sep 05, 2012, 2:03 PM
  3. [CLOSED] [1.0] Notification with shadow causes rendering problem
    By anup in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Apr 29, 2011, 4:55 PM
  4. [CLOSED] Notification from modal window problem
    By xeo4.it in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 27, 2011, 6:53 AM
  5. Ext:notification
    By vali1993 in forum 1.x Help
    Replies: 0
    Last Post: Mar 16, 2010, 10:40 AM

Posting Permissions