Mootools Error

Hi

I got the following problem in my site: http://bit.ly/HxxMSN
When we click on the sub links, it should slide but its giving a JS error now: currentHandle is null

onWalk: function(currentItem,currentHandle){
				this.handles.removeClass('selected');
				currentHandle.addClass('selected');

It worked well in early IE6 and other old browsers, but not in the new ones. Let me know.

Cheers!

The issue is happening in this particular piece of the code.


onWalk: function(currentItem,currentHandle){
    this.handles.removeClass('selected');
    currentHandle.addClass('selected');
}

The variables are all good up until the removeClass part is performed.
For some reason, the removeClass method seems to also remove what currentHandles references.

So what do you suggest?

I don’t know much at all about mootools, but hoopefully what I’ve done is to help provide info so that someone else who does know can help.