cancel
Showing results for 
Search instead for 
Did you mean: 

Tool Tip in multiple lines

Former Member
0 Kudos

Hi

How can we wrap tool tip in multiple lines ??

Thanks

Monika

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Monika,

Tooltip is browser specific. It work in IE may it will have some problem in firefox browsers.

Create a context attribute for tooltip, set its value in your code and separate the linesby \n.

wdContext.currentContextElement().setValatt("Tooltip 1""\n "Tooltip Line 2");

Hope this helps you.

Regards,

Saleem Mohammad

Former Member
0 Kudos

Hi Saleem

Thanks for the quick reply.but i have already tried this..\n is not working for tool tip.

Monika

vijay_kumar49
Active Contributor
0 Kudos

Hi,

How to create multiple lines by using the

<BR>tag 

. Please check it like that.

wdContext.currentContextElement().setValatt("This is the first line<br>This is the second line");

Hope this helps!!

Thanks & Regards

Vijay

Edited by: VijaySAPEP on Aug 18, 2011 6:15 PM