mattn
13 Jun 2007, 4:04 AM
Hello,
I try to place an image next to the label of a form element that displays a help text when you move over the image.
If I am not mistaking this could be done with the tooltip.
The problem is that it does not work
I use the
Ext.QuickTips.init(); at the start of my form
this is the code for my form element
fs.add(
new Ext.form.TextArea({
fieldLabel: 'The label with help<a href="#" ext:qtip="tooltip comes here"><img src="img/help.jpg" width="12" heigth="12" ></a>',
name: 'lo',
grow: true,
preventScrollbars:true,
value: ''
})
);
Does anybody know a solution or a beter way to achieve the same result?
I try to place an image next to the label of a form element that displays a help text when you move over the image.
If I am not mistaking this could be done with the tooltip.
The problem is that it does not work
I use the
Ext.QuickTips.init(); at the start of my form
this is the code for my form element
fs.add(
new Ext.form.TextArea({
fieldLabel: 'The label with help<a href="#" ext:qtip="tooltip comes here"><img src="img/help.jpg" width="12" heigth="12" ></a>',
name: 'lo',
grow: true,
preventScrollbars:true,
value: ''
})
);
Does anybody know a solution or a beter way to achieve the same result?