Lavalamp jquery does not bind

I am trying to get my lavals to work on a site that I will redesign. jquery and links were taken from the previous site, but they do not work when you click on them.

note that all pages are not finished yet, about our page live on the site to check

www.alwaystwisted.com/sandbox/stagecraft/index.html

any ideas?

I am sure that this is something simple, but still too complementary to me.

early

Stu

0
source share
4 answers

Your return is false when you click the link!

 $("#1, #2, #3").lavaLamp({
                fx: "backout", 
                speed: 600,
                click: function(event, menuItem) {
                    //this stops the link from following
                    return false;
                }
            });
+4
source

just replace "false" with "true"

So it will be true

+1
source

"return false;"

?

+1

, :

var $tlt = jQuery.noConflict();
$tlt(function() {
    $tlt('.lavamenu').lavalamp( ... );


});
0

All Articles