Question

I'm struggling getting my lavalamp to work on a site i'm redesigning. the jquery and links were taken from the previous site but they're not working when you click on them.

note all pages aren't finished yet, about us page is live on the site to check

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

any ideas?

I'm sure it's something simple, but still too complext for me.

thanks in advance

Stu

Was it helpful?

Solution

Your returning false when the link has been clicked!

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

OTHER TIPS

just replace the "false" with "true"

So it will be return true;

doesn't deleting the line

"return false;"

also fix it?

Use this code, it solves the problem:

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


});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top