2016-08-03 39 views

回答

0

也許這樣?

$(document).ready(function() { 
    //Hide all location images 
    $("img.locations").toggle(); 

    $("img.backround-image").on("load", function() { 
     $("img.locations").fadeIn(); 
     //Show all location images with a fade in 
     //- or any other animation for all location images 
    }); 
});