CN103034686B - A kind of method of toolbar windows that Loads Image and device thereof - Google Patents
A kind of method of toolbar windows that Loads Image and device thereof Download PDFInfo
- Publication number
- CN103034686B CN103034686B CN201210497178.2A CN201210497178A CN103034686B CN 103034686 B CN103034686 B CN 103034686B CN 201210497178 A CN201210497178 A CN 201210497178A CN 103034686 B CN103034686 B CN 103034686B
- Authority
- CN
- China
- Prior art keywords
- picture element
- information
- positional information
- picture
- browser
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 159
- 230000008569 process Effects 0.000 claims abstract description 98
- 238000012544 monitoring process Methods 0.000 claims abstract description 19
- 230000008878 coupling Effects 0.000 claims description 25
- 238000010168 coupling process Methods 0.000 claims description 25
- 238000005859 coupling reaction Methods 0.000 claims description 25
- 238000012163 sequencing technique Methods 0.000 claims description 7
- 239000000725 suspension Substances 0.000 claims description 6
- 238000000151 deposition Methods 0.000 claims description 4
- 238000003825 pressing Methods 0.000 claims description 4
- 238000004321 preservation Methods 0.000 claims description 3
- 230000008901 benefit Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The method and apparatus that the invention discloses a kind of toolbar windows that Loads Image, the method includes: opens web page tag in webpage subprocess, and obtains the positional information of picture element in webpage;When monitoring the selection event of the input to picture element in current web page subprocess, obtain the display region information of picture element according to the positional information of picture element;Obtain the positional information of current cursor and compare with the display region information of picture element, it is judged that the position of current cursor, whether in the viewing area of picture element, will determine that the location information notification host process to browser of result and picture element;Browser host process, according to judged result and the positional information of described picture element, creates or show or hide picture toolbar window in specified location.In the present invention, when solving the relevant treatment performing picture element in a browser, the loading misjudgment phenomenon to its picture toolbar window occurs.
Description
Technical field
The invention belongs to Internet technical field, specifically, relate to one and Load Image toolbar windows
Method and device.
Background technology
Browser is most frequently with the client-side program arrived, and can show from web service by browser
HTML that device or file system obtain (Hypertext Markup Language, below
It is called for short: HTML) file content, and the html file being easy to user and acquisition interacts.Wherein,
The browser i.e. web browser of html file, net common in PC is obtained from web page server
Page browsing device includes the Safari of Firefox, Apple of Internet Explorer, Mozilla of Microsoft,
Opera, Google Chrome, GreenBrowser browser, 360 secure browsers, search dog are at a high speed
Browser, everyday browser, Tengxun TT, proud trip browser, Baidu's browser, Tencent QQ browser
Deng.
The operation principle of web browser can be summarized as: mutual also by http protocol and web page server
Obtaining html file and present to user in the form of a web page, these web page files forms are usually
HTML, and extended standard (Multipurpose Internet Mail by multipurpose the Internet mail
Extensions, MIME) indicate in http protocol, and by URL (Uniform
/ Universal Resource Locator, hereinafter referred to as URL) specify.Many browsers are also supported
Other URL type and corresponding agreement thereof, such as FTP, Gopher, HTTPS(HTTP agreement
Encryption version).HTTP content type and URL protocol specification allow Web page maker to embed in webpage
The web page elements such as image, animation, video, sound, Streaming Media.At present, most browser itself
Also support the picture formats such as form widely in addition to HTML, such as JPEG, PNG, GIF,
And can extend and support numerous plug-in units (plug-ins), in webpage, each document is respectively from webpage
Server obtains.
As a example by showing picture in webpage, webpage all can arrange the picture toolbar for this picture,
By operating this tool bar, it is achieved the full screen display of picture, the switching of picture, the scaling etc. of picture.
The loading of existing picture toolbar is to complete in current web page page process, uses current web page
In java script script generate DIV layer pop-up, pop-up is loaded with tool bar, to present work
Tool bar.But, and often can float on picture some DIV or sub-frame, such as show title
Or strengthen the sub-frame of the display effect of image.Now, for detection light target move in and out and move and
The generation carrying out window arises that error, because when cursor moves on above-mentioned DIV or sub-frame,
Figure sector-meeting under DIV or sub-frame produces Mouse-out event, and cursor is also on picture in fact, and this is just
Erroneous judgement can be caused.Such as, in webpage, produce tool bar for a certain picture, and on this picture, have a son
Frame " lower one page .... ", when cursor moves to this sub-frame, cursor in fact also on picture, but this
Time there will be the erroneous judgement of Mouse-out event, be mistakenly considered cursor and have been moved out picture, picture instrument can be caused
Hiding of bar window.
So, the technical problem solved in the urgent need to this area at present is exactly: provide one to load figure
The processing scheme of sheet toolbar windows, solves appearance during the relevant treatment performing picture element in a browser
Loading misjudgment phenomenon to its picture toolbar window.
Summary of the invention
In view of the above problems, it is proposed that the present invention is so that a kind of method providing toolbar windows that Loads Image
And device, occur its picture instrument during in order to solve the relevant treatment performing picture element in a browser
The loading misjudgment phenomenon of bar window.
According to an aspect of the invention, it is provided a kind of method of toolbar windows that Loads Image, the party
Method includes:
In webpage subprocess, open web page tag, and obtain the positional information of picture element in webpage;
When monitoring the selection event of the input to described picture element in presently described webpage subprocess, depend on
Positional information according to described picture element obtains the display region information of described picture element;
Obtain the positional information of current cursor and compare with the display region information of described picture element, it is judged that
The position of current cursor, whether in the viewing area of described picture element, will determine that result and described picture
The location information notification of element is to the host process of described browser;
Browser host process is according to described judged result and the positional information of described picture element, in specific bit
Put place to create or show or hide picture toolbar window.
Preferably, in the method for the invention, described in webpage subprocess, open web page tag, and obtain
Take the positional information of picture element in webpage to include:
The positional information of the picture element in presently described webpage subprocess traversal webpage and attribute information;With
And
Positional information and the attribute information of described picture element are preserved delaying to presently described webpage subprocess
In depositing.
Preferably, in the method for the invention, the positional information of described picture element includes:
Described picture element upper left position in the page visibility region of presently described webpage subprocess is sat
Mark the width with described picture element and height;And
The attribute information of described picture element includes: picture size, picture are at the address of local cache, figure
Sheet beyond the clouds preserve address and/or the URL of described picture element.
Preferably, in the method for the invention, the input of described picture element selects event to include following appointing
A kind of event:
Mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch shifting
Dynamic event, touch length are selected by event, touch slip event, keyboard.
Preferably, in the method for the invention, the described positional information according to described picture element obtains institute
The display region information stating picture element includes:
Obtain and current screen coordinate is transformed in the page visibility region of browser;
The current screen coordinate of the page visibility region of foundation browser and the position of described picture element
The display region information of picture element described in information acquisition.
Preferably, in the method for the invention, described browser host process according to described judged result, and
Create/hide picture toolbar window according to the positional information of described picture element in specified location to include:
When the position of current cursor is in the viewing area of described picture element, browser host process is according to institute
State the positional information of picture element, create in specified location and show picture toolbar window;
Otherwise, create in specified location and hide picture toolbar window.
Preferably, in the method for the invention, described judge that whether the position of current cursor is at described picture
The viewing area of element includes:
Current cursor positional information on screen is converted to the position in the page visibility region of browser
Information;
Position according to the current cursor positional information in the page visibility region of browser with described picture element
Confidence breath is compared, to judge that the position of current cursor is whether in the viewing area of described picture element.
Preferably, in the method for the invention, described in webpage subprocess, open web page tag, and obtain
Take the positional information of picture element in webpage to include:
The positional information of all picture elements in presently described webpage subprocess traversal webpage and attribute letter
Breath;And
According to the sequencing of traversal, by picture element presently described in all picture elements and neighbor map thereof
The positional information of sheet element and attribute information preserve to the caching of presently described webpage subprocess.
Preferably, the method in the present invention also includes:
Obtain the title of picture or the URL information at current cursor place, with the picture element of described traversal
Attribute information mates in advance;
Get the picture element of described coupling, then obtain current cursor positional information and with described
The display region information joining picture element compares, it is judged that whether the position of current cursor is at described coupling picture
In the viewing area of element, will determine that the location information notification of result and described coupling picture element is to described
The host process of browser.
Preferably, in the method for the invention, appointing in described specific bit is set to described picture element region
One position;Or it is a position of described picture element edge.
Preferably, in the method for the invention, described browser host process is generated when starting browser,
The corresponding one or more webpage subprocess of described browser host process, the picture work of described browser host process
Tool bar window is used interchangeably between the one or more webpage subprocess.
According to another aspect of the present invention, it is provided that the device of a kind of toolbar windows that Loads Image, should
Device includes:
Generate and acquisition module, for opening web page tag in webpage subprocess, and obtain figure in webpage
The positional information of sheet element;
Monitoring and acquisition module, for monitoring described picture element in presently described webpage subprocess
Input select event time, according to described picture element positional information obtain described picture element display
Area information;
Judge and sending module, for obtaining the positional information of current cursor aobvious with described picture element
Show that area information compares, it is judged that the position of current cursor whether in the viewing area of described picture element,
Will determine that the location information notification host process to described browser of result and described picture element;
Create and display module, for browser host process according to described judged result and described picture element
Positional information, specified location create or show or hide picture toolbar window.
Preferably, in the apparatus of the present, generation includes with acquisition module:
Traversal submodule, the position letter of the picture element in presently described webpage subprocess traversal webpage
Breath and attribute information;And
Cache sub-module, for preserving the positional information of described picture element and attribute information to current institute
State in the caching of webpage subprocess.
Preferably, in the apparatus of the present, monitoring is further configured to acquisition module:
Obtain and current screen coordinate is transformed in the page visibility region of browser;
The current screen coordinate of the page visibility region of foundation browser and the position of described picture element
The display region information of picture element described in information acquisition.
Preferably, in the apparatus of the present, establishment is further configured to display module:
When the position of current cursor is in the viewing area of described picture element, browser host process is according to institute
State the positional information of picture element, create in specified location and show picture toolbar window;
Otherwise, create in specified location and hide picture toolbar window.
Preferably, in the apparatus of the present, it is judged that be further configured to sending module:
Current cursor positional information on screen is converted to the position in the page visibility region of browser
Information;
Position according to the current cursor positional information in the page visibility region of browser with described picture element
Confidence breath is compared, to judge that the position of current cursor is whether in the viewing area of described picture element.
Preferably, in the apparatus of the present, generation includes with acquisition module:
Traversal submodule, the position of all picture elements in presently described webpage subprocess traversal webpage
Confidence breath and attribute information;And
Cache sub-module, for the sequencing according to traversal, by figure presently described in all picture elements
Sheet element and the positional information of adjacent picture element and attribute information thereof preserve to presently described webpage subprocess
Caching in.
Preferably, in the apparatus of the present, it is judged that be further configured to sending module:
Obtain the title of picture or the URL information at current cursor place, with the picture element of described traversal
Attribute information mates in advance;
Get the picture element of described coupling, then obtain current cursor positional information and with described
The display region information joining picture element compares, it is judged that whether the position of current cursor is at described coupling picture
In the viewing area of element, will determine that the location information notification of result and described coupling picture element is to described
The host process of browser.
Compared with currently existing scheme, the invention have the benefit that and propose one based on browser side pair
Web page picture element carries out the scheme processed, and sets up one or more webpage marks in browser host process
The mechanism that picture element in label processes, improves the efficiency carrying out picture element process in browser side,
Avoid erroneous judgement problem and browser collapse that the operation to webpage subprocess picture toolbar occurs etc. to ask
Topic;And browser host process can corresponding one or more webpage subprocess, browser host process
The picture toolbar window created can be used interchangeably between multiple webpage subprocess, decreases webpage
Process generates the burden of picture toolbar window, improves the service efficiency of picture toolbar simultaneously.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the method for the toolbar windows that Loads Image according to an embodiment of the invention
Flow chart;
Fig. 2 diagrammatically illustrates the method for the toolbar windows that Loads Image according to an embodiment of the invention
Detail flowchart;
Fig. 3 diagrammatically illustrates the device of the toolbar windows that Loads Image according to an embodiment of the invention
Module map.
Fig. 4 diagrammatically illustrates the side of the toolbar windows that Loads Image according to an embodiment of the invention
The flow chart of method;
Fig. 5 diagrammatically illustrates the flow process hiding picture toolbar window according to an embodiment of the invention
Schematic diagram;
Fig. 6 diagrammatically illustrates the method for the toolbar windows that Loads Image according to an embodiment of the invention
For a webpage schematic diagram;
Fig. 7 diagrammatically illustrates the method for the toolbar windows that Loads Image according to an embodiment of the invention
In avoid erroneous judgement detailed process schematic diagram.
Detailed description of the invention
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
The main thought of the present invention is, opens web page tag, and obtain in webpage in webpage subprocess
The positional information of picture element;Monitor described picture element in presently described webpage subprocess is defeated
When entering to select event, obtain the viewing area of described picture element according to the positional information of described picture element
Information;Obtain the positional information of current cursor and compare with the display region information of described picture element, sentencing
The position of disconnected current cursor, whether in the viewing area of described picture element, will determine that result and described figure
The location information notification of sheet element is to the host process of described browser;Browser host process is according to described judgement
Result and the positional information of described picture element, create or show or hide picture instrument in specified location
Bar window.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing and specifically real
Execute example, the present invention is described in further detail.
According to embodiments of the invention, it is provided that a kind of method of toolbar windows that Loads Image.
Fig. 1 diagrammatically illustrates the method for the toolbar windows that Loads Image according to an embodiment of the invention
Flow chart, the method may comprise steps of.
At step S201, webpage subprocess is opened web page tag, and obtains picture unit in webpage
The positional information of element.
In embodiments of the present invention, when browser starts, browser host process starts automatically, and at net
Opening web page tag in page subprocess, particularly, browser host process can be corresponding one or many
Individual webpage subprocess.
When web page tag is opened, the position of the picture element in presently described webpage subprocess traversal webpage
Confidence breath and attribute information, and positional information and the attribute information of described picture element are preserved to current institute
State in the caching of webpage subprocess.
Or, all figures when web page tag is opened, in presently described webpage subprocess traversal webpage
The positional information of sheet element and attribute information, and according to the sequencing of traversal, by all picture elements
Presently described picture element and the positional information of adjacent picture element and attribute information thereof preserve to presently described
In the caching of webpage subprocess.Such as: current web page is the webpage of first display picture, its page 2
In picture be also can full frame realize current web page time, obtain the picture letter in page 2 in the buffer
Breath, and pre-show in full screen window, particularly with current web page picture be one serial time, by this
Plant technical finesse, can be when the picture in current page be displayed in full screen or subprocess notice master
Beginning to carry out the download of other picture during process, this picture to be downloaded is to receive from son in host process
During the notice of process, just by the picture of up/down one pictures of the JS Code obtaining in webpage in subprocess
Information, notifies host process together, when host process needs further subsequent pictures, and also can be to webpage
Subprocess obtains further pictorial information or host process actively obtains webpage to the URL of this picture
In next pictures, after the carrying out of host process one or the download of previous picture, before user clicks on
One or in host process, be downloaded picture display in this full screen display window during a rear picture.
At step S202, monitor described picture element in presently described webpage subprocess is defeated
When entering to select event, obtain the viewing area of described picture element according to the positional information of described picture element
Information;
At step S203, obtain current cursor positional information and with the viewing area of described picture element
Domain information compares, it is judged that whether the position of current cursor, in the viewing area of described picture element, will be sentenced
The location information notification of disconnected result and described picture element is to the host process of described browser;
It should be noted that by the positional information of described picture element to browser host process send same
Time, also the attribute information of described picture element is sent to browser host process, described browser host process
Receive positional information and attribute information that webpage subprocess sends.
At step S204, browser host process is according to described judged result and the position of described picture element
Confidence ceases, and creates or show or hide picture toolbar window in specified location.
According to the attribute information of described picture element, the described figure created by described browser host process
Sheet toolbar windows carries out the process of described picture element.The process of picture element may include that picture unit
Element local preserves, shares, is displayed in full screen, URL network preservation and be uploaded to appointed website etc..Described
Browser host process creates or show or hide picture toolbar window, appointment therein in specified location
Depending on position is based on the positional information of described picture element, it can be the periphery at picture element,
Can also be among picture element indication range, it is also possible to be the web page tag viewing area in browser
In arbitrary window area having user setup in, a partition of such as web page tag viewing area window
Subwindow.The icon that above-mentioned picture processing is corresponding is loaded in above-mentioned picture toolbar window,
After above-mentioned icon is clicked by reception user, activate corresponding picture processing.
Fig. 2 diagrammatically illustrates the method for the toolbar windows that Loads Image according to an embodiment of the invention
Detail flowchart, specifically may comprise steps of.
At step S301, start browser, generate browser host process.
At step S302, in webpage subprocess, open web page tag.
When web page tag is loaded, webpage subprocess performs the JS of the picture element in traversal webpage
Script, and realize step S303 by browser auxiliary object technology (BHO technology).
At step S303, webpage subprocess obtains positional information and the attribute letter of picture element in webpage
Breath.
One section of JS code it is embedded into, it is therefore an objective to the picture element in traversal webpage when web page tag loads
Positional information and attribute information, and positional information and the attribute information of above-mentioned picture element are uploaded to net
In the caching of page subprocess.
Wherein, the positional information of described picture element can include but not limited to: described picture element is in institute
State the upper left position coordinate in the page visibility region of current web page subprocess and the width of described picture element
With height etc.;Attribute information can include but not limited to: picture size, picture in the address of local cache,
Picture URL preserving address and/or described picture element beyond the clouds etc..
At step S304, the positional information of picture element described in webpage subprocess buffer memory and attribute
Information.
At step S305, in described current web page subprocess, monitor the input to described picture element
Selection event.
The web page element having input selection event in the present invention is picture element, is monitored picture element,
Perform step S306 while monitoring, monitoring result is judged.
At step S306, it may be judged whether have input selection event.
When determine have input selection event time, perform step S307, otherwise return to perform step S305.
Described input selection event can include any one event following: mouse suspension event, mouse move into
Event, mouse moving event, touch are pressed event, are touched moving event, touch length by event, touch
Slip event, keyboard are selected.
At step S307, obtain the aobvious of described picture element according to the positional information of described picture element
Show area information;
It should be noted that when performing step S307, by obtaining and current screen can be sat
Mark is transformed in the page visibility region of browser, and according to page visibility region current of browser
The positional information of screen coordinate and described picture element obtains the display region information of described picture element.
At step S308, obtain the positional information of current cursor;
When getting the positional information of current cursor, perform step S309;
In step 309 place, it is judged that whether the position of current cursor is in the viewing area of described picture element;
It should be noted that when performing step 309, can be by current cursor positional information on screen
Be converted to the positional information in the page visibility region of browser;And according to current cursor at browser
The positional information of the positional information of page visibility region and described picture element is compared, current to judge
Whether light target position is in the viewing area of described picture element.
Or, title or the URL information of the picture at current cursor place can be obtained, with described traversal
The attribute information of picture element mates in advance, and gets the picture element of described coupling, then obtains
Take the positional information of current cursor and compare with the display region information of described coupling picture element, it is judged that when
Whether front smooth target position is in the viewing area of described coupling picture element.
When determining that the position of current cursor is in the viewing area of described picture element, perform step 310,
Otherwise, step 311 is performed;
In step 310 place, browser host process is according to the positional information of described picture element, in specific bit
The place of putting creates and shows picture toolbar window;
It should be noted that in step 310, be for when judging that the position of current cursor is at described picture
Time in the viewing area of element performed.
This picture toolbar window is generated by browser host process, can answer between different web pages subprocess
With, in different webpage subprocess, the position of picture toolbar window can be according to the position of picture element
Confidence breath determines.
Described appointment position can be any position in described picture element region;Or it is described picture
A position at element edges.
This picture toolbar window is generated by browser host process, can answer between different web pages subprocess
With, in different webpage subprocess, the position of picture toolbar window can be according to the position of picture element
Confidence breath determines.
In step 311 place, browser host process is according to the positional information of described picture element, in specific bit
Put place to create and hiding picture toolbar window.
It should be noted that be for when judging that the position of current cursor is not in the display of described picture element
Time in region performed.
Described appointment position can be any position in described picture element region;Or it is described picture
A position at element edges.
This picture toolbar window is generated by browser host process, can answer between different web pages subprocess
With, in different webpage subprocess, the position of picture toolbar window can be according to the position of picture element
Confidence breath determines.
Present invention also offers the device of a kind of toolbar windows that Loads Image, with reference to Fig. 3, schematically show
Go out the module map of the device of the toolbar windows that Loads Image according to an embodiment of the invention.
According to assembly of the invention, can include generate with acquisition module 401, monitoring with acquisition module 402,
Judge and sending module 403, establishment and display module 404.
Generate and acquisition module 401, for opening web page tag in webpage subprocess, and obtain webpage
The positional information of middle picture element.
When browser is activated, generates and automatically start a browser host process with acquisition module 401,
And open web page tag in webpage subprocess, browser host process corresponding one or more webpages
Process.
Meanwhile, generate and also include with acquisition module 401 traveling through submodule 411 and cache sub-module 421.
When web page tag is opened, traversal submodule 411 travels through positional information and the genus of picture element in webpage
Property information, and positional information and the attribute information of described picture element are sent to cache sub-module 421 and enter
Row preserves.Or, when web page tag is opened, traversal submodule 411 travels through all figures in webpage
The positional information of sheet element and attribute information, and by picture element presently described in all picture elements and
The positional information of adjacent picture element and attribute information are sent to the cache sub-module 421 priority according to traversal
Order preserves.
Monitoring and acquisition module 402, for monitoring described picture in presently described webpage subprocess
When the input of element selects event, obtain described picture element according to the positional information of described picture element
Display region information;
Judge with sending module 403, for obtain current cursor positional information and with described picture element
Display region information compare, it is judged that whether the position of current cursor in the viewing area of described picture element
In, will determine that the location information notification host process to described browser of result and described picture element;
When monitoring the selection event of the input to described picture element, and determine the position of current cursor described
In the viewing area of picture element, and notify to create with display module 404 in specified location establishment or aobvious
Show picture toolbar window.Otherwise, notice creates and hides in specified location with display module 404
Picture toolbar window, but retain the positional information of described picture element, when again monitoring this picture unit
When have input selection event, notice creates and shows the picture work being in hidden state with display module 403
Tool bar window.
Judge to notify that the position of described picture element is believed with sending module 403 to the host process of described browser
During breath, also notify the attribute information of described picture element to browser host process.
Create and display module 404, for browser host process according to described judged result and described picture
The positional information of element, creates or show or hide picture toolbar window in specified location.
Owing to a browser host process only creates a picture toolbar window, it is achieved that picture work
Tool bar multiplexing in each webpage subprocess.
As shown in Figure 4, the tool bar that Loads Image according to an embodiment of the invention is diagrammatically illustrated
The flow chart of the method for window, in this enforcement, from the angle of system architecture, to family in picture toolbar
Method illustrates.Specifically, the method may comprise steps of.
At step S501, current web page subprocess is opened web page tag, and obtains figure in webpage
The positional information of sheet element;
At step S502, monitor described picture element in presently described webpage subprocess is defeated
When entering to select event, obtain the viewing area of described picture element according to the positional information of described picture element
Information;
At step S503, obtain current cursor positional information and with the viewing area of described picture element
Domain information compares, it is judged that whether the position of current cursor, in the viewing area of described picture element, will be sentenced
The location information notification of disconnected result and described picture element is to the host process of described browser;
At step S504, browser host process is according to described judged result and the position of described picture element
Confidence ceases, and creates or show or hide picture toolbar window in specified location.
In above-mentioned steps S501-S504, record for the picture in the webpage in current web page subprocess
Element, generates picture toolbar window, similar with the content described in above-mentioned Fig. 1, does not repeats them here.
At step S505, in another webpage subprocess, open another web page tag, obtain this webpage
The positional information of middle picture element;
Similarly, due to a browser host process can corresponding multiple webpage subprocess, therefore, clear
After device host process of looking at starts, and after having generated picture toolbar window according to current web page subprocess,
Can webpage host process corresponding open an other webpage subprocess.
At step S506, monitor in another webpage subprocess picture element in its corresponding webpage
Input select event time, according to this picture element positional information obtain described picture element viewing area
Domain information;
The detailed process of above-mentioned steps S505-S506 can be found in embodiment one for current web page subprocess
Processing procedure, do not repeat them here.
At step S507, obtain the positional information of current cursor and monitor in another webpage subprocess
Compare to the display region information of picture element in its corresponding webpage, it is judged that whether the position of current cursor
In the viewing area of this picture element, will determine that the location information notification of result and this picture element is to institute
State the host process of browser;
At step S508, the positional information of described picture element is sent to step by browser host process
The picture toolbar window created in S504, and show in specified location according to described judged result or
Hide picture toolbar window.
Embodiment shown in Fig. 4, it is also possible to be applicable to open multiple webpage based on same browser host process
The situation of subprocess, does not repeats them here.
Picture toolbar window is hidden according to an embodiment of the invention as it is shown in figure 5, diagrammatically illustrate
The schematic flow sheet of mouth.It can specifically include: at step S601, obtains and by current screen
Coordinate Conversion is in the page visibility region of browser;
At step S602, the current screen coordinate of the page visibility region of foundation browser and institute
The positional information stating picture element obtains the display region information of described picture element;
It should be noted that the display region information of described picture element refers to the client in current web page
Region.
At step S603, obtain the positional information of current cursor and by current cursor position on screen
Information is converted to the positional information in the page visibility region of browser;
At step S604, according to current cursor the page visibility region of browser positional information with
The positional information of described picture element is compared, to judge that whether the position of current cursor is at described picture
In the viewing area of element;
If light target position is in the viewing area of described picture element, then performs step S605, otherwise hold
Row step S606.
At step S605, browser host process, according to the positional information of described picture element, is being specified
Position creates and shows picture toolbar window.
In step 606, it may be judged whether have cancellation selection event;
It should be noted that the cancellation of described picture element selects event to remove including, but not limited to mouse
Event, touch and upspring event, keyboard cancellation etc..
If there being cancellation selection event, then perform step S607;Otherwise, step S605 is continued executing with.
In step 607 place, browser host process creates in formulation position and hides picture toolbar window.
As shown in Figure 6, the tool bar window that Loads Image according to an embodiment of the invention is diagrammatically illustrated
Mouthful method for a webpage schematic diagram, what wherein the picture element 1 in webpage was positioned in webpage can
Client region, viewing area 2, is positioned on screen 3 simultaneously, cursor 4 position as depicted, picture unit
A sub-frame 5 is had on element 1.As it is shown in fig. 7, for diagrammatically illustrating according to an embodiment of the invention
The method of toolbar windows that Loads Image is avoided the detailed process schematic diagram of erroneous judgement.When cursor moves to figure
Time on picture shown in 6, it can specifically include:
In step 701 place, obtain the positional information of current cursor and by current cursor in the upper confidence of screen
Breath is converted to the positional information in the page visibility region of browser;
It should be noted that during owing to opening webpage, on the one hand the cursor in Fig. 6 is positioned at the coordinate of screen
In, on the one hand it is positioned at again in the visibility region client region of Webpage definition, therefore, in order to avoid
Erroneous judgement, needs in the positional information unification of cursor 4 to coordinate system, and owing to picture element 1 is
Visibility region 2 based on browser page is defined, therefore preferably by light in the embodiment of the present invention
In the mark consistent visibility region 2 being transformed into browser of 4 positional informationes on screen 3, it is thus achieved that its
Light target positional information in the page visibility region 2 of browser.
At step S702, according to current cursor the page visibility region of browser positional information with
The positional information of described picture element is compared, to judge that whether the position of current cursor is at described picture
In the viewing area of element.
Owing to having transformed to browser by unified for the positional information of cursor 4 according to above-mentioned steps S701
In page visibility region 2, therefore, the page visibility region 2 of i.e. browser under unified reference coordinate
In, by current cursor 4 at positional information and the described picture element of the page visibility region 2 of browser
The positional information of 1 is compared, thus judges that whether the position of current cursor is at described picture exactly
In the viewing area of element.Even if cursor moves to that on sub-frame 5, reality does not leaves picture element 1,
Due to by current cursor 4 at the positional information of the page visibility region of browser, and itself and described figure
The positional information of sheet element 1, learn cursor still in the viewing area of picture element, therefore, the most just
Avoid and be mistakenly considered cursor and have been moved out the misjudgment phenomenon of picture element.
In this above-mentioned embodiment, sub-frame 5 can be the picture toolbar window in the embodiment of the present invention
Mouthful, wherein it is loaded with button picture element 1 being carried out to particular procedure;Sub-frame 5 can also be to suspend
DIV element layer on the top layer of the most each window, or Iframe layer, picture work at this moment
Tool bar window can be arranged on the periphery of picture, the most in figure 6 the Upper panel unit of shown sub-frame 5
Picture toolbar window (the most not shown) at the upper right corner top edges of element 1.According to this
After cursor 4 in inventive embodiments removes the judgement of picture element 1, for picture toolbar window
Display or the hiding correct judgement that can be carried out correspondence, it is ensured that as long as mouse is still in the district of picture
In the scope of territory, it is possible to be always ensured that picture toolbar window shows, thus ensure for picture work
The timely loading of tool.Such as, when sub-frame 5 is picture toolbar window, when mouse moves on sub-frame 5,
Picture may produce mouse removal event, but the position of mouse is the most still in the region of picture
In scope, thereby may be ensured that picture toolbar window is not hidden, continue display, thus avoid erroneous judgement.
Owing to above-described embodiment three to five essentially corresponds to the embodiment of the method shown in earlier figures 1 and Fig. 2 institute
The embodiment of the method shown, therefore the most detailed part in the description of the present embodiment, may refer in previous embodiment
Related description, do not repeat at this.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right
Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the device in embodiment certainly
Change adaptively and they are arranged in one or more devices different from this embodiment.Permissible
Block combiner in embodiment is become a module, and can put them in addition multiple submodule or
Subelement or sub-component.Except at least some in such feature and/or process or unit is mutually to arrange
Outside scolding, any combination can be used this specification (including adjoint claim, summary and accompanying drawing)
Disclosed in all features and so disclosed any method or all processes of device or unit carry out
Combination.Unless expressly stated otherwise, this specification (including adjoint claim, summary and accompanying drawing)
Disclosed in each feature can be replaced by providing identical, equivalent or the alternative features of similar purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more
The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should
Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis
The browser of the embodiment of the present invention Load Image full screen display toolmark device in some or all
The some or all functions of parts.The present invention is also implemented as performing method as described herein
Part or all equipment or device program (such as, computer program and computer program product
Product).The program of such present invention of realization can store on a computer-readable medium, or can have
There is the form of one or more signal.Such signal can be downloaded from internet website and obtain, or
Person provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Execute example.In the claims, should not will be located in any reference marks between bracket to be configured to right is wanted
The restriction asked.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at
Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention is permissible
By means of including the hardware of some different elements and realizing by means of properly programmed computer.?
If listing in the unit claim of equipment for drying, several in these devices can be by same
Hardware branch specifically embodies.Word first, second and third use do not indicate that any order.
Can be title by these word explanations.
A1, a kind of method of toolbar windows that Loads Image are disclosed herein, including: at webpage subprocess
In open web page tag, and obtain the positional information of picture element in webpage;Enter at presently described webpage
When journey monitors the selection event of the input to described picture element, believe according to the position of described picture element
Breath obtains the display region information of described picture element;Obtain current cursor positional information and with described figure
The display region information of sheet element compares, it is judged that the position of current cursor whether aobvious at described picture element
Show in region, will determine that the location information notification of result and described picture element enters to the master of described browser
Journey;Browser host process is according to described judged result and the positional information of described picture element, in specific bit
Put place to create or show or hide picture toolbar window.A2, according to the method described in A1, its feature
It is, described web page tag of opening in webpage subprocess, and obtains the position letter of picture element in webpage
Breath includes: the positional information of the picture element in presently described webpage subprocess traversal webpage and attribute information;
And positional information and the attribute information of described picture element are preserved delaying to presently described webpage subprocess
In depositing.A3, according to the method described in A2, it is characterised in that the positional information bag of described picture element
Include: described picture element upper left position in the page visibility region of presently described webpage subprocess is sat
Mark the width with described picture element and height;And the attribute information of described picture element includes: picture size,
Picture the address of local cache, picture beyond the clouds preserve address and/or the URL of described picture element.
A4, according to the method described in A1, it is characterised in that the input of described picture element selects event to include
Any one event following: mouse suspension event, mouse move into event, mouse moving event, touch and press
Event, touch moving event, touch long by event, touch slip event, keyboard is selected.A5, basis
Method described in A1, it is characterised in that the described positional information according to described picture element obtains described figure
The display region information of sheet element includes: obtain and be transformed into by current screen coordinate the page of browser
In visibility region;The current screen coordinate of the page visibility region of foundation browser and described picture unit
The positional information of element obtains the display region information of described picture element.A6, according to the method described in A1,
It is characterized in that, described browser host process is according to described judged result, and according to described picture element
Positional information creates/hides picture toolbar window in specified location and includes: the position of current cursor is in institute
When stating in the viewing area of picture element, browser host process according to the positional information of described picture element,
Create in specified location and show picture toolbar window;Otherwise, create in specified location and hide
Picture toolbar window.A7, according to the method described in A1, it is characterised in that the current light of described judgement
Whether target position includes in the viewing area of described picture element: by current cursor position on screen
Information is converted to the positional information in the page visibility region of browser;According to current cursor at browser
The positional information of page visibility region compare with the positional information of described picture element, with judge work as
Whether front smooth target position is in the viewing area of described picture element.A8, according to the method described in A1,
It is characterized in that, described in webpage subprocess, open web page tag, and obtain picture element in webpage
Positional information includes: the positional information of all picture elements in presently described webpage subprocess traversal webpage
And attribute information;And the sequencing according to traversal, by presently described picture unit in all picture elements
Element and the positional information of adjacent picture element and attribute information thereof preserve delaying to presently described webpage subprocess
In depositing.A9, according to the method described in A8, it is characterised in that farther include: obtain current cursor
The title of the picture at place or URL information, carried out with the attribute information of the picture element of described traversal
Mate in advance;Get the picture element of described coupling, then obtain the positional information of current cursor also
Compare with the display region information of described coupling picture element, it is judged that whether the position of current cursor is described
In the viewing area of coupling picture element, will determine that the positional information of result and described coupling picture element leads to
Know the host process of described browser.A10, according to the method described in any one of A1-A9, its feature exists
In, described specific bit is set to any position in described picture element region;Or it is described picture element
One position of edge.A11, according to the method described in any one of A1-A9, it is characterised in that when opening
Described browser host process is generated, described browser host process corresponding one or more webpages during dynamic browser
Subprocess, the picture toolbar window of described browser host process is at the one or more webpage subprocess
Between be used interchangeably.
B12, the device of a kind of toolbar windows that Loads Image are disclosed herein, including: generate and obtain
Module, for opening web page tag in webpage subprocess, and obtains the position letter of picture element in webpage
Breath;Monitoring and acquisition module, for monitoring described picture element in presently described webpage subprocess
Input select event time, according to described picture element positional information obtain described picture element display
Area information;Judge and sending module, for obtain current cursor positional information and with described picture unit
The display region information of element compares, it is judged that whether the position of current cursor is in the viewing area of described picture element
In territory, will determine that the location information notification host process to described browser of result and described picture element;
Create and display module, for browser host process according to described judged result and the position of described picture element
Confidence ceases, and creates or show or hide picture toolbar window in specified location.B13, according to B12
Described device, it is characterised in that described generation includes with acquisition module: traversal submodule, for working as
The positional information of the picture element in front described webpage subprocess traversal webpage and attribute information;And caching
Submodule, for preserving the positional information of described picture element and attribute information to presently described webpage
In the caching of process.B14, according to the device described in B13, it is characterised in that described picture element
Positional information includes: a described picture element left side in the page visibility region of presently described webpage subprocess
Upper Angle Position coordinate and the width of described picture element and height;And the attribute information of described picture element includes:
Picture size, picture are in the address of local cache, picture preservation address beyond the clouds and/or described picture unit
The URL of element.B15, according to the device described in B12, it is characterised in that the input of described picture element
Selection event includes any one event following: mouse suspension event, mouse move into event, mouse moves thing
Part, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard choosing
Fixed.B16, according to the device described in B12, it is characterised in that described monitoring and acquisition module are also joined
It is set to: obtain and current screen coordinate is transformed in the page visibility region of browser;According to browsing
The current screen coordinate of the page visibility region of device and the positional information of described picture element obtain described
The display region information of picture element.B17, according to the device described in B12, it is characterised in that described
Create and be further configured to display module: the position of current cursor is in the viewing area of described picture element
Time, browser host process, according to the positional information of described picture element, creates in specified location and shows
Picture toolbar window;Otherwise, create in specified location and hide picture toolbar window.B18、
According to the device described in B12, it is characterised in that described judgement is further configured to sending module: ought
Front light is marked on positional information on screen and is converted to the positional information in the page visibility region of browser;Depend on
Positional information according to the current cursor positional information in the page visibility region of browser Yu described picture element
Compare, to judge that the position of current cursor is whether in the viewing area of described picture element.B19、
According to the device described in B 12, it is characterised in that described generation includes with acquisition module: traversal submodule,
The positional information of all picture elements in presently described webpage subprocess traversal webpage and attribute letter
Breath;And cache sub-module, for the sequencing according to traversal, by institute current in all picture elements
State picture element and the positional information of adjacent picture element thereof and attribute information preserves to presently described webpage
In the caching of process.B20, according to the device described in B19, it is characterised in that described judgement and transmission
Module is further configured to: obtain title or the URL information of the picture at current cursor place, with described
The attribute information of the picture element of traversal mates in advance;Get the picture element of described coupling,
Then obtain the positional information of current cursor and compare with the display region information of described coupling picture element,
Judge the position of current cursor whether in the viewing area of described coupling picture element, will determine that result and
The location information notification of described coupling picture element is to the host process of described browser.B21, basis
Device described in any one of B12-B20, it is characterised in that described specific bit is set to described picture element district
Any position in territory;Or it is a position of described picture element edge.B22, according to B12-B20
Device described in any one, it is characterised in that generate described browser host process when starting browser,
The corresponding one or more webpage subprocess of described browser host process, the picture work of described browser host process
Tool bar window is used interchangeably between the one or more webpage subprocess.
Claims (20)
1. Load Image the method for toolbar windows, including:
In webpage subprocess, open web page tag, obtain the positional information of picture element in webpage and preserve
To the caching of presently described webpage subprocess;
When monitoring the selection event of the input to described picture element in presently described webpage subprocess, depend on
Described picture element is obtained in the page visibility region of browser according to the positional information of described picture element
Display region information;
Obtain current cursor positional information in the page visibility region of browser and with described picture element
Display region information compare, it is judged that whether the position of current cursor in the viewing area of described picture element
In, will determine that the location information notification host process to described browser of result and described picture element;
Browser host process is according to described judged result and the positional information of described picture element, in specific bit
Put place to create or show or hide picture toolbar window.
Method the most according to claim 1, it is characterised in that described open in webpage subprocess
Web page tag, and obtain the positional information of picture element in webpage and include:
The positional information of the picture element in presently described webpage subprocess traversal webpage and attribute information;With
And
Positional information and the attribute information of described picture element are preserved delaying to presently described webpage subprocess
In depositing.
Method the most according to claim 2, it is characterised in that the positional information of described picture element
Including:
Described picture element upper left position in the page visibility region of presently described webpage subprocess is sat
Mark the width with described picture element and height;And
The attribute information of described picture element includes: picture size, picture are at the address of local cache, figure
Sheet beyond the clouds preserve address and/or the URL of described picture element.
Method the most according to claim 1, it is characterised in that the input of described picture element selects
Event includes any one event following:
Mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch shifting
Dynamic event, touch length are selected by event, touch slip event, keyboard.
Method the most according to claim 1, it is characterised in that described according to described picture element
Positional information obtains the display region information of described picture element and includes:
Obtain and current screen coordinate is transformed in the page visibility region of browser;
The current screen coordinate of the page visibility region of foundation browser and the position of described picture element
The display region information of picture element described in information acquisition.
Method the most according to claim 1, it is characterised in that described browser host process is according to institute
State judged result, and create/hide picture work according to the positional information of described picture element in specified location
Tool bar window includes:
When the position of current cursor is in the viewing area of described picture element, browser host process is according to institute
State the positional information of picture element, create in specified location and show picture toolbar window;
Otherwise, create in specified location and hide picture toolbar window.
Method the most according to claim 1, it is characterised in that the position of described judgement current cursor
Whether include in the viewing area of described picture element:
Current cursor positional information on screen is converted to the position in the page visibility region of browser
Information;
Position according to the current cursor positional information in the page visibility region of browser with described picture element
Confidence breath is compared, to judge that the position of current cursor is whether in the viewing area of described picture element.
Method the most according to claim 1, it is characterised in that described open in webpage subprocess
Web page tag, and obtain the positional information of picture element in webpage and include:
The positional information of all picture elements in presently described webpage subprocess traversal webpage and attribute letter
Breath;And
According to the sequencing of traversal, by picture element presently described in all picture elements and neighbor map thereof
The positional information of sheet element and attribute information preserve to the caching of presently described webpage subprocess.
Method the most according to claim 8, it is characterised in that farther include:
Obtain title or the URL information of the picture at current cursor place, with the picture unit of described traversal
The attribute information of element mates in advance;
Get the picture element of described coupling, then obtain the positional information of current cursor and with described
The display region information of coupling picture element compares, it is judged that whether the position of current cursor is at described coupling figure
In the viewing area of sheet element, will determine that the location information notification of result and described coupling picture element is to institute
State the host process of browser.
10. according to the method described in any one of claim 1-9, it is characterised in that
Described specific bit is set to any position in described picture element region;Or
A position for described picture element edge.
The device of 11. 1 kinds of toolbar windows that Load Image, including:
Generate and acquisition module, for opening web page tag in webpage subprocess, obtain picture in webpage
In the caching of the positional information of element preservation extremely presently described webpage subprocess;
Monitoring and acquisition module, for monitoring described picture element in presently described webpage subprocess
Input select event time, according to described picture element positional information obtain described picture element browsing
Display region information in the page visibility region of device;
Judge and sending module, for obtaining current cursor position in the page visibility region of browser
Information the display region information with described picture element compare, it is judged that whether the position of current cursor is in institute
State in the viewing area of picture element, will determine that the location information notification of result and described picture element is to institute
State the host process of browser;
Create and display module, for browser host process according to described judged result and described picture element
Positional information, specified location create or show or hide picture toolbar window.
12. devices according to claim 11, it is characterised in that described generation and acquisition module bag
Include:
Traversal submodule, the position letter of the picture element in presently described webpage subprocess traversal webpage
Breath and attribute information;And
Cache sub-module, for preserving the positional information of described picture element and attribute information to current institute
State in the caching of webpage subprocess.
13. devices according to claim 12, it is characterised in that the position letter of described picture element
Breath includes:
Described picture element upper left position in the page visibility region of presently described webpage subprocess is sat
Mark the width with described picture element and height;And
The attribute information of described picture element includes: picture size, picture are at the address of local cache, figure
Sheet beyond the clouds preserve address and/or the URL of described picture element.
14. devices according to claim 11, it is characterised in that the input choosing of described picture element
The event of selecting includes any one event following:
Mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch shifting
Dynamic event, touch length are selected by event, touch slip event, keyboard.
15. devices according to claim 11, it is characterised in that described monitoring is with acquisition module also
It is configured to:
Obtain and current screen coordinate is transformed in the page visibility region of browser;
The current screen coordinate of the page visibility region of foundation browser and the position of described picture element
The display region information of picture element described in information acquisition.
16. devices according to claim 11, it is characterised in that described establishment is with display module also
It is configured to:
When the position of current cursor is in the viewing area of described picture element, browser host process is according to institute
State the positional information of picture element, create in specified location and show picture toolbar window;
Otherwise, create in specified location and hide picture toolbar window.
17. devices according to claim 11, it is characterised in that described judgement is with sending module also
It is configured to:
Current cursor positional information on screen is converted to the position in the page visibility region of browser
Information;
Position according to the current cursor positional information in the page visibility region of browser with described picture element
Confidence breath is compared, to judge that the position of current cursor is whether in the viewing area of described picture element.
18. devices according to claim 11, it is characterised in that described generation and acquisition module bag
Include:
Traversal submodule, the position of all picture elements in presently described webpage subprocess traversal webpage
Confidence breath and attribute information;And
Cache sub-module, for the sequencing according to traversal, by figure presently described in all picture elements
Sheet element and the positional information of adjacent picture element and attribute information thereof preserve to presently described webpage subprocess
Caching in.
19. devices according to claim 18, it is characterised in that described judgement is with sending module also
It is configured to:
Obtain title or the URL information of the picture at current cursor place, with the picture unit of described traversal
The attribute information of element mates in advance;
Get the picture element of described coupling, then obtain the positional information of current cursor and with described
The display region information of coupling picture element compares, it is judged that whether the position of current cursor is at described coupling figure
In the viewing area of sheet element, will determine that the location information notification of result and described coupling picture element is to institute
State the host process of browser.
20. according to the device described in any one of claim 11~19, it is characterised in that
Described specific bit is set to any position in described picture element region;Or
A position for described picture element edge.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210497178.2A CN103034686B (en) | 2012-11-28 | 2012-11-28 | A kind of method of toolbar windows that Loads Image and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210497178.2A CN103034686B (en) | 2012-11-28 | 2012-11-28 | A kind of method of toolbar windows that Loads Image and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103034686A CN103034686A (en) | 2013-04-10 |
CN103034686B true CN103034686B (en) | 2016-11-16 |
Family
ID=48021581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210497178.2A Active CN103034686B (en) | 2012-11-28 | 2012-11-28 | A kind of method of toolbar windows that Loads Image and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103034686B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239317A (en) * | 2013-06-13 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Method and device for compiling pictures in browser |
CN106155462A (en) * | 2015-04-03 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of interface alternation method and device |
CN106156153B (en) * | 2015-04-14 | 2022-05-27 | 腾讯科技(深圳)有限公司 | Method and device for loading picture |
CN105260384B (en) * | 2015-09-09 | 2019-02-12 | 北京奇虎科技有限公司 | The method and device of visible picture in a kind of webpage for identification |
CN107766382B (en) * | 2016-08-22 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Message processing method and device |
CN110262749B (en) * | 2019-06-27 | 2021-05-28 | 北京思维造物信息科技股份有限公司 | Webpage operation method, device, container, equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1920770A (en) * | 2005-08-25 | 2007-02-28 | 千橡世纪科技发展(北京)有限公司 | System and method for obtaining webpage insert data |
CN102346782A (en) * | 2011-10-25 | 2012-02-08 | 中兴通讯股份有限公司 | Method and device for displaying pictures on browser of user terminal as required |
-
2012
- 2012-11-28 CN CN201210497178.2A patent/CN103034686B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1920770A (en) * | 2005-08-25 | 2007-02-28 | 千橡世纪科技发展(北京)有限公司 | System and method for obtaining webpage insert data |
CN102346782A (en) * | 2011-10-25 | 2012-02-08 | 中兴通讯股份有限公司 | Method and device for displaying pictures on browser of user terminal as required |
Non-Patent Citations (1)
Title |
---|
如何判断鼠标位置是否在一个<DIV>的范围内?;匿名;《http://bbs.csdn.net/topics/10300978》;20020707;第1-4页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103034686A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11126333B2 (en) | Application reporting in an application-selectable user interface | |
CN102999342B (en) | The full frame browsing method of picture and device thereof in a kind of webpage | |
CN103034686B (en) | A kind of method of toolbar windows that Loads Image and device thereof | |
JP5894266B2 (en) | Application tile presentation format | |
CN105528408B (en) | Page display method and device | |
CN102999613B (en) | A kind of method of the class of loading tool in a browser window and device thereof | |
US10620804B2 (en) | Optimizing layout of interactive electronic content based on content type and subject matter | |
CN103019703B (en) | Tool window loading method and device for browser | |
WO2016101755A1 (en) | Drag-and-drop operation-based method and device for adjusting location of object in cross pages | |
KR20130116241A (en) | Branded browser frame | |
US20120198361A1 (en) | Method and System for Seamless Navigation and Drill Back Among a Plurality of Web Applications | |
US8250059B2 (en) | Crawling browser-accessible applications | |
WO2013163438A1 (en) | Testing the rendering of visual content | |
CN102999341B (en) | For the full frame browsing method of picture and the device of webpage | |
CN102981877B (en) | Picture toolbar loading method and device | |
CA2714228C (en) | Complex input to image transformation for distribution | |
CN103020178A (en) | Method and device for loading image toolbar with browser | |
CN102981876B (en) | Picture tool bar window loading method and device | |
CN105183453B (en) | Web-based information acquisition method and device | |
US20140215295A1 (en) | Three-dimensional image displaying system and method | |
US20170315971A1 (en) | Program for displaying webpage, terminal device, and server device | |
JP2008027013A (en) | System for analyzing browsing degree of document element | |
JP5836748B2 (en) | Questionnaire display system | |
JP5986553B2 (en) | Classification device, classification method, and classification program |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220729 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |