Ok so I am playing with the "motion tween" lib that utilizes FF and IE css opacity's to fade in or out elements.
problem is that if I use DOM to insert my opacity styles:
onto my elements before preforming my fade calls, IE throws an error at me in the middle of the fading:
However if I leave the opacity css style inline with out DOM inserting them, then I get no error and everything is fine.
Error:'filters.alpha' is null or not an object
So my question is, am I setting the IE opacity with DOM incorrectly or what?
BTW line 51 is in the actual opacityTween.js lib:
if(t.filters) t.filters.alpha['opacity'] = v;
Here is my site:
NOTE: the fade in effect is a based on a cookie session so you will only see the fade in effect on the first time you enter the site, unless you delete your cookies (IE also requires you to restart the browser).