Method for realizing webpage fading-in and fading-out in browser
A technology of fading in and fading out and implementing methods, applied in the field of web pages in browsers, and can solve problems such as calculation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
[0019] Depend on figure 1 Visible: the present invention is realized through the following steps:
[0020] Encode and set a unique identifier for the page elements (HTML DOM) that need to achieve fade-in and fade-out effects, and uniformly encode the page areas that need to achieve this effect into a DOM layer;
[0021] Determine the browser type of the end user, and respond to the corresponding user's mouse wheel event; the browser is IE or Safari or Firefox or Opera or Chrome; according to the different browser responses, the browser type of the response is obtained After that, encode the event of wheel scrolling differently;
[0022] React to the mouse wheel through JavaScript and event handlers: set the initial value variable (such as delta) and event variable (such as event) of the wheel, the sample code is as follows:
[0023] if(window...
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