开发者

jQuery/javascript text selector similar to iphone

im looking for a javascript/jquery plugin that will allow a user to select a word on a web page which once selected allows the user to drag a handle left/right if they want to expand the number of words they have selec开发者_StackOverflow中文版ted. The iphone has exactly this when you double click on a word - does anyone know of such a tool?

Thanks in advance

Al


This is not possible because you need HTML rendering engine to handle text/element flow. That's why there is (miserable) selection API in HTML specs. I suggest rethinking your problem in a way that doesn't need such UI component.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜