我有以下代码,
$("#nav").accordion({
event: "mouseover",
autoHeight: false,
collapsible: false,
animate: 'bounceslide',
<?php
// Checks for active page and opens the related tab
$uri = $_SERVER['REQUEST_URI'];
switch($uri):
case '/anti-social-behavior-logging':
echo('active: 0,'); break;
case '/telehealth-services':
echo('active: 1,'); break;
case '/telecare-services':
echo('active: 2,'); break;
case '/lone-worker-safety-services':
echo('active: 3,'); break;
case '/repairs-reporting-services':
echo('active: 4,'); break;
default:
echo('active: 5,');
endswitch;
?>
});
但是我收到以下错误,
未捕获的类型错误:对象 # 没有方法 'bounceslide'
为什么是这样?你可以在http://www.astraline.co.uk看到这个问题——据我所知,我有所有我需要的库来工作。