Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想要动态加载页面而不像这个站点那样刷新页面。如果您单击功能,图库链接将向左滑动并动态加载新页面。有没有插件可以做到这一点..?
我认为使用 JQuery 和函数 animate 是最简单的解决方案。
您可以在页面上创建 3 个 div 对象。当用户单击链接时,您会将内容异步加载到正确的 div 中,当 ajax 调用成功时,您只需使用 JQuery 中的 animate 函数来移动 div。
这些是一些很好的教程:
jQuery动画功能
jQuery ajax 函数