How to Enable Jquery Lavalamp's Links

I've used lavalamp's menu in my project several times and have experienced the same problem 2 or 3 times after copying the code from the downloadable zipped file. It's as if the links were not there and even you click the menulink the page will not redirect. The culprit is the default javascript code from the zipped file:
$("#nav").lavaLamp({
            fx: "backout",
            speed: 700,
            click: function (event, menuItem) {
                return false;
            }
        });
The "click" function should return true, or delete the function if you won't implement your own code on click.

1 Comments

  1. thank you tons! i was all worked up i couldnt figure out why my code didnt work and of course it was the simplest thing that i kept overlooking... youre a life saver!

    ReplyDelete

Post a Comment

Post a Comment

Previous Post Next Post
NERV Open Source

Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.

Explore NERV on GitHub →