jQuery Lavalamp with Ajax Navigation

Lavalamp should set current page as selected, but most of the time this does not work.

I’m also using ajax navigation, so that might be the problem.

Can someone take a look at my site and tell me what’s wrong?

Thanks.

SpatialVoid :: Premium Custom Designing

The return false part of the ajax loader prevents the lavalamp from also capturing the event, so instead, tell the event to prevent the default action. That will prevent the web browser from following the link, but allow the click event to continue bubbling up through the DOM to where lavalamp can also capture it.


$(c).click(function(evt) {
    AjaxContent.getContent(this.href);
    evt.preventDefault();
});

thanks, loved ur answer