开发者

Prototype Tooltip - controlling "orientation"

开发者 https://www.devze.com 2023-02-18 23:07 出处:网络
As you can se开发者_StackOverflowe in this screenshot, the way the tooltip displays it is cut off by the viewport.If I can force the tooltip to display upwards, as opposed to downwards, then it wouldn

As you can se开发者_StackOverflowe in this screenshot, the way the tooltip displays it is cut off by the viewport. If I can force the tooltip to display upwards, as opposed to downwards, then it wouldn't but cut off.

Any ideas on how I can display this in a more user-friendly way?

Prototype Tooltip - controlling "orientation"


If you're using prototip then you can hook it to your mouse and it will stay in the viewport. Also, (and I haven't tried this but the docs seem to indicate it), setting viewport=true without hooking will keep it in the viewport as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消