on 07-10-2006 2:18 PM
Hi,
Is it possible to extend the tooltip over multiple lines.
At present, the whole text is showed in a single line.
Regards
MK
Currently, tooltips are rendered using the browser's standard mechanism. Try to insert "\n" inside the text, this might work in some browsers.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create a context attribute for tooltip say tooltip
set its value in your code say
wdContext.currentContextElement().setToolTip("Tooltip Line1""\n""Tooltip Line 2");
This works in IE6.
Regards,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Appending a "\n" to the string in order to get a new line works well with IE but not with Firefox. With Firefox, it ignores the "\n" character.
Anyone has any idea about something that would work for both Firefox and IE.
Also any idea on how can I format text in a tooltip like marking some of the text in BOLD, Italic etc.
Thanks
Amit Kapoor
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.