私が使用するとき、hide()
またはshow()
それらが機能するとき-しかし、私が使用するときeffect()
、それらは機能しません。ここにコードの少しの平和があります:
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
私のスクリプトは次のとおりです。
<script type="text/javascript">
$(document).ready(function() {
$(".palas").fadeIn(2000);
/*$(".palas").click(function () {
$(this).hide( "fold",
{horizFirst: true }, 2000 );
});*/
$(".palas").click(function () {
$(this).hide();
});
});
</script>
コメントされていない部分はうまく機能していますが、コメントされている部分はそうではありません。これよりも多くのオプションを試してみました。