发明名称 |
METHOD AND DEVICE FOR RELOCATING INPUT BOX TO TARGET POSITION IN MOBILE TERMINAL BROWSER, AND STORAGE MEDIUM |
摘要 |
This disclosure discloses a method and a device for relocating an input box to a target position in a mobile terminal browser and a storage medium, and the method comprises: when a user clicks an input box in a browsed web page and an input method interface pops up, calculating a position of the input box relative to the input method interface and determining whether the input box is partially or completely covered by the input method interface; designating a target position of the input box according to a position of the input method interface, when the input box is partially or completely covered by the input method interface; and rendering the input box at the target position by scrolling the browsed web page and/or canvas. By the invention, when a user clicks an input box and an input method interface pops up, the input box can be relocated and displayed at a reasonable position and be completely visible to the user. |
申请公布号 |
US2015007018(A1) |
申请公布日期 |
2015.01.01 |
申请号 |
US201414323193 |
申请日期 |
2014.07.03 |
申请人 |
Tencent Technology (Shenzhen) Company Limited |
发明人 |
SHU Yuqiang;REN Libin |
分类号 |
G06F17/30;G06F3/0485;G06F3/0481 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for relocating an input box to a target position in a mobile terminal browser, comprising:
calculating, when an input box in a browsed web page is clicked and an input method interface pops up, a position of the input box relative to the input method interface and determining whether the input box is partially or completely covered by the input method interface; designating a target position of the input box according to a position of the input method interface, when the input box is partially or completely covered by the input method interface; and rendering the input box at the target position by scrolling the browsed web page and/or canvas. |
地址 |
Guangdong CN |