简体   繁体   English

尝试在我的Web应用程序中使用Mobile Framework:Gliders

[英]Trying to use Mobile Framework: Gliders in my web application

I'm currently trying to adapt my currently in-development jquery-mobile web application to use the navigational structure from this mobile template called Gliders, and I'm having some issues. 我目前正在尝试使我当前正在开发的jquery-mobile Web应用程序适应使用此名为Gliders的移动模板中的导航结构,并且遇到了一些问题。

http://www.enableds.com/products/gliders/ http://www.enableds.com/products/gliders/

I've been following their FAQ in order to incorporate the page structure, as well as the left sidebar in an attempt to get their navigational structure working, but I keep getting the following error in tons of my scripts: 我一直在遵循他们的常见问题解答,以合并页面结构以及左侧边栏,以使它们的导航结构正常工作,但是我在大量脚本中始终遇到以下错误:

$ is not a function $不是函数

This is what was happening when I kept my current version of jquery in (which is 1.11.3); 当我保留当前版本的jquery(1.11.3)时,就是这种情况。 and when I switched to their version (which is 1.8.2), I get this error: 当我切换到他们的版本(1.8.2)时,出现此错误:

$(...).sketch is not a function $(...)。sketch不是函数

Though even if I comment my sketch functions out, the left sidebar isn't showing up at all. 尽管即使我将草图功能注释掉,但左侧边栏完全没有显示。

Does anyone have experience with using templates like this? 有没有人有使用过这样的模板的经验?

看起来是因为我使用的jQuery版本与应用程序中使用的版本不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM