Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

scale in ie7 & ie8

Recommended Posts

Hi, I am really enjoying using this library and am fairly new to using the javascript version. I am having some problems with the css scale. I am trying to scale a div with a background image. They syntax I am using is TweenMax.to( $('.hero'), 1, {css:{scaleX:1.5,scaleY:1.5}, ease:Quad.easeInOut}) when the animation happens the div just disappears but only in IE7 and IE8, works perfect in everything else. Is my syntax incorrect?


Thanks for any help anyone can offer,


Link to comment
Share on other sites

Could you post an example HTML/JS/CSS file? I can't seem to reproduce this problem. I just copied/pasted your exact code into a sample page of mine and it appeared to work perfectly in IE7 and IE8. Once I can see a simple example from you, I'm sure I'll be able to diagnose what's going on.

Link to comment
Share on other sites

Hmm...I couldn't see that same result, but I did notice that you have invalid HTML. You didn't close your <div> tag. You only have <div class="hero" id="hero_image"> but no </div>. You also didn't have any doc type declared or <html> or <head> or <body> tags.


Either way, though, the square didn't disappear in IE8 or IE7 for me. It still animated fine. I'm really curious to figure out how to reproduce the issue.


When you fix your HTML, does it resolve things for you?

Link to comment
Share on other sites

heh, that was silly on my part. I put in all the missing pieces and it still disappears. Though it does seem to just be my laptop, I checked it out on a friends computer with ie7 and 8 and it animated just fine like you were saying. Very strange.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.