帮忙看一下网站内页手机版要怎样改 悬赏1元 已结束
之前是载的源码,也没注意到,后来发现首页是用下面的代码跳转到手机版了,可是内页的网址我用手机浏览的话,还是电脑版的版面,不会变成手机版。
<meta http-equiv="mobile-agent" content="format=xhtml;url=http://www.cnxxdg.com/index.php%22%3E[?]
<script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/applewebkit.*mobile/i.test(navigator.userAgent.toLowerCase()) || (/midp|symbianos|nokia|samsung|lg|nec|tcl|alcatel|bird|dbtel|dopod|philips|haier|lenovo|mot-|nokia|sonyericsson|sie-|amoi|zte/.test(navigator.userAgent.toLowerCase()))){try{if(/android|windows phone|webos|iphone|ipod|blackberry/i.test(navigator.userAgent.toLowerCase())){window.location.href="http://www.cnxxdg.com/index.php%22;[?]}else if(/ipad/i.test(navigator.userAgent.toLowerCase())){}else{}}catch(e){}}}</script>
内页我加了下面代码也不会跳 求帮忙,不想改版了。
<meta name="viewport[?]" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no[?]">
<meta http-equiv="Cache-Control[?]" content="no-transform[?]"/>
<meta name="applicable-device[?]" content="pc,mobile[?]">
<meta name="MobileOptimized[?]" content="width[?]"/>
<meta name="HandheldFriendly[?]" content="true[?]"/>
<div class="header_main por[?]" id="header_main[?]">