<script type='text/javascript' src='<%baseurl%><%basename%>/site/js/jquery.js'></script>
<script type='text/javascript' src='<%baseurl%><%basename%>/site/js/jquery-1.4.2.min.js'></script>
<script type='text/javascript' src='<%baseurl%><%basename%>/site/js/cookie.js'></script>
<script type='text/javascript'>
path = '<%baseurl%>/files/gimgs/';
$(document).ready(function()
{
// Hide all menu options after first
$("#menu ul li.section-title").nextAll().hide();
// Show after click
$("#menu ul").each(function(){
$(this).find("li.active").prevAll().nextAll().show();
});
// Toggle Function
$("#menu ul li.section-title").click(function(){
$(this).nextAll().slideToggle("fast");
});
setTimeout('move_up()', 1);
});
</script>
这是在indexhibit上运行的,可以在这里看到:http://www.problemwithauthority.com
答案 0 :(得分:0)
尝试删除旧版jQuery。
<script type='text/javascript' src='<%baseurl%><%basename%>/site/js/jquery.js'></script>