CN105718451A - Method for sharing pop-up modules by plurality of pages of browser - Google Patents
Method for sharing pop-up modules by plurality of pages of browser Download PDFInfo
- Publication number
- CN105718451A CN105718451A CN201410717438.1A CN201410717438A CN105718451A CN 105718451 A CN105718451 A CN 105718451A CN 201410717438 A CN201410717438 A CN 201410717438A CN 105718451 A CN105718451 A CN 105718451A
- Authority
- CN
- China
- Prior art keywords
- pop
- module
- browser
- page
- public
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method for sharing pop-up modules by a plurality of pages of a browser. The method comprises the following steps of entering a browser main interface; setting the head property of each page to be fixed; deleting tags and values of the pop-up modules of the head of each page; adding a public block element in front of a tag of the main interface; and writing the tags and the values of the pop-up modules into the block element. Compared with the prior art, the method has the advantages that the compiling of a great amount of repeated code by a programmer is not needed; the goal of public use by a plurality of pages in the browser after once completing of a pop-up module list in the whole main interface can be achieved; the work efficiency of the programmer and the code execution efficiency are improved; and the page loading speed is also accelerated.
Description
Technical field
The present invention relates to a kind of page configuration method, the especially method of the public pop-up module of the page.
Background technology
Along with the development of mobile platform, all of main flow mobile browser provides a kind of unified health check-up, and pop-up module is commonly used in show tooltips, is kind of indispensable description and explanation mechanism for user.
At present, including multiple page on the main interface of browser, the style of each page is unified and comprises head, and the position of head is fixing, has pop-up module list in the head of each page.Thus, when developing this browser, need that in same interface, the head of each page repeats always to write pop-up module list, the method adds written in code amount as seen, and, open a page it is necessary to download a pop-up module list, have impact on the loading velocity of the page, add workload also to follow-up change simultaneously.
Summary of the invention
The present invention need to solve the technical problem that a kind of method being to provide browser public pop-up module of multiple page improving page loading efficiency and lifting programmer's work efficiency.
For solving above-mentioned technical problem, the method devising a kind of browser public pop-up module of multiple page, it comprises the following steps:
Step 1: entering the main interface of browser, the head attribute arranging each page is fixing;
Step 2: delete label and the value of the pop-up module of each page head;
Step 3: add a public block element before the label at main interface;
Step 4: the label of pop-up module and value are all write in described piece of element.
Improving further as the present invention, described browser is cell phone browser.
Improve further as the present invention, the head of each page is fixed on top.
Improve further as the present invention, adding layers stacking style table in described piece of element, pop-up module is set in described CSS.
Improving further as the present invention, described pop-up module includes returning pop-up module, module of logging off and amendment subscriber data module.
Improve further as the present invention, described piece of element is fixed on some position at main interface.
Compared with prior art, the present invention does not need programmer to write substantial amounts of repeatability code again, only need to write a pop-up module list in whole main interface to realize the problem that in browser, multiple pages are public, improve the execution efficiency of programmer's work efficiency and code, and also accelerate the loading speed of the page.
Detailed description of the invention
In order to make relevant technical staff in the field be more fully understood that technical scheme, below in conjunction with embodiment, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.
The method embodiments providing a kind of browser public pop-up module of multiple page, is applied to cell phone client platform, but is not limited to cell phone client platform.
The method of the public pop-up module of the multiple page of browser of the present invention, comprises the following steps:
Step 1: entering the main interface of browser, the head attribute arranging each page is fixing, is fixed on top, i.e. top set all the time.At the present embodiment, browser is cell phone browser,
Step 2: delete label and the value of the pop-up module of each page head, such pop-up module does not just load on each page head.
Step 3: adding a public block element before the label at main interface, described piece of element is that each page is public.
Step 4: the label of pop-up module and value are all write described piece of element, it is achieved each pop-up module is all displays in public block element all the time, and it is public that each pop-up module is each page.In the present embodiment, adding layers stacking style table in described piece of element, pop-up module is set in described CSS.Described pop-up module includes returning pop-up module, module of logging off and amendment subscriber data module, is respectively written into returning pop-up module, module of logging off and amendment subscriber data module in the table 1 of CSS, table 2 and table 3.
More optimizedly, described piece of element is fixed on some position at main interface, arrange above its distance main interface of browser and the distance on the right side, so, in any case at each page of main changing interface of browser, all in public block element, show pop-up module all the time, in any case the contents value of scroll through pages, block element position is constant all the time, is permanently affixed to the upper right corner
The present invention only need to write a pop-up module list to realize the problem that in browser, multiple pages are public in whole main interface, improves the execution efficiency of programmer's work efficiency and code, and also accelerates the loading speed of the page.
Below only have expressed one embodiment of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (6)
1. the method for the browser public pop-up module of multiple page, it is characterised in that comprise the following steps:
Step 1: entering the main interface of browser, the head attribute arranging each page is fixing;
Step 2: delete label and the value of the pop-up module of each page head;
Step 3: add a public block element before the label at main interface;
Step 4: the label of pop-up module and value are all write in described piece of element.
2. the method for the public pop-up module of the multiple page of browser according to claim 1, it is characterised in that described browser is cell phone browser.
3. the method for the public pop-up module of the multiple page of browser according to claim 1, it is characterised in that the head of each page is fixed on top.
4. the method for the public pop-up module of the multiple page of browser according to claim 1, it is characterised in that adding layers stacking style table in described piece of element, is set in the label of pop-up module and value in described CSS.
5. the method for the public pop-up module of the multiple page of browser according to claim 1, it is characterised in that described pop-up module includes returning pop-up module, module of logging off and amendment subscriber data module.
6. the method for the public pop-up module of the multiple page of browser according to claim 4, it is characterised in that described piece of element is fixed on some position at main interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410717438.1A CN105718451A (en) | 2014-12-01 | 2014-12-01 | Method for sharing pop-up modules by plurality of pages of browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410717438.1A CN105718451A (en) | 2014-12-01 | 2014-12-01 | Method for sharing pop-up modules by plurality of pages of browser |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105718451A true CN105718451A (en) | 2016-06-29 |
Family
ID=56145383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410717438.1A Pending CN105718451A (en) | 2014-12-01 | 2014-12-01 | Method for sharing pop-up modules by plurality of pages of browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105718451A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061415A (en) * | 2019-12-09 | 2020-04-24 | 海南车智易通信息技术有限公司 | Page processing method and computing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102194003A (en) * | 2011-05-26 | 2011-09-21 | 重庆猪八戒网络有限公司 | Web page popup window method and device |
US20120254714A1 (en) * | 2011-03-31 | 2012-10-04 | Accenture Global Serives Limited | Form layout method and system |
CN103544176A (en) * | 2012-07-13 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Method and device for generating page structure template corresponding to multiple pages |
-
2014
- 2014-12-01 CN CN201410717438.1A patent/CN105718451A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254714A1 (en) * | 2011-03-31 | 2012-10-04 | Accenture Global Serives Limited | Form layout method and system |
CN102194003A (en) * | 2011-05-26 | 2011-09-21 | 重庆猪八戒网络有限公司 | Web page popup window method and device |
CN103544176A (en) * | 2012-07-13 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Method and device for generating page structure template corresponding to multiple pages |
Non-Patent Citations (3)
Title |
---|
椒盐侠: "CSS层叠样式表(基础篇)", 《百度文库》 * |
程琪,张白桦: "《ASP.NET动态网站开发项目化教程 第2版》", 31 August 2012 * |
贺_贺: "纯CSS实现弹出层", 《百度文库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061415A (en) * | 2019-12-09 | 2020-04-24 | 海南车智易通信息技术有限公司 | Page processing method and computing device |
CN111061415B (en) * | 2019-12-09 | 2021-07-09 | 海南车智易通信息技术有限公司 | Page processing method and computing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9684646B2 (en) | Reference representation and transformation in collaborative documents | |
US20170116474A1 (en) | Enhanced Interpretation of Character Arrangements | |
US11893337B2 (en) | Method and apparatus for browsing information | |
ATE444528T1 (en) | MIGRATING DATA EXPOSED TO ACCESS THROUGH INPUT/OUTPUT DEVICES | |
CN106095261A (en) | A kind of method and apparatus adding notes on an electronic device | |
CN108491326A (en) | Behavioral test recombination method, device and storage medium | |
US20170336963A1 (en) | Touch screen device capable of executing event based on gesture combination and operating method thereof | |
CN103577477A (en) | Method and system for displaying browsing history of browser | |
CN102567452A (en) | Endorsement information processing method and device utilizing same | |
CN114996619A (en) | Page display method and device, computer equipment and storage medium | |
US10235351B2 (en) | Electronic document editing apparatus capable of inserting memo into paragraph, and operating method thereof | |
CN103294389A (en) | Apparatus and method of handing a touch input in a terminal | |
CN105718451A (en) | Method for sharing pop-up modules by plurality of pages of browser | |
US20180101287A1 (en) | Display for input selection on a compact information processing device | |
CN104216635B (en) | The acquisition methods of upper screen information and device | |
CN105243020A (en) | Automatic test method applicable for global distributed real-time database | |
CN104408023B (en) | Method and indicia calculator that a kind of index is calculated | |
CN107491546A (en) | A kind of page beautification method, device, electronic equipment and storage medium | |
CN108228708B (en) | Big data ETL system and scheduling method thereof | |
CN105938431A (en) | Web page developing method and device | |
US11886683B1 (en) | Digital processing systems and methods for presenting board graphics | |
US11573687B2 (en) | Screenshot method and apparatus for information interaction interface, computing device and storage medium | |
US20140181729A1 (en) | Electronic device and method for editing windows | |
CN101196880A (en) | Instantaneous translation system and method | |
CN115906785A (en) | Table labeling method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160629 |
|
RJ01 | Rejection of invention patent application after publication |