Hi guys,

I'm quite new to JQuery and JavaScript. An old website used to display
many columns with date infos in the middle of a table. When too many
dates are rendered, last part of the table can't be seen without
scrolling horizontally which is not so nice. To avoid this, we wish to
use the JQuery tooltip plugin. We want only a certain number of dates
to be rendered in the table, such as 3 elements (tuples of start / end
dates in fact), and add an icon after these dates with a tooltip
showing all dates on mouse over.

My problem is I don't want to show all these dates on a single line,
but rather print a Title, and one pair of start/end dates per line in
the tooltip body. But how ?

The solution I see from now, without having put hands in code deeply,
would be to define the tooltip's width so that a new line is forced
where I want, but it doesn't sounds to be a good solution. Beeing able
to put HTML code like <BR> or something directly in the 'title' field
used to create the tooltip would suit me, but I think it would be
syntaxically wrong.

Perhaps can you guys propose me a good solution ?

Thank you,
Fred.

Reply via email to