Jump to content
Search Community

Opacity Not Working in IE8

Guest Vizury
Moderator Tag

Go to solution Solved by Guest Vizury,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

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

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.
×
×
  • Create New...