Web Development, CSS.
<script> // 將此程式碼放在所有 js 最後面 $(".load").each(function(){ var s = $(this).attr('data-src') $(this).attr("src", s) }) </script> Explanation 1. Remove the ‘src’ attribute of the <img> , and set a custom property ‘data-src’ according to its source (you can also name it “data-xxxxx”) 2. When finishing