打印

IE,手机 自适应怎么实现?

请高手解答
通过IE下发push给手机,然后手机点击下载?

如果这样的话其实就和IE没关系了,就是手机wap上的适配而已

回复 #2 hardstudying 的帖子

不太明白你的意思。。。。
Dim h_accept
       h_accept = LCase(CStr(Request.ServerVariables("HTTP_ACCEPT")))
       
       If InStr(h_accept, "application/vnd.wap.xhtml+xml") <> 0 Then
              Response.ContentType = "application/vnd.wap.xhtml+xml"
       ElseIf InStr(h_accept, "application/xhtml+xml") <> 0 Then
              Response.ContentType = "application/xhtml+xml"
       ElseIf InStr(h_accept, "text/vnd.wap.wml") <> 0 Then
              Response.ContentType = "text/vnd.wap.wml"
              
       Else
              Response.ContentType = "text/html"

TOP

还在为头像烦恼?还在为不能关注好友动态烦忧?快来蓝色理想家园吧!
很是没看懂,是在测试所用的设备支持不支持wml?那请问如何实现opera和ie分开显示网页呢?

TOP

呵...不错..
折除~~重组自己~~~
MyBlog

TOP