mdissel
2 Oct 2007, 3:39 AM
the dismissDelay property doesn't work if you use Ext.QuickTips.register.. It does work when you create a new Ext.ToolTip instance..
Ext.QuickTips.init();
new Ext.ToolTip({
target: 'tip1',
dismissDelay: 30000,
html: 'This is a test msg',
title: 'My Tip Title'
});
Ext.QuickTips.register({
target: 'tip3',
dismissDelay: 30000,
text: 'a nice tooltip with a long delay when the mouse is not moved',
});
(copy paste above code in examples\simple-widgets\qtips.js)
Thanks
Marco
Ext.QuickTips.init();
new Ext.ToolTip({
target: 'tip1',
dismissDelay: 30000,
html: 'This is a test msg',
title: 'My Tip Title'
});
Ext.QuickTips.register({
target: 'tip3',
dismissDelay: 30000,
text: 'a nice tooltip with a long delay when the mouse is not moved',
});
(copy paste above code in examples\simple-widgets\qtips.js)
Thanks
Marco