javascript - html li 动画

标签 javascript jquery html frameworks

我想复制我在最近的网页模板中看到的效果(here 是链接)。在此模板中,当您单击菜单栏上的链接时,其内容会以某种背景位置变化的形式出现。有没有什么框架可以做这些模板?他们是如何做到的,有什么引用资料吗?

非常感谢您的帮助。

最佳答案

我认为他们使用这个插件:

http://keith-wood.name/backgroundPos.html

查看其页面的来源可以发现:

include('js/jquery.easing.js');
include('js/jquery.backgroundpos.min.js');
include('js/superfish.js');
include('js/switcher.js');
include('js/forms.js');
include('js/googleMap.js');
include('js/jquery.mousewheel.js');
include('js/uScroll.js');
include('js/jquery.color.js');
include('js/jquery.cycle.all.min.js');
include("js/preloadIMG.js");
include('js/MathUtils.js');
include('js/jquery.transform-0.9.3.min.js');
include('js/bg.js');

关于javascript - html li 动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15732066/

相关文章:

javascript - 所有选项卡均已显示,但我希望在任何给定时间仅显示一个选项卡

javascript - Angular 组件/指令的 $postLink 运行得太早

jquery - 通过javascript改变 body 不透明度

javascript - 为什么我不能为 onclick 事件调用一个类?

html - 修剪 css 中的溢出文本?

javascript - AJAX mvc web api : create div with images

javascript - 在javascript中旋转时钟指针

javascript - 如何在单击子按钮时将 "active"类添加到 "this"父类,并在再次单击按钮时切换 "active"类

javascript - 无法检查签名板是否为空

javascript - 使用 Rails 3 和 jQuery 进行动态选择