CSS3 PIE Forums http://css3pie.com/forum/ |
|
PIE.js: currentStyle and window.attachEvent errors http://css3pie.com/forum/viewtopic.php?f=3&t=635 |
Page 1 of 1 |
Author: | jszpila [ Mon Mar 21, 2011 1:23 pm ] |
Post subject: | PIE.js: currentStyle and window.attachEvent errors |
Author: | skill83@gmail.com [ Tue Mar 22, 2011 6:07 am ] |
Post subject: | Re: PIE.js: currentStyle and window.attachEvent errors |
Author: | jason [ Tue Mar 22, 2011 6:22 pm ] |
Post subject: | Re: PIE.js: currentStyle and window.attachEvent errors |
Not sure about the first issue. For the second, you'll always want to make sure you load PIE.js within a conditional comment, to prevent non-IE browsers from downloading and attempting to execute it. |
Author: | twebb72 [ Fri May 27, 2011 1:35 pm ] |
Post subject: | Re: PIE.js: currentStyle and window.attachEvent errors |
Riiiiiiight. Just download and put this one line in..... To make this library really turn-key, the lib itself should do this detection, not require that a bunch of detection to get it to work. I'd be complaining less if this was actually the picture that's advertised. Yes, I get its a free product. But development team time is not. Communicate this. Perhaps document via the documentation link on the site. Your efforts are appreciated. |
Author: | jason [ Fri May 27, 2011 2:04 pm ] |
Post subject: | Re: PIE.js: currentStyle and window.attachEvent errors |
@twebb72 I have to say your tone is pretty insulting. There's actually a reason I've chosen not to add detection like that into the library. In the interest of site performance, nobody wants PIE.js to be downloaded by browsers that don't need it -- you only want IE to download it. There is *no way* for the library itself to do this, so you have to use a conditional comment around the script tag anyway. If there's a conditional comment, then there's no reason to waste file size on detection code that isn't needed. I agree that the need for this single conditional comment is missing in the documentation for the PIE JS version on http://css3pie.com/documentation/pie-js/, and I will add it there asap. This is of course not an issue with the recommended PIE.htc file in the first place. If having to add those two extra lines in your code is not turn-key enough for you then I don't know what to tell you. |
Page 1 of 1 | All times are UTC - 7 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |