javascript - qTip2: how to make a tooltip move to left when a link is close to the right side of the browser? -
i using qtip 2.0.1 displaying tooltips.
i make tooltip show in bottom right of link. issue when link close right side of browser, tooltip box looks squeezed , ugly.
can configure qtip make auto-adjust tooltip position bottom-left?
you can use collision detection demonstrated on demo:
position: { at: $('#at').val(), my: $('#my').val(), viewport: $(window), adjust: { method: [your method] } }, ...
Comments
Post a Comment