By returning false
, you prevent the default behavior of the link from occurring:
$(function() {
$(".menu-lava").lavaLamp({
fx: "backout",
speed: 700,
click: function(event, menuItem) {
return false; // <--- Right here
}
});
});