Share Posted July 25, 2013 Hi, I'm simply unable to workaround/fix an error being thrown in IE8 and TweenMax. Using the uncompressed version of TweenMax the error details are as follows: Invalid Argument: TweenMax.js Line 4207 Character 7 Object Expected: TweenMax.js Line 4209 Character 7 My javascript code is: TweenMax.set( wrapper_inner, { "height": settings.scaling.h+"px" }); wrapper_inner is defined via jquery and exists, settings.scaling.h is a valid number. Link to comment Share on other sites More sharing options...
Author Share Posted July 25, 2013 Another observation, if I have the developer tools running I still see the TweenMax error noted above but the page works. If the developer tools are off, I'm getting tons of strange errors (anchor tag event handlers aren't firing, element visibility that is controlled via js isn't set correctly etc.. yet I'm not seeing any other JS errors in the console. I am using a Paul Irish shim for the console object, and I'm seeing all of my debugging messages in the console so I know that's not the issue here. Really stumped on this one. Link to comment Share on other sites More sharing options...
Share Posted July 25, 2013 Hi Is this working on other browsers?. What draws my attention is the fact that you've defined the height property as a string TweenMax.set( wrapper_inner, { "height": settings.scaling.h+"px" }); Therefore the engine is looking to tween a property that doesn't exists. Try the following code TweenMax.set( wrapper_inner, { height: settings.scaling.h+"px" }); Also it would be great if you could set up a live sample, codepen or fiddle to get a better idea of what could be the issue. Hope this helps Cheers Rodrigo Link to comment Share on other sites More sharing options...
Share Posted July 26, 2013 Hi Mike, It would really help if you could provide files or a link to a reduced test case so that we can get a better idea of what's happening. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now