以下の2つの関数は、カスタム関数を定義するためにその周りに関数next(){;}と関数prev(){'}を追加する場合を除いて、スクリプトとして機能します。
私はここで何が間違っているのですか?
function next() {
$('#up').click(function() {
$("#two").prev().animate({height:'80%'}, 500);
});
;}
function prev() {
$('#down').click(function() {
$("#two").next().animate({height:'80%'}, 500);
});
;}