jgrowl メッセージ ボックス内のテキストを設定しています。次に例を示します。
function findID(whichID, command){
if($(whichID).length)
{
var url='<script>\n\
$("'+whichID+'").fadeOut().load("include/common.php?q='+command+'&p='+username+'", function(response, status, xhr) { $(this).fadeIn(); });<\/script>';
$(whichID).fadeOut().html(url).fadeIn();
}
}
var myID0="myID0";
var data='<div id="'+myID0+'" class="arm-info"></div>';
$('#rightcolumn').jGrowl(data, {sticky:true });
mytimerID0=window.setInterval(findID, 3000, '#'+myID0, "show_queue");
それは機能しますが、交換は本当にぎくしゃくしています。
2 つのロード コール間をスムーズに移行するにはどうすればよいですか?
ありがとうアルマン。