阅读背景:

需要使用PHP检测移动浏览器并为Joomla模板加载mobile.css文件

来源:互联网 

I need to detect if somebody is using a mobile browser (media queries aren't enough in this situation) via php and then load a mobile.css file to override a few lines of css due to lack of proper support for some code I'm using. I'm building a joomla template, so I need it to dynamically generate the path to the css file. So, am I doing this right? Example:I need to detect if somebody is using a mobile




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: