Input Floating Hint Box

联合创作 · 2023-10-02 14:20

Provide an automatic box hint in the right side of an input, hint box appear when focus on that input, and disappear when focus go to another element (blur).

The source(@source) of the text can be an attribute (title for example), or a pure html.
Attribute can contain escaped html, example: title="This will be <b>Bold</b>"

All hints can use one div element(@div option) with your custom design, also if need, you can make only one subelement(@div_sub) of @div context to change (in case you don't want the plugin to overwrite everything inside the @div element).

You can provide only the @className, and for each input a separate <div> element will be created automatically with @className as class.

If user click on the box to select some text (for copy/paste for example), box will not disappear.

If you need to make the box appear in more left, use incrementLeft, same for top - incrementTop, you can use - sign if you want to decrement.

浏览 2
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报