function toggle(){
$("#tempc").toggle(
function() {
$("#tempc").animate({width: 255, height: 220}, 1000);
$("#tempc").html("");
$("#tempc").css("background-color", "transparent");
$("#tempc").html("<iframe src='/src/stream.php?stream=1' width='255' height='225' frameborder='0' scrolling='no'></iframe><br><a href='javascript:;' onclick='hidegadget();' class='yellowblock'>Sluit</a>");
},
function() {
$("#tempc").animate({width: 50, height:50}, 1000);
$("#tempc").html("");
$("#tempc").css("background-color", "#FFFF00");
$.get('src/stream.php?stream=2', function(data002) {
$('#tempc').html(data002);
});
}
);
}
$.get('src/stream.php?stream=2', function(data002) {
$('#tempc').html(data002);
});
こんにちはstackoverflowの、プリロードはiframe
しばらく前に私はdiv要素をアニメーション化しようとしていた、まあ、それは今だけ一つのことを動作します。 最初の機能がアクティブになっているとき(行3を開始)、iframeが読み込まれます。しかし、今、どうすればそのiframeをプリロードできますか?アニメーションが終了したときのiframeがロードされていないので...
挨拶
は