Как видно из примера Pixastic, при отправке формы вызывается функция demo()
.
function demo() {
Pixastic.process(document.getElementById("demoimage"), "glow", {
amount : $("#value-amount").val(),
radius : $("#value-radius").val()
});
}
Таким образом, вы включаете glow.js
в свой проект и вызываете эту функцию при наведении курсора.
$('img.myimage').hover(function() {
Pixastic.process($(this), "glow", {
amount : 0.5,
radius : 0.5
});
}, function() {
Pixastic.process($(this), "glow", {
amount : 0,
radius : 0
});
});
или revert()
как образец показывает