Reusable virtual keyboard implementation method based on JavaScript and an application thereof

A technology of a virtual keyboard and an implementation method, which is applied in the Internet field, can solve problems affecting user experience, inconvenient use of an external physical keyboard, etc., and achieve the effects of low modification difficulty, low development cost, and good compatibility

Pending Publication Date: 2021-06-18
WUHAN HONGXIN TECH SERVICE CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are some problems in the above two solutions: In actual situations, some applications are inconvenient to use an external physical keyboard due to space constraints or other reasons; and the user is informed to manually call out the system through training or documentation. The soft keyboard greatly affects the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Reusable virtual keyboard implementation method based on JavaScript and an application thereof
  • Reusable virtual keyboard implementation method based on JavaScript and an application thereof
  • Reusable virtual keyboard implementation method based on JavaScript and an application thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0039] A JavaScript-based reusable virtual keyboard implementation method in the embodiment of the present invention uses the jQuery framework to add a virtual keyboard function object (virtualkeyboard) in the prototype of jQuery, coordinates the css style file, draws the keyboard, and uses jQuery to provide hide , show, click, val and other methods to achieve keyboard input effects.

[0040] A...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a reusable virtual keyboard implementation method based on JavaScript and an application thereof. The method comprises the following steps: S1, compiling a virtual keyboard JS file and a virtual keyboard CSS file; s2, introducing the JS file and the jQuery library of the virtual keyboard into a project of a to-be-realized virtual keyboard function through a Script tag, and introducing the CSS file of the virtual keyboard through a link tag; and S3, binding a method for calling the virtual keyboard for the input box element in the item of the to-be-realized virtual keyboard function. According to the method, the virtual keyboard can be awakened by clicking the input box by utilizing the traditional front-end technology, and the method has the advantages of low development cost, good compatibility, easiness in transplantation, more functions and individuation.

Description

technical field [0001] The invention belongs to the technical field of the Internet, and more specifically relates to a method for realizing a reusable virtual keyboard based on JavaScript and an application thereof. Background technique [0002] In some web applications of touch-screen computers, when information is entered, the Windows soft keyboard cannot be automatically awakened. There are generally two existing solutions: one is an external physical keyboard; Train users before use, or write an instruction document to tell users how to manually call up the system soft keyboard. However, there are some problems in the above two solutions: In actual situations, some applications are inconvenient to use an external physical keyboard due to space constraints or other reasons; and the user is informed to manually call out the system through training or documentation. The soft keyboard greatly affects the user experience. Contents of the invention [0003] Aiming at at l...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38G06F3/02
CPCG06F3/0219G06F8/38
Inventor 曹一康钟卫为黄晓艳
Owner WUHAN HONGXIN TECH SERVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products