这是网站:www.alweso.2ap.pl
我无法使其在手机上正常工作(调整浏览器的大小可以正常工作)。
我最终发现问题的很大一部分是该网站上的jQuery似乎无法在手机上运行的事实。我该怎么办?
我知道有类似jQuery mobile的东西,但是必须安装吗?典型的jQuery库应该还不够吗?
jQuery可在手机上使用。jQuery mobile仅用于以移动为中心的功能。
我注意到您在开发人员控制台中的网站上存在很多错误。我会先解决这些问题:
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.alweso.2ap.pl/js/jquery.mobile/jquery.mobile-1.4.2.min
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.alweso.2ap.pl/nivo-slider.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.alweso.2ap.pl/lib/jquery.bxslider.css
Uncaught SyntaxError: Unexpected identifier arrow-bounce.js:2
Uncaught SyntaxError: Unexpected end of input onemore.js:12
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.alweso.2ap.pl/font-awesome-4.0.3/css/font-awesome-4.0.3/fonts/fontawesome-webfont.woff?v=4.0.3
移动浏览器可能无法从这些错误中恢复,但台式机可以。
您可以在JavaScript控制台中找到这些错误。对于Chrome,您可以通过以下几种方式打开它:
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句