Jump to content

timnagel

Neophyte
  • Posts

    1
  • Joined

  • Last visited

Information

  • Sex
    мужской

timnagel's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Есть такой код,мне бы хотелось у вас помощи попросить! <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div class="gif" href="#"><b><img src="wp-content/uploads/2019/06/dff1229c6aa7918825198e72570faf49717e2082_00.gif" alt=""></b> <a><audio id="soun-link" preload="auto"> <source src="wp-content/uploads/2019/06/zvuk-ventiljatora.mp3" type="audio/mpeg"> </audio> <script> var sounLink = $("#soun-link")[0]; $(".gif b").mouseenter(function(mousePressed) { sounLink.play(); }); </script> Как сделать что бы при убирании курсора с gif музыка переставала проигрываться ? zvuk-ventiljatora.mp3
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy