为什么ascensor.js插件不能工作?
Why ascensor.js plugin doesn't work?
我正在使用插件ascender .js,我试图做一个简单的例子,但它不起作用,我看不到错误。
http://jsfiddle.net/C2vLH/2/JS
$(document).ready(function () {
$('#ascensorBuilding').ascensor({
ascensorName: 'ascensor',
childType: 'section',
ascensorFloorName: ['hello1', 'hello2', 'hello3', 'hello4'],
time: 1000,
windowsOn: 1,
direction: "chocolate",
ascensorMap: [
[1, 0],
[1, 1],
[2, 1]
],
easing: 'easeInOutQuad',
keyNavigation: true,
queued: false,
queuedDirection: "y",
overflow: "hidden"
});
});