This project is archived and is in readonly mode.

#823 ✓invalid
brus

FX.Move error in IE7: object expected

Reported by brus | January 5th, 2010 @ 04:33 PM

Hi all,

I downloaded mootools-1.2.4-core-nc.js and mootools-1.2.4.2-more.js.

I included in the "MORE" section download just the FX.MOVE feature.

It works fine with FF and chrome, but it does not work with IE7, as it shows the error message "object expected"

The code is quite simple: I'm trying to move the following div:

Using the code:

new Fx.Move($('setPositionTarget')).start();

As I said, it works fine with other browsers.

Thanks in advance for any help.

Brus

Comments and changes to this ticket

  • fakedarren

    fakedarren February 8th, 2010 @ 01:45 PM

    • Milestone cleared.
    • State changed from “new” to “open”
    • Assigned user set to “fakedarren”

    Can you provide an example in mooshell (http://mootools.net/shell)

    Also just to check - have you wrapped your code in a domready event - this is a common reason why this would happen in IE and not other browsers - I just have to check this before I investigate further.

    Cheers
    Darren

  • brus

    brus February 11th, 2010 @ 03:20 PM

    Hi Darren,

    as you supposed, I forgot to include the code inside the domready event.

    Thanks for your hint :-)

    Regards,

    Brus

  • fakedarren

    fakedarren February 11th, 2010 @ 03:22 PM

    • State changed from “open” to “invalid”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages