CN106610824A - Page height self-adaptation method and apparatus - Google Patents

Page height self-adaptation method and apparatus Download PDF

Info

Publication number
CN106610824A
CN106610824A CN201510695925.7A CN201510695925A CN106610824A CN 106610824 A CN106610824 A CN 106610824A CN 201510695925 A CN201510695925 A CN 201510695925A CN 106610824 A CN106610824 A CN 106610824A
Authority
CN
China
Prior art keywords
height
object model
document object
adaptive
property value
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.)
Granted
Application number
CN201510695925.7A
Other languages
Chinese (zh)
Other versions
CN106610824B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510695925.7A priority Critical patent/CN106610824B/en
Publication of CN106610824A publication Critical patent/CN106610824A/en
Application granted granted Critical
Publication of CN106610824B publication Critical patent/CN106610824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page height self-adaptation method and apparatus, relates to the field of computer views, and solves the problem that page height self-adaptation cannot be realized in various browsers. The method comprises the steps of setting self-defined attributes for a document object model element needed to be subjected to height self-adaptation; allocating corresponding attribute values to the self-defined attributes; and calculating the height of the document object model element subjected to the height self-adaptation according to the attribute values. The page height self-adaptation method and apparatus is mainly used for adaptively adjusting the page height in various browsers.

Description

A kind of adaptive method and device of page height
Technical field
The present invention relates to computer vision field, the adaptive method of more particularly to a kind of page height And device.
Background technology
As mobile terminal is increasingly popularized, need to enable original internet web page for desktop computer Enough suitable for the screen of mobile terminal various sizes, reach take automatically the height and width of browser with Just webpage is intuitively shown.In order to achieve the above object, many webpage height are had been proposed that at present Adaptive technique, its main implementation have two kinds:1st, realize that webpage is high using CSS height percents Degree self adaptation;2nd, webpage height adaptive is realized using the absolute layouts of CSS.
Although above two mode can meet the need that webpage highly adapts to screen size to a certain extent Ask, but can also there are some defects.For example:Webpage height is being realized using CSS height percents In adaptive mode, the percentage ratio of browser viewing area is occupied by arranging each part in the page, Webpage height after setting can only adapt to a kind of mobile terminal of screen size, when Partial Elements in webpage It is highly fixed, when Partial Elements height is not fixed, it is impossible to adapted to by rational height percentage ratio various The mobile terminal of screen size;And the mode of webpage height adaptive is being realized using the absolute layouts of CSS In, although the problem existed using the mode of CSS height percents is can solve the problem that, but which is only The browser of energy compatibility Chrome browsers, Firefox browser and more than IE9.
The content of the invention
In view of this, the present invention proposes a kind of adaptive method and device of page height, main mesh Be that solution cannot realize the adaptive problem of page height in various browsers.
According to the first aspect of the invention, the present invention proposes a kind of adaptive method of page height, Including:
Document Object Model to need height adaptive arranges Custom Attributes;
Distribute corresponding property value for Custom Attributes;
According to the height of the adaptive Document Object Model of property value computed altitude.
According to the second aspect of the invention, the present invention proposes a kind of adaptive device of page height, Including:
Setting unit, arranges self-defined category for the Document Object Model to need height adaptive Property;
Allocation unit, the Custom Attributes for arranging for setting unit distribute corresponding property value;
Computing unit, for the adaptive document pair of property value computed altitude distributed according to allocation unit As the height of model element.
By above-mentioned technical proposal, the adaptive method of page height provided in an embodiment of the present invention and dress Put, can be that the Document Object Model for needing height adaptive arranges Custom Attributes, this is made by oneself Adopted attribute is different from the height attributes of Document Object Model fixation in prior art, and according to the page The height of viewing area is that Custom Attributes distribution represents Document Object Model height accordingly Property value, according to the height of the Document Object Model of the property value dynamic calculation height adaptive Degree.Realize that the mode of webpage height adaptive is present with the absolute layouts of CSS used in prior art simultaneous Capacitive defect is compared, and the present invention can be needed highly adaptive by Custom Attributes dynamically distributes and calculating The height of the Document Object Model answered, adapts to various resolution and polytype browser, solution When partial document object model element of having determined is highly fixed, another part needs the document of height adaptive The problem that the height percent of object model element cannot determine.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's Technological means, and being practiced according to the content of description, and in order to allow the above-mentioned of the present invention and Other objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit for Those of ordinary skill in the art will be clear from understanding.Accompanying drawing is only used for the mesh for illustrating preferred implementation , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
The flow chart that Fig. 1 shows a kind of adaptive method of page height provided in an embodiment of the present invention;
Fig. 2 shows a kind of schematic diagram of page layout provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition frame of the adaptive device of page height provided in an embodiment of the present invention Figure;
Fig. 4 shows the composition of the adaptive device of another kind of page height provided in an embodiment of the present invention Block diagram.
Specific embodiment
The exemplary embodiment of the disclosure is described more fully below with reference to accompanying drawings.Although in accompanying drawing Show the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms public Open and should not be limited by embodiments set forth here.On the contrary, there is provided these embodiments are able to The disclosure is best understood from, and can be by the scope of the present disclosure complete skill for conveying to this area Art personnel.
It is many based on diagrammatic representation in large-size screen monitors front end displayed page at present, in order to reach good displaying Effect, it is desirable to browser can be taken automatically highly and width under various screens during page presentation, All the elements intuitively can show, occur without scroll bar.There are two kinds of implementations at present, one, Height adaptive is realized using css height percents;Two, using the absolute layouts of css realizing height Degree self adaptation.Although above two mode can meet webpage to a certain extent highly adapts to screen chi Very little demand, but can also there are some defects.For example:Net is being realized using CSS height percents In the mode of page height adaptive, when in webpage, Partial Elements are highly fixed, Partial Elements height is not solid Regularly, it is impossible to the mobile terminal of various screen sizes is adapted to by rational height percentage ratio;And make Realized in the mode of webpage height adaptive with the absolute layouts of CSS, although can solve the problem that high using CSS The problem that the mode of degree percentage ratio is present, but which can only compatibility Chrome browsers, Firefox The browser of browser and more than IE9.
In order to solve that the adaptive problem of page height is realized in various browsers, the present invention is real Example is applied there is provided a kind of adaptive method of page height, as shown in figure 1, the method includes:
101st, the Document Object Model to need height adaptive arranges Custom Attributes.
Generally in displayed web page, more using DOM Document Object Model come administration web page data, document object There is the list set of the multiple lists of management, in order to realize that the webpage opened to browser is carried out in model The functions such as monitoring, operation, dynamic extraction user input, dynamic modification, are required for traveling through web form In form fields (being also Document Object Model) and read the attribute of these form fields.Wherein, There are a height attributes, for arranging height (the namely webpage stage casing of Document Object Model The height for falling), all major browsers all support the height attributes.This height attributes is defined in element Hold the height in area.Under normal circumstances, the height attributes can define the fixed DOM Document Object Model of height The height of element, it is also possible to specify which inherits the value of father's element height attributes.But for screen size For changing or needing the adaptive Document Object Model of page height, it is impossible to ensure page presentation When the height of browser can be taken automatically under various screens.Text due to needing height adaptive Can not there is the height that the Document Object Model identical fixed with height is fixed in shelves object model element Degree attribute, therefore, the embodiment of the present invention in loading page during Document Object Model, Ke Yiwei Need height adaptive Document Object Model arrange Custom Attributes, the Custom Attributes be It is specifically designed for needing what the Document Object Model of height adaptive was defined during coding, it is every for defining The height accounting of the Document Object Model of individual height adaptive, the value of the Custom Attributes can be entered Mobile state is arranged, for the altitudes of the Document Object Model of dynamic representation height adaptive.
102nd, distribute corresponding property value for Custom Attributes.
After in for the page, need the Document Object Model of height adaptive that Custom Attributes is set, Can be according to the height of page viewing area come (the i.e. page of each Document Object Model in specified page Various pieces in face) height, wherein, for height fix Document Object Model for, Specific height value can be specified for which, and for the Document Object Model of height adaptive, It is accomplished by respective property value is respectively specified that for the Document Object Model of each height adaptive, But only that height of the height summation of all Document Object Models less than page viewing area Degree, while the height that its height summation is equal to page viewing area can be automatic in page presentation Take the height of browser.In order to reach the purpose of height adaptive, therefore the step of the embodiment of the present invention In rapid 102, the property value of Custom Attributes can not be arranged to tool as the property value of level altitude attribute The numerical value of body, and need for the property value of Custom Attributes to be arranged to a kind of numerical value for representing height relationships.
103rd, the height according to the adaptive Document Object Model of property value computed altitude.
Self-defined category due to being the Document Object Model for needing height adaptive in a step 102 Property is assigned with corresponding property value, and the property value of the Custom Attributes represents the text of height adaptive The height relationships of shelves object model element and the page, therefore in step 103 can be self-defined according to this The height of the adaptive Document Object Model of property value computed altitude of attribute.
A kind of adaptive method of page height provided in an embodiment of the present invention, can for need height from The Document Object Model of adaptation arranges Custom Attributes, and the Custom Attributes is different from prior art The height attributes that middle Document Object Model is fixed, and be described according to the height of page viewing area Custom Attributes distribution represents the property value of Document Object Model height accordingly, according to the category The height of the Document Object Model of property value dynamic calculation height adaptive.Used in prior art The absolute layouts of CSS realize that the compatible defect that the mode of webpage height adaptive is present is compared, energy of the present invention The Document Object Model of height adaptive is needed by Custom Attributes dynamically distributes and calculating enough Highly, various resolution and polytype browser are adapted to, solves partial document object model unit When plain height is fixed, another part needs the height percentage of the Document Object Model of height adaptive Than the problem that cannot be determined.
In order to preferably understand to the method shown in above-mentioned Fig. 1, the embodiment of the present invention will be with HTML As a example by DOM Document Object Model DOM element in webpage, for Fig. 1 in each step be described in detail.
What is represented due to DOM element is tag element in html document, can be included in the label Attribute, by the attribute and its property value of changing DOM element, can be increased, deleted or be repaiied Change the content and pattern of document.Due to generally needing to create analyzer example when document is loaded, obtaining Document stress state, loading specify document, therefore during loading document, can pass through Javascript is extending the attribute of DOM element.For example in the embodiment of the present invention, when coding (loading) During DOM element in webpage, DOM element can be operated by javascript, to make by oneself The mode of adopted attribute is that the DOM element for needing height adaptive increases self adaptation height attributes, and this is adaptive The property value of height attributes is answered different from the property value of original height attributes, but be again may be by Javascript is obtaining.
During whole dom tree is loaded, for the DOM element that height is fixed, Ke Yifu Give its specific numerical value;And for the DOM element of height adaptive, if giving its specific number Value, then cannot meet the height that the page can take browser in various browsers.Therefore, this Bright embodiment needs to be set to the property value of the self adaptation height attributes of the DOM element of height adaptive The height accounting of DOM element, the height accounting can be accounted for for height of the DOM element in full page Than, that is, the DOM element accounts for the height accounting of father's element, but with this mode for highly adaptive During the DOM element distributive property value answered, need further to consider the height of the fixed DOM element of height, Ensure the height of the height summation less than page viewing area of all DOM elements, cause this to calculate Process is more complicated.Therefore, in embodiments of the present invention can be by the property value of self adaptation height attributes The DOM element is set at page residual altitude (height of the DOM element fixed not comprising height) In height accounting, specifically, can distribute each according to the number of the DOM element of height adaptive The property value i.e. height accounting (can be percentage ratio) of individual self adaptation height attributes, and ensure each The ratio of the height accounting of self adaptation height attributes is added less than page residual altitude (i.e. not comprising height The height of the fixed DOM element of degree) 100%.For example, for 3 DOM elements are had, The height attributes value of the fixed DOM element of one of height is 60px, two other height adaptive The self adaptation height attributes value of DOM element can be respectively 40,60, wherein 40,60 represent this two The DOM element of individual height adaptive occupies 40% and 60% height in page residual altitude respectively.
After loading completes dom tree by the way, the as DOM Document Object Model of height adaptive After the Elemental partition property value of self adaptation height attributes, it is necessary to travel through DOM element dynamic calculation each The height of individual DOM element.As the level altitude property value of the DOM element of height fixation is specific Height number, therefore this DOM element can be ignored during the height of the DOM element fixed in computed altitude; And the self adaptation height attributes value of the DOM element of height adaptive is height percent, it is therefore desirable to root According to the height of the DOM element of height percent dynamic calculation each height adaptive for reading.Specifically, The height h of page viewing area can be obtained and is arranged by javascript, and then traveling through the page can DOM element in viewed area, it is determined that the DOM element of the fixed DOM element of height and height adaptive And respective property value is read, it is hereby achieved that the height value h of the fixed DOM element of height1And The height percent X of the DOM element of height adaptive, and according to formula (h-h1) * X% obtain height from The height value of the DOM element of adaptation.
In order to intuitively understand above-mentioned embodiment, now with Fig. 2 and following codes in order to illustrate: Wherein, in Fig. 2, the height of body elements can be regarded as the height of page viewing area, in the body There is in element daughter element header and center, the height of wherein header elements is fixed, and Center elements are height adaptive.Specific code is as follows,
In above-mentioned code after the completion of dom tree loading, it is possible to use javascript is obtained and arranged The height (i.e. browser viewing area height) of body elements is H px, then travels through body elements Daughter element, search the element containing self adaptation height attributes auto-height, such as id=" center " Element contain auto-height attributes, and the element of id=" header " is highly fixed as 60px, Then the high computational formula of the element of id=" center " is:(H-60) * 100%.
Certainly, in order to easy to use, the JavaScript of dynamic calculation and specified element height can be sealed Component is dressed up, this component can calculate and arrange the height of each element automatically after introducing in the page.
Further, as the application to method shown in above-mentioned Fig. 1, the embodiment of the present invention is additionally provided The adaptive device of a kind of page height, as shown in figure 3, the device includes:Setting unit 31, point With unit 32 and computing unit 33, wherein,
Setting unit 31, arranges self-defined for the Document Object Model to need height adaptive Attribute;
Allocation unit 32, the Custom Attributes for arranging for setting unit 31 distribute corresponding property value;
Computing unit 33, for the adaptive text of property value computed altitude distributed according to allocation unit 32 The height of shelves object model element.
Further, setting unit 31 is for the Document Object Model in code pages viewing area When, increase adaptive as the Document Object Model for needing height adaptive in the way of Custom Attributes Answer height attributes.
Further, allocation unit 32 is for the individual of the Document Object Model according to height adaptive Number determines the property value of each Custom Attributes.
Further, as shown in figure 4, computing unit 33 includes:
Acquisition module 331, the fixed document object of the height and height for obtaining page viewing area The height of model element;
Computing module 332, for the page visible area obtained according to property value and with reference to acquisition module 331 The document of the high computational height adaptive of the Document Object Model that the height and height in domain is fixed The height of object model element.
Further, computing unit 33 is used to travel through Document Object Model in page viewing area Height attributes, read the attribute of the height attributes of the Document Object Model with level altitude attribute Value.
A kind of adaptive device of page height provided in an embodiment of the present invention, can for need height from The Document Object Model of adaptation arranges Custom Attributes, and the Custom Attributes is different from prior art The height attributes that middle Document Object Model is fixed, and be described according to the height of page viewing area Custom Attributes distribution represents the property value of Document Object Model height accordingly, according to the category The height of the Document Object Model of property value dynamic calculation height adaptive.Used in prior art The absolute layouts of CSS realize that the compatible defect that the mode of webpage height adaptive is present is compared, energy of the present invention The Document Object Model of height adaptive is needed by Custom Attributes dynamically distributes and calculating enough Highly, various resolution and polytype browser are adapted to, solves partial document object model unit When plain height is fixed, another part needs the height percentage of the Document Object Model of height adaptive Than the problem that cannot be determined.
In addition in order to easy to use, the JavaScr i pt of dynamic calculation and specified element height can be encapsulated Into component, after introducing in the page, this component can calculate and arrange the height of each element automatically.
The adaptive device of the page height includes processor and memorizer, above-mentioned setting unit 31, Allocation unit 32 and computing unit 33 are stored in memory as program unit, are held by processor Go storage said procedure unit in memory to realize corresponding function.
Kernel is included in processor, goes in memorizer, to transfer corresponding program unit by kernel.Kernel can To arrange one or more, realize realizing that the page is high in various browsers by adjusting kernel parameter Spend adaptive purpose.
Memorizer potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM), memorizer includes at least one storage chip.
Present invention also provides a kind of computer program, when performing in data handling equipment, It is adapted for carrying out initializing the program code of there are as below methods step:To need the document pair of height adaptive As model element arranges Custom Attributes;Distribute corresponding property value for the Custom Attributes;According to The property value calculates the height of the Document Object Model of the height adaptive.
Those skilled in the art it should be appreciated that embodiments herein can be provided as method, system, Or computer program.Therefore, the application can be implemented using complete hardware embodiment, complete software Example, or with reference to the form of the embodiment in terms of software and hardware.And, the application can be using at one Or it is multiple wherein include computer usable program code computer-usable storage medium (include but not Be limited to disk memory, CD-ROM, optical memory etc.) on the shape of computer program implemented Formula.
The application is with reference to according to the method for the embodiment of the present application, equipment (system), and computer program The flow chart and/or block diagram of product is describing.It should be understood that can realize flowing by computer program instructions In each flow process and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram Flow process and/or square frame combination.Can provide these computer program instructions to general purpose computer, specially With the processor of computer, Embedded Processor or other programmable data processing devices producing one Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices It is raw to be used to realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple sides The device of the function of specifying in frame.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that equipment is worked in a specific way so that be stored in the computer-readable and deposit Instruction in reservoir is produced and includes the manufacture of command device, and command device realization is in flow chart one The function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices On so that series of operation steps is performed on computer or other programmable devices to produce computer The process of realization, so as to the instruction performed on computer or other programmable devices is provided for realizing Specify in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames The step of function.
One it is typical configure, computing device include one or more processors (CPU), input/ Output interface, network interface and internal memory.
Memorizer potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).Memorizer is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read only memory (ROM), electrically erasable Except programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc only Read memorizer (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic box type magnetic Band, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, can be used for The information that storage can be accessed by a computing device.Define according to herein, computer-readable medium is not Including temporary computer readable media (transitory media), the such as data signal and carrier wave of modulation.
Embodiments herein is these are only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model Within enclosing.

Claims (10)

1. a kind of adaptive method of page height, it is characterised in that methods described includes:
Document Object Model to need height adaptive arranges Custom Attributes;
Distribute corresponding property value for the Custom Attributes;
The height of the Document Object Model of the height adaptive is calculated according to the property value.
2. method according to claim 1, it is characterised in that described to need height adaptive Document Object Model arrange Custom Attributes, including:
In code pages viewing area during Document Object Model, in the way of Custom Attributes it is The Document Object Model of height adaptive is needed to increase self adaptation height attributes.
3. method according to claim 1, it is characterised in that described for the Custom Attributes Distribute corresponding property value, including:
The category of each Custom Attributes is determined according to the number of the Document Object Model of height adaptive Property value.
4. method according to claim 1, it is characterised in that described according to the property value meter The height of the Document Object Model of the height adaptive is calculated, including:
Obtain the height of the height and highly fixed Document Object Model of page viewing area;
According to the property value and combine the page viewing area height and the height fix The height of the Document Object Model of height adaptive described in the high computational of Document Object Model Degree.
5. method according to claim 4, it is characterised in that obtain the fixed document pair of height As the height of model element, including:
The height attributes of Document Object Model in traversal page viewing area, read with fixed high The property value of the height attributes of the Document Object Model of degree attribute.
6. the method according to any one of claim 1-5, it is characterised in that described self-defined The property value of attribute is the Document Object Model of the height adaptive in all height adaptives Height accounting in Document Object Model.
7. the adaptive device of a kind of page height, it is characterised in that described device includes:
Setting unit, arranges self-defined category for the Document Object Model to need height adaptive Property;
Allocation unit, the Custom Attributes distribution for arranging for the setting unit is corresponding to be belonged to Property value;
Computing unit, the property value for being distributed according to the allocation unit calculate the height certainly The height of the Document Object Model of adaptation.
8. device according to claim 7, it is characterised in that the setting unit is for compiling In the code page viewing area during Document Object Model, to need height in the way of Custom Attributes Adaptive Document Object Model increases self adaptation height attributes.
9. device according to claim 7, it is characterised in that the allocation unit is used for basis The number of the Document Object Model of height adaptive determines the property value of each Custom Attributes.
10. device according to claim 7, it is characterised in that the computing unit includes:
Acquisition module, the fixed document object mould of the height and height for obtaining page viewing area The height of type element;
Computing module, for the page obtained according to the property value and with reference to the acquisition module It is high described in the high computational of the Document Object Model that the height of viewing area and the height are fixed Spend the height of adaptive Document Object Model.
CN201510695925.7A 2015-10-23 2015-10-23 Page height self-adaption method and device Active CN106610824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510695925.7A CN106610824B (en) 2015-10-23 2015-10-23 Page height self-adaption method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510695925.7A CN106610824B (en) 2015-10-23 2015-10-23 Page height self-adaption method and device

Publications (2)

Publication Number Publication Date
CN106610824A true CN106610824A (en) 2017-05-03
CN106610824B CN106610824B (en) 2020-10-09

Family

ID=58612971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510695925.7A Active CN106610824B (en) 2015-10-23 2015-10-23 Page height self-adaption method and device

Country Status (1)

Country Link
CN (1) CN106610824B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240684A (en) * 2017-06-29 2019-01-18 武汉斗鱼网络科技有限公司 A kind of page service logic realization method and system
CN110377205A (en) * 2019-07-09 2019-10-25 北京亚鸿世纪科技发展有限公司 Control the method and device of data visualization large-size screen monitors page automatic adaptive frequency
CN112882775A (en) * 2019-11-29 2021-06-01 北京京东尚科信息技术有限公司 Method and device for self-adaptive adjustment of page template
CN114296852A (en) * 2021-12-28 2022-04-08 挂号网(杭州)科技有限公司 Method and device for displaying target page, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005036416A2 (en) * 2003-10-16 2005-04-21 Michel Rissons Method and device for automatically adapting a display of internet documents
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102012787A (en) * 2010-11-19 2011-04-13 互动在线(北京)科技有限公司 Method for realizing self-adaption of nonfixed region with height/width of browser for cascading style sheet
CN102200985A (en) * 2010-03-23 2011-09-28 深圳市金蝶中间件有限公司 Correspondence device and method of webpage and document object model (DOM)
US20130073514A1 (en) * 2011-09-20 2013-03-21 Microsoft Corporation Flexible and scalable structured web data extraction
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005036416A2 (en) * 2003-10-16 2005-04-21 Michel Rissons Method and device for automatically adapting a display of internet documents
CN102200985A (en) * 2010-03-23 2011-09-28 深圳市金蝶中间件有限公司 Correspondence device and method of webpage and document object model (DOM)
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102012787A (en) * 2010-11-19 2011-04-13 互动在线(北京)科技有限公司 Method for realizing self-adaption of nonfixed region with height/width of browser for cascading style sheet
US20130073514A1 (en) * 2011-09-20 2013-03-21 Microsoft Corporation Flexible and scalable structured web data extraction
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240684A (en) * 2017-06-29 2019-01-18 武汉斗鱼网络科技有限公司 A kind of page service logic realization method and system
CN110377205A (en) * 2019-07-09 2019-10-25 北京亚鸿世纪科技发展有限公司 Control the method and device of data visualization large-size screen monitors page automatic adaptive frequency
CN112882775A (en) * 2019-11-29 2021-06-01 北京京东尚科信息技术有限公司 Method and device for self-adaptive adjustment of page template
CN114296852A (en) * 2021-12-28 2022-04-08 挂号网(杭州)科技有限公司 Method and device for displaying target page, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106610824B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN103744674B (en) Method and device for generating hypertext markup language (HTML) procedure code
CN103617191B (en) Use the hardware-accelerated method and browser for realizing that browser renders
CN106611216A (en) Computing method and device based on neural network
CN107945248A (en) A kind of bubble diagram word methods of exhibiting and device
CN106873925A (en) The display methods and device of label text
CN106610824A (en) Page height self-adaptation method and apparatus
WO2012055787A1 (en) Method for displaying a data set
CN104239206B (en) Webpage method of testing and device
CN106610785A (en) Commodity object list information processing method and apparatus
CN109460540A (en) A kind of table paging display methods and device
CN107133190A (en) The training method and training system of a kind of machine learning system
CN106649369A (en) Adjustment method and device for window display
CN106933887A (en) A kind of data visualization method and device
CN108171528A (en) A kind of attribution method and attribution system
CN108121539A (en) Component processing method and device
CN106843820A (en) Code process method and apparatus
CN105574041A (en) Data reconstruction method and device
CN107402905A (en) Computational methods and device based on neutral net
CN108898604A (en) Method and apparatus for handling image
CN106933916A (en) The processing method and processing device of JSON character strings
CN104090932B (en) A kind of content recommendation method and device
CN107247785A (en) A kind of static readonly map file generation method and device
CN107391533A (en) Generate the method and device of graphic data base Query Result
CN106649317A (en) Method and device for displaying graph
CN106843819A (en) The method and device of object serialization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant