好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

html网页判断手机还是电脑登陆进入的方法

这篇文章详解html网页判断手机还是电脑登陆进入的方法

<script type="text/javascript">
try{
    if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
        window.location.href="mindex.html";
    }else{
        window.location.href="cindex.html";
    }
}catch(e){}
</script> 

以上就是html网页判断手机还是电脑登陆进入的方法的详细内容,更多请关注Gxl网其它相关文章!

查看更多关于html网页判断手机还是电脑登陆进入的方法的详细内容...

  阅读:39次