Method and device for processing page element
A technology of page elements and processing devices, applied in the field of network applications, can solve problems such as reducing user experience and inability to fully personalize and customize content, and achieve the effect of improving experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] The browsers mentioned in the embodiment of the present invention can be various, such as Microsoft's Internet Explorer (IE for short), Mozilla Firefox, Google's Chrome, Opera, Apple's Safari, and the like.
[0064] Now, taking IE browser as an example, the specific processing method of the web page element provided by the embodiment of the present invention will be elaborated and illustrated in detail.
[0065] When the browser is an IE browser, the client where the browser is located sets the first interface IElementBehaviorFactory, the second interface IElementBehavior and the third interface IDocHostUIHandler in the WebBrowser plug-in, wherein the first interface and the second interface are used to call each DOM object processing processor, and the third interface is used to register each DOM object processor in the object processing registry.
[0066] For specific processing on a per page element basis, it may be necessary to implement
[0067] IElementBehavior (...
Embodiment 2
[0089] For the Textarea (text box) page unit, an input box for inputting a large amount of text in the web page is provided for the user, but in the current web page rendering mode, the user can only enter simple text in the textarea, but cannot enter text in a predetermined format, images etc. By providing customized rendering of the textarea at the browser, richer content can be entered in the textarea.
[0090] In this example, corresponding instructions are provided for the specific operation of the text box element.
[0091] 1. First, define the event, and customize the structure and logo of the browser in the GetHostInfo method of IDocHostUIHandler. Set a div layer on the text box element, and use the pCSSBuffer pointer scheduling to pull and execute operations involving the text box element on the div layer.
[0092] 2. In the FindBehavior method of IElementBehaviorFactory, return the implementation object CTextAreaElementBehavior of IElementBehavior, and save the IEl...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com