Method and device for displaying opening and closing effect on webpage based on CSS
A web page and switch technology, applied in the Internet field, can solve problems such as increased system resource consumption, single logic, and large maintenance costs, and achieve the effects of reducing script development processes, saving system resources, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Such as figure 2 , image 3 , Figure 4 As shown, Embodiment 1 of the present invention provides a method for displaying switch effects on a web page based on CSS, including:
[0066] Step 101, inserting a title and content associated with the title into the web page, and setting a selection button on the title through CSS; wherein, the title and the content associated with the title are arranged adjacently on the web page;
[0067] The invention is particularly suitable for mobile phone web pages, and the switch effect is displayed on the mobile phone web pages. The title mentioned in the present invention refers to the title containing expanded content, and the user hopes to obtain the expanded content contained under the title after selecting the title. The user can select the title by clicking the mouse or touching the screen. For a single title, only the title and the content associated with the title need to be inserted into the web page, and a selection butto...
Embodiment 2
[0086] Such as Figure 5 As shown, Embodiment 2 of the present invention provides a method for displaying switch effects on a web page based on CSS, including:
[0087] Step 201, inserting a question and an answer to the question in a web page, and setting radio buttons on the question through CSS. Wherein, each question and corresponding answer are arranged adjacently on the webpage.
[0088] The radio button is a control in HTML language; in order to facilitate users to view questions and improve user experience, the radio button is hidden on the webpage.
[0089] When multiple issues need to be displayed on the same web page at the same time, such as Figure 6 As shown, step 201 includes:
[0090] Step 2011, insert multiple questions and answers corresponding to the questions into the webpage.
[0091] Generally speaking, step 2011 is realized by using HTML language.
[0092] Step 2012, arranging the plurality of questions and the answers to each question in sequence; ...
Embodiment 3
[0107] Such as Figure 8 , Figure 9 As shown, Embodiment 3 of the present invention provides a method for displaying switch effects on a web page based on CSS, including:
[0108] Step 301 , inserting a question and an answer to the question in a web page, and setting radio buttons on the question through CSS. Wherein, each question and corresponding answer are arranged adjacently on the webpage.
[0109] The radio button is a control in HTML language; in order to facilitate users to view questions and improve user experience, the radio button is hidden on the webpage.
[0110] When multiple issues need to be displayed on the same web page at the same time, such as Figure 9 As shown, step 301 includes:
[0111] Step 3011, insert multiple questions and answers corresponding to the questions into the web page.
[0112] Generally speaking, step 3011 is realized by using HTML language.
[0113] Step 3012, arranging the plurality of questions and the answers to each question ...
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