私はここで新しく、jQueryの関数に問題があります-「アニメーション」
function myFunction(newpage) {
$('#loader').animate({opacity: 0.0}, 400, 'linear', function(){
// callback of fadeOut()
$(this).load(newpage + ".php #toload", function(){
// callback of load()
$('#loader').animate({opacity: 100.0}, 400, 'linear', function(){
//callback of fadeIn()
// (not relevant for my problem, I think)
$.getScript("js/test.js");
});
});
});
}
私の問題は、最初の「アニメーション」はチャームのように機能しますが、2番目の「アニメーション」はアニメーションなしで新しいコンテンツを正しくロードします(単純な「フェードイン」)。
誰でも私を助けることができますか?アドバイスありがとうございます!
PS私の英語でごめんなさい