CN102750269B - Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage - Google Patents

Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage Download PDF

Info

Publication number
CN102750269B
CN102750269B CN201210245134.0A CN201210245134A CN102750269B CN 102750269 B CN102750269 B CN 102750269B CN 201210245134 A CN201210245134 A CN 201210245134A CN 102750269 B CN102750269 B CN 102750269B
Authority
CN
China
Prior art keywords
bookmark
navigation
scroll bar
parameter
navigation bookmark
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.)
Expired - Fee Related
Application number
CN201210245134.0A
Other languages
Chinese (zh)
Other versions
CN102750269A (en
Inventor
张晓丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XI'AN INSTITUTE OF PHYSICAL EDUCATION
Original Assignee
XI'AN INSTITUTE OF PHYSICAL EDUCATION
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 XI'AN INSTITUTE OF PHYSICAL EDUCATION filed Critical XI'AN INSTITUTE OF PHYSICAL EDUCATION
Priority to CN201210245134.0A priority Critical patent/CN102750269B/en
Publication of CN102750269A publication Critical patent/CN102750269A/en
Application granted granted Critical
Publication of CN102750269B publication Critical patent/CN102750269B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method for establishing a navigation bookmark during browsing of an ultra-long and ultra-wide webpage. The method is characterized by comprising the steps of: a, obtaining an initial position parameter V0 of a longitudinal scroll bar of a browser, and storing the V0; b, detecting whether the longitudinal position of the longitudinal scroll bar changes, when the longitudinal position of the longitudinal scroll bar changes at the Ith time, obtaining a new position parameter Vi when the longitudinal scroll bar stops longitudinally moving, and storing Vi and i1; and c, when a user triggers establishment of a navigation bookmark, establishing the navigation bookmark by using the Vi value recently stored as the first positioning parameter of the navigation bookmark, and establishing the navigation bookmark by using the V0 value as the first positioning parameter of the navigation bookmark if the Vi value is absent. The method for establishing the navigation bookmark during browsing of the ultra-long and ultra-wide webpage solves the problem of incapability of conveniently navigating and positioning a browsing position during browsing of the ultra-long and ultra-wide webpage, thus experience of the user is improved.

Description

A kind of method of setting up navigation bookmark while browsing super-long and super-wide webpage
Technical field
The present invention relates to the mutual of browser, relate in particular to a kind of method of setting up navigation bookmark while browsing the super-long and super-wide page.
Background technology
Along with the universal and development of computing machine and internet, browser has become an important information client, but prior art does not provide a kind of method of setting up navigation bookmark while browsing super-long and super-wide webpage, this browses related web page to user and has brought many restrictions, is unfavorable for browsing of user.Form therewith sharp contrast, the client of numerous office and reader reader but provides navigation bookmark function.
Summary of the invention
The present invention is intended to solve the problems of the technologies described above and has proposed a kind of method of setting up navigation bookmark while browsing super-long and super-wide webpage, it is characterized in that, the method comprises the steps:
A. obtain longitudinal scroll bar initial position parameters V0 of browser, and store V0;
B. assignment i=1;
C. detect longitudinal scroll bar and whether lengthwise position occurs change, in the time there is the variation of the i time lengthwise position in longitudinal scroll bar, the reposition V parameter i when obtaining longitudinal scroll bar and stopping vertically moving, and store Vi, then i value adds 1;
D. above-mentioned steps c ends detection until user triggers while setting up navigation bookmark, in the time that user triggers foundation navigation bookmark, sets up a navigation bookmark using the Vi value that the last time stores as the first positional parameter of described navigation bookmark; If there is not Vi value, the first positional parameter using V0 value as described navigation bookmark is set up navigation bookmark;
E. continue to carry out above-mentioned steps c and d, to determine whether also will set up other extra navigation bookmarks.
Preferably,
While carrying out described a step, also obtain in the lump the horizontal scroll bar initial position parameters H0 of browser, and store H0;
While carrying out described b step, also assignment j=1 in the lump;
While carrying out described c step, also detect in the lump horizontal scroll bar and whether lateral attitude occurs change, in the time there is the variation of the j time lateral attitude in horizontal scroll bar, the reposition Parameter H j when obtaining horizontal scroll bar and stopping transverse shifting, and store Hj, then j value adds 1;
While carrying out described d step, set up navigation when bookmark when user triggers, the Hj value also storing using the last time is as the second positional parameter of described navigation bookmark; If there is not Hj value, the second positional parameter using H0 value as described navigation bookmark.
Embodiment
Understand the present invention for ease of those skilled in the art, special in conjunction with different specific embodiments, the invention will be further described.
Embodiment as described below discloses a kind of method of setting up navigation bookmark while browsing super-long and super-wide webpage, it is characterized in that, the method comprises the steps:
A. obtain longitudinal scroll bar initial position parameters V0 of browser, and store V0;
B. assignment i=1;
C. detect longitudinal scroll bar and whether lengthwise position occurs change, in the time there is the variation of the i time lengthwise position in longitudinal scroll bar, the reposition V parameter i when obtaining longitudinal scroll bar and stopping vertically moving, and store Vi, then i value adds 1;
D. above-mentioned steps c ends detection until user triggers while setting up navigation bookmark, in the time that user triggers foundation navigation bookmark, sets up a navigation bookmark using the Vi value that the last time stores as the first positional parameter of described navigation bookmark; If there is not Vi value, the first positional parameter using V0 value as described navigation bookmark is set up navigation bookmark;
E. continue to carry out above-mentioned steps c and d, to determine whether also will set up other extra navigation bookmarks.
With regard to above-described embodiment, because the webpage of browsing is the webpage of super-long and super-wide, longitudinal scroll bar of browser certainly exists initial position so, and step a comes and then store this V parameter 0 to set up navigation bookmark in order to the later stage by obtaining initial position parameters just.When user's browsing page, for the webpage of super-long and super-wide, correspondingly can there is lengthwise position variation in scroll bar longitudinally, may roll downwards, also may scroll up, reposition V parameter i when the use of step b, c is intended to store longitudinal scroll bar and stops vertically moving, i initial value is 1, in the time stopping vertically moving for i value cumulative 1 time so that similar operations next time.Reposition just means the current location of longitudinal scroll bar.Thus, when the water comes, a channel is formed for steps d, in the time that user triggers foundation navigation bookmark, sets up navigation bookmark using the Vi value that the last time stores as the first positional parameter of described navigation bookmark; If there is not Vi value, the first positional parameter using V0 value as described navigation bookmark is set up navigation bookmark.To those skilled in the art, the situation that does not have Vi value described in steps d, show that active user is intended to, initial position at longitudinal scroll bar in browser and not occurring under prerequisite that any lengthwise position changes, set up a navigation bookmark, nature is set up navigation bookmark using V0 value as the positional parameter of described navigation bookmark so.
Preferably, in another embodiment:
While carrying out described a step, also obtain in the lump the horizontal scroll bar initial position parameters H0 of browser, and store H0;
While carrying out described b step, also assignment j=1 in the lump;
While carrying out described c step, also detect in the lump horizontal scroll bar and whether lateral attitude occurs change, in the time there is the variation of the j time lateral attitude in horizontal scroll bar, the reposition Parameter H j when obtaining horizontal scroll bar and stopping transverse shifting, and store Hj, then j value adds 1;
While carrying out described d step, set up navigation when bookmark when user triggers, the Hj value also storing using the last time is as the second positional parameter of described navigation bookmark; If there is not Hj value, the second positional parameter using H0 value as described navigation bookmark.
Contrast above-mentioned two embodiment, the horizontal scroll bar of super-long and super-wide webpage has been introduced technical scheme by a rear embodiment, if regard longitudinal scroll bar as Y coordinate axis, horizontal scroll bar just can be understood as X coordinate axis so.A rear embodiment has made up the defect of single positional parameter, and this bookmark that can make to navigate reflects the content present position of the current webpage of browsing of user better.
Preferred, in another embodiment, for described d step, user trigger set up navigation bookmark before, first choose partial page word, and using described page word as navigation bookmark title.Like this, the word that just user can be concerned about, as the title of navigation bookmark, is convenient to the later stage to search concrete navigation bookmark.
Preferred, in another embodiment, for described d step, user clicks or touch screen by mouse, or utilizes shortcut to trigger and set up navigation bookmark.Such embodiment object is to limit the triggering method of setting up navigation bookmark.
Preferred, in another embodiment, clearly limit: by the plug-in unit of enabling browser loading, described method is activated, by forbidding described plug-in unit, described method was lost efficacy.That is to say, described method is to realize by the plug-in unit of browser, with regard to art technology, this can be the plug-in unit of Internet Explore browser, also can be Chrome or Firefox, or the plug-in unit of the browsers such as Opera, because in these browsers, realizes function outside browser self by plug-in unit very general.
Preferred, in another embodiment, between described steps d and step e, also comprise the steps:
D1. often set up a navigation when bookmark, also set up snapshot for current browser display content, and described snapshot is associated with the navigation bookmark of foundation.
Thus, by described snapshot, realized the additional function of navigation bookmark.
Preferred, in another embodiment, between described steps d and step e, also comprise the steps:
D2. often set up a navigation when bookmark, also obtain the page zoom-in and zoom-out parameter of resolution parameter and the browser of current display, and by associated with the navigation bookmark of foundation to described resolution parameter and page zoom-in and zoom-out parameter.
Other 2 the important parameters that so just the page shown, i.e. resolution parameter and page zoom-in and zoom-out parameter, associated with concrete navigation bookmark gets up.
Preferred, in another embodiment, the navigation bookmark of foundation is followed the rolling of longitudinal scroll bar or horizontal scroll bar and is moved.Such object is the show navigator bookmark that floats, and it is moved along with the rolling of scroll bar, is convenient to user at any time to the access of navigation bookmark.Certainly, those skilled in the art can do other conversion completely.
Preferred, in another embodiment, when user points to the navigation bookmark of having set up, show the snapshot associated with navigation bookmark or the thumbnail of described snapshot.Like this, user can obtain better viewing experience, can navigate to faster interested page part.
Preferred, in another embodiment, when user carries out the navigation bookmark of having set up, browser recovers the page zoom-in and zoom-out parameter associated with navigation bookmark, and inquires user whether display is set to the resolution parameter associated with the bookmark that navigates.Thus, can, in the time navigating to navigation bookmark institute record position, at utmost recover user's browsing environment before.
Above embodiment has been described in detail the present invention, and those skilled in the art can understand the present invention according to the above description clearly and completely, or the present invention is made to the different embodiments that change.Some details in above-described embodiment is only more excellent mode, is not construed as limiting the invention.

Claims (2)

1. a method of setting up navigation bookmark while browsing super-long and super-wide webpage, is characterized in that, the method comprises the steps:
A. obtain longitudinal scroll bar initial position parameters V0 of browser, and store V0;
B. assignment i=1;
C. detect longitudinal scroll bar and whether lengthwise position occurs change, in the time there is the variation of the i time lengthwise position in longitudinal scroll bar, the reposition V parameter i when obtaining longitudinal scroll bar and stopping vertically moving, and store Vi, then i value adds 1;
D. above-mentioned steps c ends detection until user triggers while setting up navigation bookmark, in the time that user triggers foundation navigation bookmark, sets up a navigation bookmark using the Vi value that the last time stores as the first positional parameter of described navigation bookmark; If there is not Vi value, the first positional parameter using V0 value as described navigation bookmark is set up navigation bookmark;
E. continue to carry out above-mentioned steps c and d, to determine whether also will set up other extra navigation bookmarks;
And:
While carrying out described a step, also obtain in the lump the horizontal scroll bar initial position parameters H0 of browser, and store H0;
While carrying out described b step, also assignment j=1 in the lump;
While carrying out described c step, also detect in the lump horizontal scroll bar and whether lateral attitude occurs change, in the time there is the variation of the j time lateral attitude in horizontal scroll bar, the reposition Parameter H j when obtaining horizontal scroll bar and stopping transverse shifting, and store Hj, then j value adds 1;
While carrying out described d step, set up navigation when bookmark when user triggers, the Hj value also storing using the last time is as the second positional parameter of described navigation bookmark; If there is not Hj value, the second positional parameter using H0 value as described navigation bookmark;
Between described steps d and step e, also comprise the steps:
D1. often set up a navigation when bookmark, also set up snapshot for current browser display content, and described snapshot is associated with the navigation bookmark of foundation;
D2. often set up a navigation when bookmark, also obtain the page zoom-in and zoom-out parameter of resolution parameter and the browser of current display, and by associated with the navigation bookmark of foundation to described resolution parameter and page zoom-in and zoom-out parameter;
For described d step, user trigger set up navigation bookmark before, first choose partial page word, and using described page word as navigation bookmark title; For described d step, user clicks or touch screen by mouse, or utilizes shortcut to trigger and set up navigation bookmark;
By the plug-in unit of enabling browser loading, described method is activated, by forbidding described plug-in unit, described method was lost efficacy;
The navigation bookmark of setting up is followed the rolling of longitudinal scroll bar or horizontal scroll bar and moves;
When user carries out the navigation bookmark of having set up, browser recovers the page zoom-in and zoom-out parameter associated with navigation bookmark, and inquires user whether display is set to the resolution parameter associated with the bookmark that navigates.
2. the method for claim 1, is characterized in that: when user points to the navigation bookmark of having set up, show the snapshot associated with navigation bookmark or the thumbnail of described snapshot.
CN201210245134.0A 2012-07-16 2012-07-16 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage Expired - Fee Related CN102750269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210245134.0A CN102750269B (en) 2012-07-16 2012-07-16 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210245134.0A CN102750269B (en) 2012-07-16 2012-07-16 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage

Publications (2)

Publication Number Publication Date
CN102750269A CN102750269A (en) 2012-10-24
CN102750269B true CN102750269B (en) 2014-09-17

Family

ID=47030464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210245134.0A Expired - Fee Related CN102750269B (en) 2012-07-16 2012-07-16 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage

Country Status (1)

Country Link
CN (1) CN102750269B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104711B (en) * 2013-04-15 2019-05-07 腾讯科技(深圳)有限公司 Reading histories treating method and apparatus
CN104572753A (en) * 2013-10-24 2015-04-29 腾讯科技(深圳)有限公司 Bookmark storage method and bookmark storage device
CN103645968B (en) * 2013-12-02 2017-03-15 北京奇虎科技有限公司 A kind of browser status restored method and device
CN104462574B (en) * 2014-12-29 2018-04-13 北京致远互联软件股份有限公司 A kind of localization method of flow chart node in browser window
CN106156189B (en) * 2015-04-21 2020-01-21 阿里巴巴集团控股有限公司 Label generation method and device, and information acquisition method and device
CN111124223A (en) * 2019-12-11 2020-05-08 维沃移动通信有限公司 Application interface switching method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086735A (en) * 2006-06-09 2007-12-12 联想(北京)有限公司 A system and method for realizing electronic bookmark
CN101415044A (en) * 2007-10-19 2009-04-22 Lg电子株式会社 Mobile terminal and method of displaying information therein

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3741094B2 (en) * 2002-09-30 2006-02-01 ブラザー工業株式会社 Communication system, communication terminal, system control program, and terminal control program
WO2005001709A2 (en) * 2003-06-26 2005-01-06 International Business Machines Corporation Method and system for setting bookmarks in electronic documents
US20080040674A1 (en) * 2006-08-09 2008-02-14 Puneet K Gupta Folksonomy-Enhanced Enterprise-Centric Collaboration and Knowledge Management System

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086735A (en) * 2006-06-09 2007-12-12 联想(北京)有限公司 A system and method for realizing electronic bookmark
CN101415044A (en) * 2007-10-19 2009-04-22 Lg电子株式会社 Mobile terminal and method of displaying information therein

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
权利要求4.

Also Published As

Publication number Publication date
CN102750269A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102750269B (en) Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage
CN103809891B (en) Page switching method and device
US20100259562A1 (en) Display control apparatus, display control method and computer program
CN102902454B (en) Content at edge of webpage system of selection and device and mobile terminal
CN104050171B (en) Air navigation aid, the device and system of the page presented on a kind of mobile terminal
KR101599815B1 (en) Method and device for displaying interface
CN102486789B (en) Electronic equipment, Web page bookmark image generating method and Web page bookmark generate method
CN102147702A (en) Method and apparatus for selecting hyperlinks
CN106664452A (en) Methods, systems and media for controlling playback of video using a touchscreen
US8081157B2 (en) Apparatus and method of scrolling screen in portable device and recording medium storing program for performing the method
CN104267871A (en) Method for rendering pages and device thereof
CN103034451A (en) Page location method and page location system for mobile terminals
CN106681616B (en) Method, device and equipment for displaying function bar of browser
CN103077170A (en) Method and device for browsing webpage based on physical movement
US20150074614A1 (en) Directional control using a touch sensitive device
CN106547454A (en) Display packing and device
CN103577087A (en) Page switching method and device based on touch screen
CN109683754A (en) A kind of mobile terminal page switching method and device
CN104077056B (en) Translation method and system for page displayed on screen
JP2017515241A (en) Element deletion method and apparatus based on touch panel
CN103336787A (en) Method and device for zooming webpage
CN106293331B (en) A kind of method and device of browsing pictures
CN104615356A (en) Page operating method and device
CN104932769B (en) Webpage display method and device
CN103500055A (en) Positioning method and system of display content of touch screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140917

Termination date: 20150716

EXPY Termination of patent right or utility model