Browser and method for achieving adding and displaying of web image comments
A browser and picture technology, applied in the Internet field, can solve the problem of unable to realize picture positioning and comments, and achieve the effect of increasing user viscosity and strong interest.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Embodiments of the present invention provide a method for adding web picture comments, such as image 3 shown, including:
[0059] Step S301, the user inputs the picture comment content in the web page of the browser;
[0060] Step S302, the user selects a certain point on the picture as the comment position of the picture, and then clicks the left mouse button to trigger a javascript event on the page;
[0061] Step S303, the browser obtains the absolute coordinates X and Y of the page where the mouse click event is located (that is, the absolute coordinates of the picture comment position);
[0062] Among them, the absolute coordinate values X and Y are owned by the mouse event object itself, and can be taken out directly.
[0063] Step S304, select a point in the picture as a fixed reference point for the comment position of the picture, and calculate the absolute coordinates of the fixed reference point in the page;
[0064] Usually pictures and their parent ob...
Embodiment 2
[0076] This embodiment provides a method for displaying comments on web pictures, such as Figure 4 shown, including:
[0077] Step S401, the user enters the web page of the browser, and clicks the button of displaying picture comments;
[0078] Step S402, the browser sends a request for obtaining picture comments to the web server under the trigger of the user;
[0079] Preferably, in this step, the browser submits the request through the AJAX page technology and keeps the page still;
[0080] Step S403, the web server obtains the picture comment, coordinate information, etc. from the database server according to the picture ID, and transmits it to the user browser page;
[0081] Step S404, the browser calculates the absolute coordinates of the fixed reference point of the relative coordinate reference;
[0082] In this step, when the fixed reference point is the vertex in the upper left corner of the picture, the method of calculating its absolute coordinates is the same ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com