$("#test").mousemove(function(e){
    var percx = e.offsetX/ $(this).width() * 100;
    var percy = e.offsetY/ $(this).height() * 100;
    $('#vystup').html(percx + " | " + percy + " perc");
});