Mudanças entre as edições de "MediaWiki:Common.js"
Ir para navegação
Ir para pesquisar
| Linha 9: | Linha 9: | ||
$(this).attr("src", "/images/a/ae/Chest_static.png"); | $(this).attr("src", "/images/a/ae/Chest_static.png"); | ||
} | } | ||
); | |||
$(".video-hover").hover( | |||
function() { | |||
$(this).trigger('play'); | |||
}, | |||
function() { | |||
$(this).trigger('pause'); | |||
$(this).prop('currentTime', 0); | |||
} | |||
); | ); | ||
}); | }); | ||
Edição das 01h56min de 28 de maio de 2022
$(function() {
//Função para interatividade do icone do báu
$(".chest-menu-icon").hover(
function() {
$(this).attr("src", "/images/4/41/Chest.gif");
},
function() {
$(this).attr("src", "/images/a/ae/Chest_static.png");
}
);
$(".video-hover").hover(
function() {
$(this).trigger('play');
},
function() {
$(this).trigger('pause');
$(this).prop('currentTime', 0);
}
);
});