Skip to content
This repository

Not working with IE 8 #109

Closed
toots opened this Issue November 14, 2012 · 2 comments

2 participants

Romain Beauxis Felix Gnass
Romain Beauxis

Hi,

Testing on IE 8 right now I have an error there:
https://github.com/fgnass/spin.js/blob/gh-pages/spin.js#L307

IE 8 and before do not support setting opacity value. Instead, you should set a filter, as described there:
http://blogs.msdn.com/b/ie/archive/2010/08/17/ie9-opacity-and-alpha.aspx
(note that typeof c.opacity here returns "unknown" and not "undefined" as claimed in the link above)

Looking at the rest of the code, the use of opacity seems to be all over it so I am wondering if this code really works in IE 8 and before..?

Felix Gnass
Owner

This is the opacity attribute of the VML fill-element:
http://msdn.microsoft.com/en-us/library/bb229612(v=vs.85).aspx

If it doesn't work for you it's probably because of
a) some other conflicting library on your page or
b) a browser plugin interfering with it.

To verify please view the spin.js homepage in a vanilla IE, for example on http://browserstack.com.

Romain Beauxis

Ok, thanks for the response!

I think my IE is pristine (it's a barebone VM install) but I will test further..

Felix Gnass fgnass closed this May 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.