CN104424193B - A kind of method and device that transmitting assembly being presented on webpage - Google Patents

A kind of method and device that transmitting assembly being presented on webpage Download PDF

Info

Publication number
CN104424193B
CN104424193B CN201310364806.4A CN201310364806A CN104424193B CN 104424193 B CN104424193 B CN 104424193B CN 201310364806 A CN201310364806 A CN 201310364806A CN 104424193 B CN104424193 B CN 104424193B
Authority
CN
China
Prior art keywords
transmitting assembly
father
webpage
presented
public domain
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
Application number
CN201310364806.4A
Other languages
Chinese (zh)
Other versions
CN104424193A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310364806.4A priority Critical patent/CN104424193B/en
Publication of CN104424193A publication Critical patent/CN104424193A/en
Application granted granted Critical
Publication of CN104424193B publication Critical patent/CN104424193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of on webpage is presented the method and device of transmitting assembly, and method includes: that the page elements of preset kind are added into webpage as father's element, sets the preset style for father's element;In the primary transmitting assembly of described one browser of father's element nested inside;Default transparency is set by the transparency property of the transmitting assembly so that the transmitting assembly is invisible, sets default font size for the font size attribute of the transmitting assembly;Obtain the public domain with upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment;The coordinate of the transmitting assembly is adjusted so that father's element at least hides the region other than public domain described in the transmitting assembly.The present invention can generate the transmitting assembly of customized pattern, can be compatible with different browsers, can improve development efficiency, save development cost.

Description

A kind of method and device that transmitting assembly being presented on webpage
Technical field
The present invention relates to field of computer technology, and in particular to field of communication technology, more particularly to one kind is on webpage The method and device of existing transmitting assembly.
Background technique
File upload is daily more common one of function, and the mode for realizing that file uploads at present is varied, based on clear Look at device upload scheme mainly include by browser provide primary upload function uploaded, using a kind of user of flash( May be coupled to the software that ftp server uploaded, and downloaded, and checking, and editing, and deleting, moving file) it uploads and using customized clear Device plug-in unit of looking at carries out uploading three kinds.
Using flash or the plug-in unit of custom browser, downloading flash plug-in unit or customized upload plug-in unit are required simultaneously Installation, if being fitted without corresponding plug-in unit, is not available upload function.The primary upload function provided based on browser Can, advantage is that all browser defaults provide upload function, but primary transmitting assembly can not define pattern, and each browsing The pattern of device transmitting assembly is variant as shown in figure 3, being difficult meet the needs of product
Custom browser component, the general pattern for using css to change primary component or customized UI simultaneously pass through js foot This (Javascript, a kind of case sensitive client-side scripting language of the regime type of object-oriented) calls browser Application programming interfaces realize its function, but the transmitting assembly of browser cannot directly change its user with cascading style sheets Interface, due to safety concerns some browsers do not allow using js come directly operate, it is necessary to be user click manually just can more than Pass, such as IE browser: with the choice box of js triggering pop-up, no matter js or manual, which triggers list submission, all cannot normally upload text Part.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and device that transmitting assembly is presented on webpage, to solve The technical issues of background section above is mentioned.
The embodiment of the present invention uses following technical scheme:
In a first aspect, the method that the embodiment of the invention provides a kind of to be presented transmitting assembly on webpage, comprising:
The page elements of preset kind are added into webpage as father's element, set the preset style for father's element;
In the primary transmitting assembly of described one browser of father's element nested inside;
Default transparency is set so that the transmitting assembly is invisible, by institute by the transparency property of the transmitting assembly The font size attribute for stating transmitting assembly is set as default font size;
Obtain the public area with upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment Domain;
The coordinate of the transmitting assembly is adjusted so that father's element at least hides public area described in the transmitting assembly Region other than domain, when so as to which the webpage is presented in the browser of the preassignment, father's element arbitrary portion can Respond upload request.
Same design according to the present invention, the embodiment of the invention also provides a kind of on webpage is presented the dress of transmitting assembly It sets, comprising:
Father's element adding unit, the page elements for the addition preset kind into webpage are as father's element, by the father Element is set as the preset style;
Transmitting assembly adding unit, for the transmitting assembly primary in described one browser of father's element nested inside;
Transmitting assembly attribute setting unit sets default transparency so that institute for the transparency property of the transmitting assembly It states that transmitting assembly is invisible, sets default font size for the font size attribute of the transmitting assembly;
Transmitting assembly public domain acquiring unit, when being presented in the browser of preassignment for obtaining the transmitting assembly Public domain with upload request Trigger Function;
Transmitting assembly Coordinate Adjusting unit, for adjusting the coordinate of the transmitting assembly so that father's element is at least hidden Region other than public domain described in the transmitting assembly, so as to which the webpage is presented in the browser of the preassignment When, father's element arbitrary portion can respond upload request.
The advantageous effects for the main case of technology that the embodiment of the present invention proposes are:
The transmitting assembly primary by one browser of page elements nested inside in the preset style of the embodiment of the present invention, It sets invisible for the transparency of embedded transmitting assembly by setting, hides the browser in the transmitting assembly in preassignment The region other than public domain with upload request Trigger Function when middle presentation, to form new transmitting assembly, energy of the present invention The transmitting assembly of customized pattern is generated, different browsers can be compatible with, development efficiency can be improved, saves development cost.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is the method flow diagram that transmitting assembly is presented described in the specific embodiment of the invention one on webpage;
Fig. 2 is the pattern schematic diagram of transmitting assembly described in the specific embodiment of the invention;
Fig. 3 is Show Styles schematic diagram of the transmitting assembly primary in the prior art on each browser;
Fig. 4 is the method flow diagram that transmitting assembly is presented described in the specific embodiment of the invention two on webpage;
Fig. 5 is the structural block diagram that the device of transmitting assembly is presented described in the specific embodiment of the invention three on webpage.
Specific embodiment
To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.
Embodiment one
Fig. 1 is the method flow diagram that transmitting assembly is presented described in the present embodiment on webpage, as shown in Figure 1, this implementation The method of presentation transmitting assembly includes: on webpage described in example
S101, the page elements that preset kind is added into webpage set default for father's element as father's element Pattern.
The preset kind can be multiple types, can be able to be for html label, html button etc., such as father's element The html label of the html label of block type (such as div type, span type or block type), inline-block type.
According to application demand, to the customized pattern of father's element, the preset style is set by father's element.If production Transmitting assembly be used for upload pictures, the transmitting assembly for being used for upload pictures that father's element can be designed to choose as described in Figure 2 Pattern.
S102, in the primary transmitting assembly of described one browser of father's element nested inside.
Transmitting assembly i.e. primary in described one browser of father's element nested inside, using the transmitting assembly as the father The daughter element of element.
S103, default transparency is set so that the transmitting assembly can not by the transparency property of the transmitting assembly See, sets default font size for the font size attribute of the transmitting assembly.
If by one primary transmitting assembly of browser of father's element nested inside be known as the present embodiment production it is new on Pass component makes the new transmitting assembly both have primary upload group since the present embodiment purpose is to make the new transmitting assembly The function of part, it may have the appearance of designed, designed, therefore, it is necessary to keep the primary transmitting assembly in the new transmitting assembly invisible, Such as set sufficiently small for elegant lightness, for example, setting 0.1,0.01 etc. for transparency.
Since primary transmitting assembly can not define pattern, and presentation of the primary transmitting assembly on each browser Pattern is variant, such as primary transmitting assembly is respectively in IE browser, Chrome browser, Firefox browser, Safari Show Styles on browser, Opera browser.As shown in figure 3, different clear in order to can be suitably used for the new transmitting assembly Look at device, the pattern for showing that the new transmitting assembly in preassigned browser is identical, then the upload group for needing to embed The font size attribute of part is set as sufficiently large, so that the embedded transmitting assembly has when presenting in the browser of preassignment There is the public domain of upload request Trigger Function that can completely include the display area of father's element, for example, daughter size can be arranged For 200 pixels, 500 pixels etc..
S104, the public affairs with upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment are obtained Region altogether.
Public area with upload request Trigger Function when the embedded transmitting assembly is presented in different browsers Domain is different, browser as shown in Figure 3, for Chrome browser and Safari browser, the primary upload of display Component includes the button on the left side and the text two parts on the right, and the button on the left side and the text on the right, which can respond upload, asks It asking, i.e., mouse click button area or text area any position can trigger the dialog box popped up for selecting upper transmitting file, therefore, For Chrome browser and Safari browser, the region that can respond upload request includes button and the right on the left side Text;For IE browser, the primary transmitting assembly of display includes the display box on the left side and the button two parts on the right, The display box on the left side cannot respond upload request, and the text on the right can respond upload request;For Firefox browser, The primary transmitting assembly of display includes the display box on the left side and the button two parts on the right, the display box on the left side and the text on the right This can respond upload request.
Obtain the public area with upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment Domain.
S105, the coordinate of the transmitting assembly is adjusted so that father's element at least hides public affairs described in the transmitting assembly Region other than region altogether.
Will be adjusted in public domain acquired in step S104 the display area of father's element in new transmitting assembly, will in It is located at the region other than public domain in embedding transmitting assembly to stash, makes the display in embedded transmitting assembly with father's element The intersection in region can respond upload request.
Technical solution described in the present embodiment is primary by one browser of page elements nested inside in the preset style Transmitting assembly, set invisible for the transparency of embedded transmitting assembly by setting, hide in the transmitting assembly pre- Region when being presented in specified browser other than the public domain with upload request Trigger Function, to form new upload group Part, the present invention can generate the transmitting assembly of customized pattern, can be compatible with different browsers, can improve development efficiency, saving is opened Send out cost.
Embodiment two
Fig. 4 is the method flow diagram that transmitting assembly is presented described in the present embodiment on webpage, as shown in figure 4, this implementation The method of presentation transmitting assembly includes: on webpage described in example
S401, the page elements that preset kind is added into webpage set default for father's element as father's element Pattern.
Further, father's element is the page elements that the preset kind of function is modified with pattern.
Further, father's element is the html label of block type or inline-block type.
S402, father's element is bound into an iframe.
Father's element is bound into an iframe, when so as to which the webpage is presented in the browser of the preassignment, The information that backstage returns to nested transmitting assembly is received by bound iframe.
S403, in the primary transmitting assembly of described one browser of father's element nested inside.
S404, default transparency is set by the transparency property of the transmitting assembly, by the font of the transmitting assembly Size attribute is set as default font size.
Further, the default transparency is less than 0.1.
Further, the default font size is greater than 100 pixels.
S405, specified browser is obtained.
For example, obtaining the browser that the new transmitting assembly that specified embodiment is created must be applicable in, guarantee the new upload Show Styles sample of the component in specified browser is same.
For example, preassigned browser is browser as shown in Figure 3, it is respectively as follows: IE browser, Chrome browsing Device, Firefox browser, Safari browser, Opera browser.
S406, obtain transmitting assembly respectively there is when presenting in the browser of each preassignment upload request, pattern to modify, The pixel region of title attribute modification and cursor shape attribute modification request Trigger Function.For Chrome browser and For Safari browser, the region that can respond upload request includes the button on the left side and the text on the right, can modify pattern, repair Change title attribute and modifies the region of cursor shape attribute as the region where the textual portions on the right;IE browser is come It says, the primary transmitting assembly of display includes the display box on the left side and the button two parts on the right, and the display box on the left side cannot be rung Upload request is answered, the text on the right can respond upload request, can modify pattern, modification title attribute and modification cursor shape category Property region be the right button part where region;For Firefox browser, the primary transmitting assembly packet of display The display box on the left side and the button two parts on the right are included, the display box on the left side and the text on the right can respond upload request, Pattern, modification title attribute can be modified and modify the region of cursor shape attribute as the region where the button part on the right.
Region where the textual portions on the right of acquisition Chrome browser, the text on the right of Safari browser respectively The region where the button part on the right of region, Firefox browser where part, the button part institute on the right of IE browser Region, the region where the button part on the right of Opera browser.
S407, the intersection of above-mentioned pixel region is obtained as public domain.
The public domain for obtaining above-mentioned zone, i.e., take intersection to above-mentioned zone.
S408, the coordinate of the transmitting assembly is adjusted so that father's element at least hides the transmitting assembly in preassignment Browser in region described in display area when presenting other than public domain.
Technical solution described in the present embodiment is primary by one browser of page elements nested inside in the preset style Transmitting assembly, set invisible for the transparency of embedded transmitting assembly by setting, obtain transmitting assembly respectively each pre- There is upload request, pattern modification, title attribute modification and the request of cursor shape attribute modification when presenting in specified browser The pixel region of Trigger Function obtains the intersection of above-mentioned pixel region as public domain, hides in the transmitting assembly in institute The region other than public domain is stated, as new transmitting assembly, and binds an iframe, so that presenting in a browser includes institute When stating the webpage of new transmitting assembly, the letter that backstage returns to the embedded new transmitting assembly is received by bound iframe Breath.The present invention can generate the transmitting assembly of customized pattern, can be compatible with different browsers, can improve development efficiency, saving is opened Send out cost.
Embodiment three
Fig. 5 is the structural block diagram that the device of transmitting assembly is presented described in the present embodiment on webpage, as shown in figure 5, this The device of presentation transmitting assembly includes: on webpage described in embodiment
Father's element adding unit 501, the page elements for the addition preset kind into webpage, will be described as father's element Father's element is set as the preset style.
The preset kind can be multiple types, can be able to be for html label, html button etc., such as father's element The html label of the html label of block type (such as div type, span type or block type), inline-block type.
According to application demand, to the customized pattern of father's element, the preset style is set by father's element.If production Transmitting assembly be used for upload pictures, the transmitting assembly for being used for upload pictures that father's element can be designed to choose as described in Figure 2 Pattern.
Transmitting assembly adding unit 502, for the transmitting assembly primary in described one browser of father's element nested inside.
Transmitting assembly i.e. primary in described one browser of father's element nested inside, using the transmitting assembly as the father The daughter element of element.
Transmitting assembly attribute setting unit 503, by the transparency property of the transmitting assembly be set as default transparency with Keep the transmitting assembly invisible, sets default font size for the font size attribute of the transmitting assembly.
If by one primary transmitting assembly of browser of father's element nested inside be known as the present embodiment production it is new on Pass component makes the new transmitting assembly both have primary upload group since the present embodiment purpose is to make the new transmitting assembly The function of part, it may have the appearance of designed, designed, therefore, it is necessary to keep the primary transmitting assembly in the new transmitting assembly invisible, Such as set sufficiently small for elegant lightness, for example, setting 0.1,0.01 etc. for transparency.
Since primary transmitting assembly can not define pattern, and presentation of the primary transmitting assembly on each browser Pattern is variant, such as primary transmitting assembly is respectively in IE browser, Chrome browser, Firefox browser, Safari Show Styles on browser, Opera browser is as shown in figure 3, different clear in order to can be suitably used for the new transmitting assembly Look at device, the pattern for showing that the new transmitting assembly in preassigned browser is identical, then the upload group for needing to embed The font size attribute of part is set as sufficiently large, so that the embedded transmitting assembly has when presenting in the browser of preassignment There is the public domain of upload request Trigger Function that can completely include the display area of father's element, for example, daughter size can be arranged For 200 pixels, 500 pixels etc..
Transmitting assembly public domain acquiring unit 504 is in for obtaining the transmitting assembly in the browser of preassignment The current public domain with upload request Trigger Function.
Public area with upload request Trigger Function when the embedded transmitting assembly is presented in different browsers Domain is different, browser as shown in Figure 3, for Chrome browser and Safari browser, the primary upload of display Component includes the button on the left side and the text two parts on the right, and the button on the left side and the text on the right, which can respond upload, asks It asking, i.e., mouse click button area or text area any position can trigger the dialog box popped up for selecting upper transmitting file, therefore, For Chrome browser and Safari browser, the region that can respond upload request includes button and the right on the left side Text;For IE browser, the primary transmitting assembly of display includes the display box on the left side and the button two parts on the right, The display box on the left side cannot respond upload request, and the text on the right can respond upload request;For Firefox browser, The primary transmitting assembly of display includes the display box on the left side and the button two parts on the right, the display box on the left side and the text on the right This can respond upload request.
Obtain the public area with upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment Domain.
Transmitting assembly Coordinate Adjusting unit 505, for adjust the coordinate of the transmitting assembly so that father's element at least The region other than public domain described in the transmitting assembly is hidden, so as to which the net is presented in the browser of the preassignment When page, father's element arbitrary portion can respond upload request.
It will be adjusted in acquired public domain the display area of father's element in new transmitting assembly, upload that will be embedded It is located at the region other than public domain in component to stash, makes the weight in embedded transmitting assembly with the display area of father's element Upload request can be responded by closing part.
It further, further include readjustment unit 506, for adding default class in father's element adding unit 501 into webpage After the page elements of type are as father's element, father's element is bound into an iframe, so that in the browsing of the preassignment When the webpage being presented in device, the information that backstage returns to nested transmitting assembly is received by bound iframe.
Further, the page elements of preset kind are added in father's element adding unit 501 into webpage as father's element The page elements of preset kind of the addition with pattern modification function into webpage are specifically included as father's element.
Further, the page elements of preset kind are added in father's element adding unit 501 into webpage as father's element It specifically includes and adds the html label of a block type or inline-block type into webpage as father's element.
Further, transmitting assembly public domain acquiring unit 504 is also used to: obtaining the transmitting assembly in preassignment Public domain with upload request Trigger Function when presenting in browser, adjusts the coordinate of the transmitting assembly so that the father Element is at least hidden before the region other than public domain described in the transmitting assembly further include: obtains in the public domain The new public domain for modifying request Trigger Function when the transmitting assembly is presented in the browser of preassignment with pattern, obtains The intersection of the public domain and the new public domain replaces the public domain with the intersection.
Further, transmitting assembly public domain acquiring unit 504 is also used to: obtaining the transmitting assembly in preassignment Public domain with upload request Trigger Function when presenting in browser, adjusts the coordinate of the transmitting assembly so that the father Element is at least hidden before the region other than public domain described in the transmitting assembly further include: obtains in the public domain There is title attribute modification request Trigger Function and cursor shape category when the transmitting assembly is presented in the browser of preassignment Property modification request Trigger Function new public domain, the intersection of the public domain and the new public domain is obtained, with described The public domain is replaced in intersection.
Further, the default transparency is less than 0.1.
Further, the default font size is greater than 100 pixels.
The transmitting assembly primary by one browser of page elements nested inside in the preset style of the embodiment of the present invention, It sets invisible for the transparency of embedded transmitting assembly by setting, hides the browser in the transmitting assembly in preassignment The region other than public domain with upload request Trigger Function when middle presentation, to form new transmitting assembly, energy of the present invention The transmitting assembly of customized pattern is generated, different browsers can be compatible with, development efficiency can be improved, saves development cost.
Above embodiments provide technical solution in all or part of the content can be realized by software programming, software Program store in a readable storage medium, storage medium for example: hard disk, CD or floppy disk in computer.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (14)

1. a kind of method that transmitting assembly is presented on webpage characterized by comprising
The page elements of preset kind are added into webpage as father's element, set the preset style for father's element;
In the primary transmitting assembly of described one browser of father's element nested inside;
Default transparency is set so that the transmitting assembly is invisible, on described by the transparency property of the transmitting assembly The font size attribute for passing component is set as default font size;
Obtain the public domain with upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment;
Adjust the coordinate of the transmitting assembly so that father's element at least hide public domain described in the transmitting assembly with Outer region, when so as to which the webpage is presented in the browser of the preassignment, father's element arbitrary portion can be responded Upload request.
2. the method for transmitting assembly is presented on webpage as described in claim 1, which is characterized in that added into webpage default The page elements of type specifically include the preset kind that the addition into webpage has pattern modification function as the step of father's element Page elements as father's element.
3. the method for transmitting assembly is presented on webpage as described in claim 1, which is characterized in that added into webpage default The page elements of type specifically include as the step of father's element and add a block type or inline-block into webpage The html label of type is as father's element.
4. the method for transmitting assembly is presented on webpage as described in claim 1, which is characterized in that added into webpage default After the step of page elements of type are as father's element further include: father's element is bound an iframe, so that in institute It states when the webpage being presented in the browser of preassignment, backstage is received by bound iframe and returns to nested upload group The information of part.
5. the method for transmitting assembly is presented on webpage as described in claim 1, which is characterized in that obtain the transmitting assembly After there is the step of public domain of upload request Trigger Function when presenting in the browser of preassignment, the upload is adjusted The coordinate of component so that the step of father's element at least hides the region other than public domain described in the transmitting assembly it Before further include: obtaining when transmitting assembly described in the public domain is presented in the browser of preassignment, there is pattern modification to ask The new public domain for seeking Trigger Function obtains the intersection of the public domain and the new public domain, is replaced with the intersection The public domain.
6. the method for transmitting assembly is presented on webpage as described in claim 1, which is characterized in that obtain the transmitting assembly After there is the step of public domain of upload request Trigger Function when presenting in the browser of preassignment, the upload is adjusted The coordinate of component so that the step of father's element at least hides the region other than public domain described in the transmitting assembly it Before further include: obtaining has title attribute when transmitting assembly described in the public domain is presented in the browser of preassignment Modification request Trigger Function and cursor shape attribute modification request Trigger Function new public domain, obtain the public domain and The intersection of the new public domain replaces the public domain with the intersection.
7. the method for transmitting assembly is presented on webpage as described in claim 1, which is characterized in that the default transparency is small In 0.1, the default font size is greater than 100 pixels.
8. a kind of device that transmitting assembly is presented on webpage characterized by comprising
Father's element adding unit, the page elements for the addition preset kind into webpage are as father's element, by father's element It is set as the preset style;
Transmitting assembly adding unit, for the transmitting assembly primary in described one browser of father's element nested inside;
Transmitting assembly attribute setting unit sets default transparency so that on described for the transparency property of the transmitting assembly It is invisible to pass component, sets default font size for the font size attribute of the transmitting assembly;
Transmitting assembly public domain acquiring unit has for obtaining when the transmitting assembly is presented in the browser of preassignment The public domain of upload request Trigger Function;
Transmitting assembly Coordinate Adjusting unit, for adjusting the coordinate of the transmitting assembly so that father's element is at least hiding described Region other than public domain described in transmitting assembly, when so as to which the webpage is presented in the browser of the preassignment, institute Upload request can be responded by stating father's element arbitrary portion.
9. the device of transmitting assembly is presented on webpage as claimed in claim 8, which is characterized in that in father's element adding unit The page elements that preset kind is added into webpage, which specifically include the addition into webpage as father's element, has the function of pattern modification Preset kind page elements as father's element.
10. the device of transmitting assembly is presented on webpage as claimed in claim 8, which is characterized in that father's element adding unit The middle page elements that preset kind is added into webpage as father's element specifically include into webpage one block type of addition or The html label of inline-block type is as father's element.
11. the device of transmitting assembly is presented on webpage as claimed in claim 8, which is characterized in that described device further includes Unit is adjusted back, is used for
After into webpage, the page elements of addition preset kind are as father's element in father's element adding unit, by father's element An iframe is bound, when so as to which the webpage is presented in the browser of the preassignment, is received by bound iframe Backstage returns to the information of nested transmitting assembly.
12. the device of transmitting assembly is presented on webpage as claimed in claim 8, which is characterized in that transmitting assembly public area Domain acquiring unit is also used to: obtaining has upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment Public domain, adjust the coordinate of the transmitting assembly so that father's element at least hide it is public described in the transmitting assembly Before region other than region further include: obtain transmitting assembly described in the public domain and presented in the browser of preassignment When with pattern modify request Trigger Function new public domain, obtain the friendship of the public domain and the new public domain Collection replaces the public domain with the intersection.
13. the device of transmitting assembly is presented on webpage as claimed in claim 8, which is characterized in that transmitting assembly public area Domain acquiring unit is also used to: obtaining has upload request Trigger Function when the transmitting assembly is presented in the browser of preassignment Public domain, adjust the coordinate of the transmitting assembly so that father's element at least hide it is public described in the transmitting assembly Before region other than region further include: obtain transmitting assembly described in the public domain and presented in the browser of preassignment When with title attribute modification request Trigger Function and cursor shape attribute modification request Trigger Function new public domain, obtain The intersection for taking the public domain and the new public domain replaces the public domain with the intersection.
14. the device of transmitting assembly is presented on webpage as claimed in claim 8, which is characterized in that the default transparency Less than 0.1, the default font size is greater than 100 pixels.
CN201310364806.4A 2013-08-20 2013-08-20 A kind of method and device that transmitting assembly being presented on webpage Active CN104424193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310364806.4A CN104424193B (en) 2013-08-20 2013-08-20 A kind of method and device that transmitting assembly being presented on webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310364806.4A CN104424193B (en) 2013-08-20 2013-08-20 A kind of method and device that transmitting assembly being presented on webpage

Publications (2)

Publication Number Publication Date
CN104424193A CN104424193A (en) 2015-03-18
CN104424193B true CN104424193B (en) 2019-04-09

Family

ID=52973195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310364806.4A Active CN104424193B (en) 2013-08-20 2013-08-20 A kind of method and device that transmitting assembly being presented on webpage

Country Status (1)

Country Link
CN (1) CN104424193B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484862B (en) * 2016-10-10 2020-01-31 聚好看科技股份有限公司 Page control method and device
CN113138762A (en) * 2017-07-27 2021-07-20 创新先进技术有限公司 UI page development method and device
CN111274156B (en) * 2020-02-25 2023-06-06 中信银行股份有限公司 Automatic identification method and device compatible with multi-frame pages

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940919A (en) * 2005-09-27 2007-04-04 腾讯科技(深圳)有限公司 Non-standard transmitting assembly and multi-file transmission of non-standard transmitting assembly
CN102096715A (en) * 2011-02-11 2011-06-15 深圳市同洲电子股份有限公司 Method and system for acquiring webpage template, and method and system for generating single website
CN102830894A (en) * 2012-05-11 2012-12-19 北京奇虎科技有限公司 Method and apparatus for bookmarking webpage

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101105970B1 (en) * 2009-09-02 2012-01-17 한국전자통신연구원 Media mediator system and method for managing contents of various format
US20130138708A1 (en) * 2011-11-29 2013-05-30 Toshiba Tec Kabushiki Kaisha Document processing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940919A (en) * 2005-09-27 2007-04-04 腾讯科技(深圳)有限公司 Non-standard transmitting assembly and multi-file transmission of non-standard transmitting assembly
CN102096715A (en) * 2011-02-11 2011-06-15 深圳市同洲电子股份有限公司 Method and system for acquiring webpage template, and method and system for generating single website
CN102830894A (en) * 2012-05-11 2012-12-19 北京奇虎科技有限公司 Method and apparatus for bookmarking webpage

Also Published As

Publication number Publication date
CN104424193A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN105740315B (en) The method of one kind of multiple screen response type page layout adjustment
US20110167336A1 (en) Gesture-based web site design
KR101852901B1 (en) Apparatus and method for inserting text in image
CN105955888B (en) Page debugging preview method and system
US9053077B2 (en) Machine translation of a web page having an image containing characters
US9063740B2 (en) Web widget component for a rapid application development tool
US20160283096A1 (en) Method of generating a link by utilizing a picture and system thereof
CN103645908B (en) Full life circle development achievement system of intemetware
CN103092941B (en) The method and apparatus presenting content on an electronic device
KR101760777B1 (en) System of Building Responsive Website And Method there-of
JP5930497B2 (en) Template file processing method and apparatus
Voutilainen et al. On the design of a responsive user interface for a multi-device web service
US20110167360A1 (en) Incoming web traffic conversion
US20140208199A1 (en) Visual designation of a zone in rendered code
CN109614601A (en) Form processing method, device, equipment and readable medium based on web
CN102364460B (en) Automatic page amplification method and system based on mobile terminal
AU2013324179A1 (en) Intelligent window placement
CN103701909B (en) The rapid generation and system of Video Applications
CN103970750A (en) Method and device for generating HTML (Hypertext Markup Language) web pages
JP2014524623A5 (en)
CN107291736A (en) A kind of method and system of edit page
US11397970B2 (en) Visual designation of a zone in rendered code
CN104424193B (en) A kind of method and device that transmitting assembly being presented on webpage
CN103631877A (en) Webpage table processing method
CN103942231B (en) A kind of display methods and electronic equipment of webpage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant