0
我曾多次嘗試在手風琴中保持彈跳效果,但我失敗了。有人能告訴我什麼是我的問題?jQuery 1.9.1 UI反彈動畫不起作用?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>accordion 2</title>
我把下面的腳本從jQuery網站,今天的8月1日,2013年
<link rel="stylesheet" href="css/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="css/jquery.ui.all.css" type="text/css" />
<script type="text/javascript" src="java/jquery-1.9.1.js"></script>
<script type="text/javascript" src="java/jquery.ui.core.js"></script>
<script type="text/jscript" src="java/jquery-ui.js"></script>
<script type="text/javascript" src="java/new/jquery.ui.widget.js"></script>
<script type="text/javascript" src="java/new/jquery.ui.accordion.js"></script>
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
animated: "bounceslide"
});
})
</script>
</head>
<body>
<div id="accordion">
<h3><a href="#">Accordion Header 1</a></h3>
<div>
xxxxxxx
</div>
<h3><a href="#">Accordion Header 2</a></h3>
<div>
lsadjf lksj dflj slkjf lksdf
</div>
<h3><a href="#">Accordion Header 3</a></h3>
<div>
lkjd flksj flkj lskdjf oeijro lv,mncvpef
</div>
</div>
</body>
</html>
任何幫助請 – Khalil