Apr 15, 2013, 2:34 PM
[CLOSED] Notification and close icon
Hello
I tried to experiment a little here, but no success, the problem is that close icon does not appear initially
(it appears once I click the title of notification)
I tried to experiment a little here, but no success, the problem is that close icon does not appear initially
(it appears once I click the title of notification)
<script>
function showNotification() {
Ext.net.Notification.show({
width: 200,
autoHeight: true,
hideDelay: 40000,
hideFx: {
args: ['t', { }],
fxName: 'ghost'
},
showFx: {
args: ['t', {}],
fxName: 'slideIn'
},
iconCls: 'icon-information',
pinEvent: 'click',
html: 'test content',
title: 'title',
autoScroll: true,
scope: this
});
}
</script>
<ext:Button runat="server" Text="Click me">
<Listeners>
<Click Handler="showNotification()"></Click>
</Listeners>
</ext:Button>
I spot there is some "class hack" that was used in previous versions, but so far it displays close icon on the left hand side of title.
Last edited by Daniil; Apr 18, 2013 at 4:02 AM.
Reason: [CLOSED]