CSS3 PIE Forums
http://css3pie.com/forum/

"null" is null or not an object
http://css3pie.com/forum/viewtopic.php?f=4&t=1429
Page 1 of 1

Author:  rulernature [ Fri Dec 16, 2011 7:37 am ]
Post subject:  "null" is null or not an object

Hello fellows, I use pie.js library for my project and till now it works fine but I realized that on ie every time I receive this error "null" is null or not an object. How do I treat this error because is annoying, position and z-index not missing from my css for each element where I use pie js.

If anyone can help, thank you.

Author:  jason [ Fri Dec 16, 2011 9:50 am ]
Post subject:  Re: "null" is null or not an object

You'll have to provide more details. A URL to a site demonstrating the problem would be ideal.

Author:  rulernature [ Thu Dec 22, 2011 1:38 am ]
Post subject:  Re: "null" is null or not an object

I tried to make a debug and saw that code below has some problems, in fact last line: "return s.....". If comment that line css3 is not applied anymore.
/**
* Get the raw CSS value for the target style
* @return {string}
*/
getCss: cacheWhenLocked( function() {
var el = this.targetElement,
ctor = this.constructor,
s = el.style,
cs = el.currentStyle,
cssProp = this.cssProperty,
styleProp = this.styleProperty,
prefixedCssProp = ctor._prefixedCssProp || ( ctor._prefixedCssProp = PIE.CSS_PREFIX + cssProp ),
prefixedStyleProp = ctor._prefixedStyleProp || ( ctor._prefixedStyleProp = PIE.STYLE_PREFIX + styleProp.charAt(0).toUpperCase() + styleProp.substring(1) );
return s[ prefixedStyleProp ] || cs.getAttribute( prefixedCssProp ) || s[ styleProp ] || cs.getAttribute( cssProp );
} ),

I will return with a link.
I forgot to tell you that this happens only inside of wicket modal windows of my projects, hear us soon.

Author:  rulernature [ Mon Jan 09, 2012 12:27 am ]
Post subject:  Re: "null" is null or not an object

I've sent you an email with a java project. If you run localhost for that project with IE8 on debug mode the error will be generated when the modal window is closed.

Author:  Daniel1990 [ Fri Apr 13, 2012 2:02 am ]
Post subject:  Re: "null" is null or not an object

Hello guys.
I have the same problem in a project i'm working on.
So if someone has a solution for this problem, please post it.

with best regards

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/