You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
timnagel
Есть такой код,мне бы хотелось у вас помощи попросить!
<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

Edited by timnagelLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.