Jquery Mobile data-role=“内容”不使用 Jquery Mobile?
我基本上想创建 DOM 部分的效果 - div 等 - 就像单页一样,例如 data-role = 内容或页面 - 但不使用 jquery 或 jqmobile,因为我发现这些框架太大而且太复杂我需要的简单任务。它们也经过精心设计,我不想使用。
我看到了这些帖子,但他们正在寻找类似的过渡,而不是基本功能 JQuery 移动页面转换,无需 jQuery mobile
没有 jQuery Mobile 库的 jQuery Mobile CSS3 页面转换
但是这些帖子让我相信有一个简单而轻松的答案可以模仿功能。谁能推荐一些 Javascript、HTML5,甚至是一个轻量级框架来实现这一点?
谢谢
I basically want to create the effect of parts of the DOM - divs etc - acting like single pages, like the data-role = content or page - but without using jquery or jqmobile as I find those frameworks too big and much too complicated for the simple tasks I require. They also come heavily designed, that I dont want to use.
I saw these posts, but they are looking for similar transitions, not the basic functionality
JQuery mobile page transition without jQuery mobile
jQuery Mobile CSS3 Page Transitions without jQuery Mobile Library
But these posts lead me to believe there is a simple and light answer out there to mimic the functionality. Can anyone suggest some Javascript, HTML5, or even a light framework that does this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 JQM 源代码怎么样?这就是开源项目的好处...;-)
源代码非常小,我相信您将能够手动提取适合您需要的任何内容。
How about just having a look at the JQM source code? That's the nice thing about open-source projects... ;-)
Sourcecode is pretty small, I am sure you'll be able to manually extract whatever fits your needs.