FX.move exception

a place to get help

Moderator: 1.1 Moderators

FX.move exception

Postby CACUSer on Fri Jul 10, 2009 1:49 am

I am am new to Mootools. I have been tring to move a div section with the following code:

try {
var mover = new Fx.Move($('setPositionTarget'), {
relativeTo: $('chart_div'),
position: 'upperRight',
edge: 'upperLeft',
offset: { x: 10, y: 100 }
});
mover.start(); //moves to the new location
}
catch (e) {
alert(e.message);
}

The start function throws an exception: Object doesn't support this property or method

What am I doing wrong?
CACUSer
 
Posts: 1
Joined: Fri Jul 10, 2009 1:46 am

Re: FX.move exception

Postby daKmoR on Fri Jul 10, 2009 4:56 pm

did you include all needed stuff from more?

seems like this class is missing?
"Speak when you are angry and you will make the best speech you will ever regret." - Ambrose Bierce
User avatar
daKmoR
Site Admin
 
Posts: 860
Joined: Mon Jul 14, 2008 11:40 am


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest