Adaptation method and device for display of web application
The invention discloses an adaptation method and device for display of a web application. The adaptation method for display of the web application comprises the following steps that a virtual window used for displaying a Web page is established on a mobile terminal, and the width resolution ratio of...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an adaptation method and device for display of a web application. The adaptation method for display of the web application comprises the following steps that a virtual window used for displaying a Web page is established on a mobile terminal, and the width resolution ratio of the virtual window is set to be a fixed value; a picture is loaded, the width resolution ratio of the picture is set to be the same as that of the virtual window, and the equal-proportion zooming is conducted on the picture till the width of the image is the same as that of the virtual window; the picture is set to be the background and is displayed in the virtual window. According to the adaptation method for display of the web application, the virtual window with the width resolution ratio being the fixed value is established in the mobile terminal to be used for displaying the Web page, in this way, it is guaranteed that the Web page in the web application of the mobile terminal is displayed consistently, and d |
---|