Opera Mini 在更改方向时不会调整宽度大小
我正在开发一个移动网络项目。该网络应用程序在所有移动浏览器中运行良好。但在 Opera Mini 中,当手机处于横向视图时,它无法调整其宽度。我也尝试过不同的标签。还尝试过“viewport”元名称。但它不起作用。 任何人都可以建议任何技术吗?
提前致谢。
I am working on a mobile web project.The web app is working well in all mobile browser.But in opera mini it can not resize its width when the mobile phone is in landscape view. I have also tried different tags.Also tried with "viewport" meta name.But it doesn't work.
Can any one suggest any technique?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定您是否能够在 Opera Mini 中执行您需要的操作,因为它通过代理服务器提供页面的方式以及对 JavaScript 功能施加的限制:http://en.wikipedia.org/wiki/Opera_Mini#Functionality
I'm not sure you'll be able to do what you need in Opera Mini due to the way it serves pages via proxy servers and the limitations imposed on JavaScript functionality: http://en.wikipedia.org/wiki/Opera_Mini#Functionality
Opera Mini 是一个瘦客户端,它接收在 Opera 服务器上预编译的“智能”映像 (OBML)。当您输入地址时,手机上的瘦客户端会将其发送到 Opera 服务器,后者向远程服务器发出真正的 HTTP 请求。然后 Opera 服务器接收响应,创建图像并将其发送回瘦客户端。因此本身没有 css、html、js 到达瘦客户端。只是 OBML 图像。因此,当您更改设备的方向时,您需要重新加载页面才能生效。这是节省带宽 (80%) 和设备上实时交互之间的权衡。
请随时提出更多问题。
Opera Mini is a thin client which receives an "intelligent" image (OBML) precompiled on Opera Servers. When you enter an address, the thin client on your phone sends it to Opera servers which does the real HTTP request to the distant server. Then the Opera servers receive the response, create the image and sends it back to the thin client. So per se there is no css, html, js reaching the thin client. Just the OBML image. So when you change the orientation of the device you need to make a reload of the page to be effective. This is the trade-off in between saving bandwidth (80%) and live interactions on the device.
Do not hesitate to ask more questions.