jquery スクリプトにある関数の起動を遅らせようとしています。settimeout を設定しましたが、何らかの理由でそれが実行されず、スクリプトの残りの部分が壊れてしまいます。これについて私が得ることができる助けを前もって感謝します。
JS
<script type="text/javascript">
$(function () {
$("#fullscreen_launch").click(function () {
$("#fullscreen").animate({
height: '100%',
top: '0px',
}, 950, setTimeout(function () {
$('#fullscreen').load('http://www.klossal.com/portfolio/space_fullscreen.html');
}, 2000);
});
});
});
</script>