Jquery UIsダイアログを使用してこの情報を表示するデバッグツールがあります。ちょうど楽しみのために、私はボックスが隠されるたびに別のアニメーションを作りたいと思っています(ボタンで閉じるなど)。Jquery UIのランダムhideアニメーション
$('.devTool .devToolContent').dialog({
autoOpen: false,
modal: true,
hide: "explode",
width:'auto',
dialogClass: 'devToolDialog',
resizable: true,
open: function(event, ui) {
// Make the area outside the box clickable. When cliked the dialog box closes.
$('.ui-widget-overlay').bind('click', function() { $(this).siblings('.ui-dialog').find('.ui-dialog-content').dialog('close'); });
}
});
あなたが見ることができるように、私は今アニメーションを爆発があります。他のアニメーションの一部はフェードとスライドです(Jquery UI documentation - Hide effectsのリストを参照)。
作品。各ページには、新しいアニメーションが表示されます。それぞれの「閉じる」でランダムなアニメーションを使用することはさらに楽しいでしょう。 – HNygard