Jump to content
GreenSock

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

Opacity Not Working in IE8

Recommended Posts

Hi ,

 

I am trying fade in fadeout animation using greensock

I am using these funcitons for hiding and showing images

TweenMax.to("#image_" + id, 2, {
display: "block",
opacity: 0.99,
ease: Power4.easeOut
});
 
 
TweenMax.to("#image_" + id, 2, {
display: "none",
opacity: 0
});
 
It is working in all browsers , but when it comes to IE8 after 2 seconds images are hiding but I opacity is not getting changed.
I am using latest CSSPlugin available from green sock.
Any help regarding this would be appreciated.
 
Thanks in advance.
 
 
 
This is not working in IE8 windows 7 machine
 
.

See the Pen iHdek by jonathan (@jonathan) on CodePen

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums,

 

The CodePen editor does not work in IE8 and the pen you referenced of Jonathan's uses jQuery 2 which also isn't supported by IE8.

 

I edited Jonathan's pen to use no jQuery and make use of autoAlpha. 

 

Please test the debug view in IE8: http://s.codepen.io/GreenSock/debug/zrEoYZ

 

Editor view (modern browsers): http://s.codepen.io/GreenSock/pen/zrEoYZ

 

Does the IE8 debug view work for you?

  • Like 1
Link to comment
Share on other sites

Hi Carl,

 

The link you gave is working in IE8.

 

Thanks.

  • Like 1
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.
×