我想复制我在最近的网页模板中看到的效果(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/