ReinisVārtukapteinis:
私は今、新しいjQueryライブラリで作業されていないこの古いコードを持っています。これは1.7.2でうまく動作しますが、私は今、3.2.1を使用しています。それは新しいライブラリで動作しますので、コードに変更することはありますか?
<div class="last-screem-open" id="last-screem-open" onclick="$('#last-screem-open,#last-screem-text,#last-screem-open-button').animate({left: '-=60'}, 200, 'linear');$('#last-screem-wrapped').delay(300).animate({left: '+=250'}, 200, 'linear');">
<b class="last-screem-open-button" id="last-screem-open-button">▸</b><span id="last-screem-text">TExt</span>
</div>
(function($) {
$('.macro-post-poster img, .post-block-poster img').show().lazyload({
effect: 'fadeIn',
threshold: 200
});
$("img.lazy").lazyload({
container: $("#right")
});
})(jQuery);
ショーン・T:
あなたは使用することができますjqueryの移行を、あなたの後に追加の作業 jQueryライブラリ(1.7.x)、それはあなたがバージョン3.xでの仕事にあなたのコードを取得するために変更する必要があるものをハイライト表示されます
ただ、出力用のコンソールを確認してください。