Instant messaging client and its embedded web pages realize drag-and-drop method
A technology that embeds web pages and clients. It is applied in the computer field and can solve the problems of not supporting user drag and drop, lack of custom formats, and inability of JS scripts to operate data.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] Such as figure 1 As shown, a method for implementing drag-and-drop of an instant messaging client embedded web page, the specific process of the method is as follows:
[0026] Step S10, acquiring the data type of the dragged data when the data is dragged to the embedded web page. In this embodiment, the user uses the mouse to drag and drop the contents of other editing areas to the embedded web page of the instant messaging client, and the data types that can support drag and drop include text format, image format, html hypertext format, and the like.
[0027] Step S20, judging whether a release event is detected, if yes, execute step S30, otherwise end. In one embodiment, before judging whether a release event is detected, it is necessary to judge whether the data type of the obtained drag data is a preset data type that supports drag and drop. The data types that can support drag and drop include text format, image format, html Hypertext format and other custom form...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 