Javascript 在jquery中在图像上弹出图标

Javascript 在jquery中在图像上弹出图标,javascript,jquery,svg,web,Javascript,Jquery,Svg,Web,我期待有一个图像加载,然后位置图标弹出与良好的动画,如反弹或弹出效果。我目前有静态图像,但想让它更有趣。也许是这样的 $(document).ready(function() { //Hide all location images $("img.locations").toggle(); $("img.backround-image").on("load", function() { $("img.locations").fadeIn();

我期待有一个图像加载,然后位置图标弹出与良好的动画,如反弹或弹出效果。我目前有静态图像,但想让它更有趣。

也许是这样的

$(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
    });
});

请使用画布提供您的代码。发布你的代码,像这样吗-