You can specify the tip's maxWidth value.
This option will be applied if tip's width was "auto".
This is useful when the tip contains long text.
Tip's width cannot be wider than the value specified here.
Specify pixel int value as "maxWidth".
Default value is "not specified".
new jqTooltip({
selector: "p.maxWidthTest1",
behavior: "chaseHover",
maxWidth: 300
});
right - maxWidth: 300
right - maxWidth: 300
new jqTooltip({
selector: "p.maxWidthTest2",
behavior: "chaseHover"
});
right - no maxWidth was specified (default)
right - no maxWidth was specified (default)
new jqTooltip({
selector: "p.maxWidthTest3",
behavior: "chaseHover",
maxWidth: 300,
tipPosition: "left"
});
left - maxWidth: 300
left -maxWidth: 300
new jqTooltip({
selector: "p.maxWidthTest4",
behavior: "chaseHover",
tipPosition: "left"
});
left - no maxWidth was specified (default)
left - no maxWidth was specified (default)