CN100468306C - Web page unit dissolving device and method - Google Patents

Web page unit dissolving device and method Download PDF

Info

Publication number
CN100468306C
CN100468306C CN 200610062708 CN200610062708A CN100468306C CN 100468306 C CN100468306 C CN 100468306C CN 200610062708 CN200610062708 CN 200610062708 CN 200610062708 A CN200610062708 A CN 200610062708A CN 100468306 C CN100468306 C CN 100468306C
Authority
CN
China
Prior art keywords
page
described
attribute modification
modification module
page unit
Prior art date
Application number
CN 200610062708
Other languages
Chinese (zh)
Other versions
CN101078966A (en
Inventor
林松涛
张贝楠
黄希彤
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN 200610062708 priority Critical patent/CN100468306C/en
Publication of CN101078966A publication Critical patent/CN101078966A/en
Application granted granted Critical
Publication of CN100468306C publication Critical patent/CN100468306C/en

Links

Abstract

The invention discloses a hit-and-miss device of net page element, which is characterized by the following: comprising attribute modifying module; modifying the displaying attribute to conceal when getting the request of the page rolling; modifying the displaying attribute of the page element to display when stopping roll. This invention also discloses a hit-and-miss method of net page element. This invention is convenient, which saves computer source of the users.

Description

A kind of Web page unit dissolving device and method

Technical field

The present invention relates to webpage control device and method, particularly a kind of Web page unit dissolving device and method.

Background technology

All be provided with page units such as page tool bar on many Webpages.Described page unit is meant on the webpage relatively independently a part of, as tool bar, suspension advertisement etc., page unit generally can arbitrarily insert and show identical expression effect on a plurality of Webpages, generally swim in the edge, upper and lower, left and right at the visual position of the page, the wherein integrated the most frequently used interactive function of a website can use these functions to make things convenient for the user fast on any page of this website.Above-mentionedly floatingly be meant that on the webpage certain technological means of use makes a certain partial fixing of Webpage be presented at the assigned address of page viewing area, the parts that in the time of page flip, suspend not can with the page stir and the shift position.

General website is adopted the suspension function of dual mode implementation tool bar and other page unit usually now.A kind of mode is: adopt the active script technology, recomputate the position of page unit and page unit is moved to correct position after the page rolls.Though the tool bar that this mode is made can insert very easily on the various pages and realize suspension effect, but the position of reorientating page unit that in page flip (such as user's roll mouse roller), need not stop with script, the actual effect that causes is that page unit is beated on the page apace, user's impression is felt bad very much on the one hand, to reorientate the calculated amount that page unit carries out very big for browser on the other hand, waste a lot of computer resources of user, caused the user's computer response slack-off.Also having a kind of mode is to adopt framework technology to fix.In this manner, whole website all needs to adopt general framework design, and each page has all been reserved the position of page unit.Though this mode can be avoided the problem that the page is beated and cpu (central processing unit) takies well, all need the page of show tools bar all will be designed with frame mode but cause whole website, can't optionally the tool bar parts be added on the page, the webpage of making is very dull.

Summary of the invention

The object of the present invention is to provide a kind of Web page unit dissolving device and method, make the user when using scroll bar or mouse to stir the page, page unit is hidden.

The technical solution adopted for the present invention to solve the technical problems is: a kind of Web page unit dissolving device, comprise: the attribute modification module, it is used for when obtaining the page and roll request being revised as the display properties of page unit hiding, and judge whether the described page stops to roll, after the page stops to roll, the display properties of described page unit is revised as demonstration.

Further, a kind of Web page unit dissolving device of the present invention also comprises position computation module, and it is used for calculating the display position of described page unit on the page after the page stops to roll, and result of calculation is sent to described attribute modification module; Accordingly, described attribute modification module also is used for the position attribution according to the described page unit of output modifications of described position computation module.

As an improvement of the present invention, a kind of Web page unit dissolving device of the present invention can also comprise timer, and it is used for starting according to the instruction of described attribute modification module, and is regularly finishing the back to described attribute modification module transmission end signal; Accordingly, described attribute modification module also is used for sending the timing setting instruction to described timer when obtaining page rolling request, set the timing of described timer and start timer, whether the described page of inquiry stops to roll after receiving the end signal of described timer, roll if stopped, then the display properties with described page unit is revised as demonstration, otherwise sends the timing setting instruction to described timer once more.

The present invention also provides a kind of hit-and-miss method of net page, may further comprise the steps: (a), the display properties with page unit when the attribute modification module obtains page rolling request is revised as hiding; (b), described attribute modification module judges whether page rolling finishes, if finish, and execution in step (c); (c), described attribute modification module is revised as demonstration with the display properties of described page unit.

Further, the step of a kind of hit-and-miss method of net page of the present invention (c) comprises step: (c1), described attribute modification module sends information to position computation module; (c2), described computing module calculates the display position of page unit on the page, and result of calculation is sent to described attribute modification module; (c3), described attribute modification module is according to the position attribution of the described page unit of output modifications of described computing module, and the display properties with described page unit is revised as demonstration simultaneously.

As an improvement of the inventive method, step (b) further comprises step: (b1), described attribute modification module sends the timing setting instruction to timer, sets the timing of described timer and starts timer; (b2), described timer picks up counting, and finishes the back to described attribute modification module transmission end signal at timing; (b3), described attribute modification module judges whether the described page stops to roll, if stopped rolling, and execution in step (c) then, otherwise execution in step (b1).

As another improvement of the inventive method, in the step (c), described attribute modification module is revised as the gradual change demonstration with the display properties of described page unit.

Further, in the step (b), judge that the method whether page stops to roll can be: described attribute modification module judges whether display module is called, if think that then the page has stopped rolling, otherwise think that the page still is in rolling condition.

Beneficial effect of the present invention is: 1. adopt the active script technology, can be according to product needed, and on the existing page, add page unit easily and do not destroy original page structure; 2. process hidden page parts that roll at the page have been avoided the page unit problem of beating, and improve user's the impression of browsing.3. adopt the timer timing, have only after the page stops to roll just to begin to reorientate page unit, can not waste the user's computer resource in a large number.

Description of drawings

Fig. 1 is the structural representation of a kind of Web page unit dissolving device of the present invention.

Fig. 2 is the process flow diagram of a kind of hit-and-miss method of net page of the present invention.

Embodiment

The present invention is further elaborated with specific embodiment with reference to the accompanying drawings below.

Among the present invention, the tool bar on the Webpage and other page unit all are to adopt the active script technology to realize the suspension function.

As shown in Figure 1, a kind of Web page unit dissolving device of the present invention comprises attribute modification module 1, position computation module 2 and timer 3.

Wherein, the function of attribute modification module 1 is that the display properties of page unit when obtaining page rolling request is revised as hiding (transparency that is about to page unit is set to 100), set the timing of timer 3 simultaneously and start timer 3, when finishing, timer 3 timing judge whether the page has stopped rolling, if stop, then notify position computation module 2 to begin to calculate the position that the current page parts should show on the viewing area, and the position attribution of the above-mentioned page unit of results modification that returns according to position computation module 2, the display properties with corresponding page unit is revised as demonstration simultaneously.

The function of position computation module 2 is to reorientate the position of corresponding page unit on the viewing area after the page stops to roll, and promptly page unit is with respect to the position coordinates of the current web page page, and result of calculation is sent to attribute modification module 1.

The function of timer 3 was the timed events that start a special time according to the instruction of attribute modification module 1, as regularly one second or two seconds.

In preferred embodiment of the present invention, attribute modification module 1 is revised as the gradual change demonstration with the display properties of page unit after the user stops scroll through pages, so that the appearance of page unit is not too lofty.In other embodiments of the invention, also timer 3 can be set.In other embodiments of the invention, the function of the function of described attribute modification module 1 and position computation module 2 can be realized by a module.

As shown in Figure 2, a kind of hit-and-miss method of net page of the present invention comprises step:

S1, user use scroll bar or mouse or keyboard to roll to browse Webpage, attribute modification module 1 to obtain the page request of rolling, and are revised as the display properties of page unit hiding.

S2, attribute modification module 1 sends the timing setting instruction to timer 3, sets the timing of timer 3 and starts timer 3.

S3, timer 3 picks up counting, and finishes the back to attribute modification module 1 transmission end signal at timing.

S4, attribute modification module 1 judges whether the corresponding page stops to roll, if stopped rolling, execution in step S5 then, otherwise execution in step S2.The method whether corresponding page of above-mentioned judgement stops to roll can be: judge whether display module is called, if think that then the page has stopped rolling, otherwise think that the page still is in rolling condition.

S5, attribute modification module 1 is to position computation module 2 transmission information, and notice position computation module 2 is reorientated page unit.

S6, computing module calculates the display position of page unit on the page, and result of calculation is sent to attribute modification module 1.

S7, attribute modification module 1 is according to the position attribution of the described page unit of output modifications of described computing module, and the display properties with page unit is revised as the gradual change demonstration simultaneously.

In other embodiments of the invention, among the above-mentioned steps S5, after attribute modified module 1 learns that the page has stopped rolling, can be when notice position computation module 2 is reorientated page unit the display properties of described page unit be revised as and shows or gradual change shows, because the calculating of position computation module 2 is very fast, therefore the user can't feel the reorientation (moving) that page unit occurred in the moment that shows.In other embodiments of the invention, the function of the function of described attribute modification module 1 and position computation module 2 can be realized by a module.

Like this, when the user brought into use scroll bar or mouse or keyboard rolling to browse Webpage, the page unit on the page will stash automatically, just shows after the page rolls end.Answer this, the problem that the present invention has avoided page unit to beat in the process that the page rolls has been improved user's the impression of browsing.Whether simultaneously, owing to set timer 3, have only when timer 3 regularly finishes back attribute modification module 1 and just can detect the page and roll and finish, have only when page rolling to be through with, position computation module 2 just can be reorientated the position of page unit.Therefore, can or not cause the user's computer response slack-off owing to frequently reorientating of page unit wasted the subscriber computer resource.In addition, because the present invention adopts the active script technology to realize the suspension function of page unit, so website design person can be according to product needed, easily interpolation page unit and do not destroy original page structure on the existing page.

The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (8)

1, a kind of Web page unit dissolving device is characterized in that, comprising:
The attribute modification module, it is used for when obtaining the page and roll request display properties with page unit and is revised as hidingly, and judges whether the described page stops to roll, and after the page stops to roll, the display properties of described page unit is revised as demonstration.
2, a kind of Web page unit dissolving device according to claim 1, it is characterized in that: also comprise position computation module, it is used for calculating the display position of described page unit on the page after the page stops to roll, and result of calculation is sent to described attribute modification module;
Described attribute modification module also is used for the position attribution according to the described page unit of output modifications of described position computation module.
3, a kind of Web page unit dissolving device according to claim 1 and 2 is characterized in that: also comprise timer, it is used for starting according to the instruction of described attribute modification module, and is regularly finishing the back to described attribute modification module transmission end signal;
Described attribute modification module also is used for sending the timing setting instruction to described timer when obtaining page rolling request, set the timing of described timer and start timer, whether the described page of inquiry stops to roll after receiving the end signal of described timer, roll if stopped, then the display properties with described page unit is revised as demonstration, otherwise sends the timing setting instruction to described timer once more.
4, a kind of hit-and-miss method of net page is characterized in that, may further comprise the steps:
Display properties with page unit when (a), the attribute modification module obtains page rolling request is revised as hiding;
(b), described attribute modification module judges whether page rolling finishes, if finish, and execution in step (c);
(c), described attribute modification module is revised as demonstration with the display properties of described page unit.
5, a kind of hit-and-miss method of net page according to claim 4 is characterized in that, step (c) further comprises step:
(c1), described attribute modification module sends information to position computation module;
(c2), described computing module calculates the display position of page unit on the page, and result of calculation is sent to described attribute modification module;
(c3), described attribute modification module is according to the position attribution of the described page unit of output modifications of described computing module, and the display properties with described page unit is revised as demonstration simultaneously.
6, according to claim 4 or 5 described a kind of hit-and-miss method of net page, it is characterized in that step (b) further comprises step:
(b1), described attribute modification module sends the timing setting instruction to timer, sets the timing of described timer and starts timer;
(b2), described timer picks up counting, and finishes the back to described attribute modification module transmission end signal at timing;
(b3), described attribute modification module judges whether the described page stops to roll, if stopped rolling, and execution in step (c) then, otherwise execution in step (b1).
7, a kind of hit-and-miss method of net page according to claim 6 is characterized in that: in the step (c), described attribute modification module is revised as the gradual change demonstration with the display properties of described page unit.
8, a kind of hit-and-miss method of net page according to claim 6 is characterized in that, in the step (b), judges that the method whether page stops to roll is:
Described attribute modification module judges whether display module is called, if think that then the page has stopped rolling, otherwise think that the page still is in rolling condition.
CN 200610062708 2006-09-20 2006-09-20 Web page unit dissolving device and method CN100468306C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610062708 CN100468306C (en) 2006-09-20 2006-09-20 Web page unit dissolving device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610062708 CN100468306C (en) 2006-09-20 2006-09-20 Web page unit dissolving device and method

Publications (2)

Publication Number Publication Date
CN101078966A CN101078966A (en) 2007-11-28
CN100468306C true CN100468306C (en) 2009-03-11

Family

ID=38906458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610062708 CN100468306C (en) 2006-09-20 2006-09-20 Web page unit dissolving device and method

Country Status (1)

Country Link
CN (1) CN100468306C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227468A1 (en) * 2012-02-23 2013-08-29 Kun-Da Wu Portable device and webpage browsing method thereof
AU2012374031B2 (en) * 2012-03-20 2015-08-27 Radial, Inc. Information and action bar for a user interface
CN103019606B (en) * 2012-12-26 2015-11-25 北京百度网讯科技有限公司 The Web page management method of mobile terminal, device and mobile terminal
CN103092977A (en) * 2013-01-30 2013-05-08 广东欧珀移动通信有限公司 Web page browsing method of mobile terminal and mobile terminal
CN104238904B (en) * 2013-06-17 2019-08-06 中兴通讯股份有限公司 A kind of method and mobile terminal of display interface sliding
CN104123070B (en) * 2014-06-16 2019-01-15 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105447041A (en) * 2014-09-02 2016-03-30 阿里巴巴集团控股有限公司 Webpage processing method and device
CN105512124B (en) * 2014-09-23 2019-09-17 腾讯科技(深圳)有限公司 The method and apparatus that text editor suspends are realized in webpage
CN106547454A (en) * 2015-09-16 2017-03-29 阿里巴巴集团控股有限公司 Display packing and device
CN105677314B (en) * 2015-12-24 2019-06-21 小米科技有限责任公司 Processing method, device and the equipment of rolling event
CN106648585A (en) * 2016-09-22 2017-05-10 北京小米移动软件有限公司 Method and apparatus for setting transparency of DOM element of webpage

Also Published As

Publication number Publication date
CN101078966A (en) 2007-11-28

Similar Documents

Publication Publication Date Title
US20180024719A1 (en) User interface systems and methods for manipulating and viewing digital documents
US9766771B2 (en) Display of a graphical user interface based on a detected value
US9532116B2 (en) Interactive video advertisement in a mobile browser
US8429521B2 (en) Scrolling in large hosted data set
CN104106033B (en) The thumbnail image selection of application
US8255809B2 (en) Webtop: multiple applet delivery within a fixed-sized viewing space
US6957392B2 (en) Interface engine providing a continuous user interface
AU2008245419B2 (en) Hiding portions of display content
US7844917B2 (en) Optimal display of multiple windows within a computer display
US8555193B2 (en) System for intelligent automated layout and management of interactive windows
JP3646582B2 (en) Electronic information display method, electronic information browsing apparatus, and electronic information browsing program storage medium
US8560946B2 (en) Timeline visualizations linked with other visualizations of data in a thin client
US10026103B2 (en) Time-triggered advertisement replacement
US8806325B2 (en) Mode identification for selective document content presentation
RU2413276C2 (en) System and method for selecting tabs within tabbed browser
US8443277B2 (en) Digital content enhancement platform
US10056113B2 (en) Video processing method and associated electronic device
Panozzo Two-dimensional analysis of shape-fabric using projections of digitized lines in a plane
CN102662566B (en) Screen content amplification display method and terminal
Yu et al. A novel multimodal interface for improving visually impaired people’s web accessibility
Jaimes et al. Guest Editors' Introduction: Human-Centered Computing--Toward a Human Revolution
CN101515227B (en) Window management method and computer
US20100185948A1 (en) User interface systems and methods for manipulating and viewing digital documents
TWI502403B (en) Flexible display and controlling method therefor
KR20090045301A (en) Systems and methods for product attribute analysis and product recommendation

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model