JS菜单栏滑动

id:元素dom的id; index:起始索引(0-n); startFunc:执行切换的前置判断,返回false可阻止切换; endFunc:切换后执行操作,x为点击的li; createAndRun:创建即执行切换

zip 文件大小:5.31KB