Ie7-js
code.google.com
code.google.com
It's trivial to use and much faster than IE7.js since it relies on the browser engine to do most of the work parsing selectors etc. The author Jason Johnston is very responsive in the forums as well. Even better, the upcoming version 0.11 of Compass (http://beta.compass-style.org) includes a mixin for PIE which makes adding cross-browser rounded corners a matter of two lines.
Didn't think I'd see this happen in my lifetime...
I spent maybe 5 minutes adding this to my site, and I have to say I'm impressed. Copy the file to your server, add one new tag to your css wherever your radius css defs are and viola, done.
Prior to using this I was able to get IE looking nearly identical to Chrome/FF/Safar - except for drop-shadows and rounded corners. I've been pretty strict about not deviating from the open standards and this has actually caused several arguments between me and one of my biz partners (he just doesn't get why I refuse to 'fix' the issue in IE with one of the graphic hacks out there - and has been seeking advice from designers about this even!).
So yeah, huge thanks again because not only does this solution thorough rocks for what I needed and took no time to implement, but also now my biz partner is going to have one less thing to fight with me about (and probably move back on to telling clients about new features he wants that I have't started yet...).
I submitted it again in the hopes that it will help others (http://news.ycombinator.com/item?id=2086498).
filter: dropshadow(color=#333333, offx=1, offy=1);
For JS use Prototype or jQuery and voila, IE renders quite fine.
btw: Microsoft must be the least "green" software-company ever. All the electricity spent on figuring out how to write css for IE.. :)
It doesn't cause z-index bugs like position relative does! :)
However, while we're talking about fixing IE6, who wants to port WebKit to Javascript with me?
But even so, you'll probably hit some weirdness in IE6's jscript implementation.
However, excanvas was quite slow though, at least last I tried it.
Also, JScript is actually surprising good and is nothing like the DOM or CSS, AFAIK the only known bugs are Named Function Expressions being parsed as Function Declarations (http://kangax.github.com/nfe/#jscript-bugs), and a couple RegExp bugs (http://blog.stevenlevithan.com/category/cross-browser).
I suppose if you count DOM bugs, like the memory leak, that's a problem. That's where jQuery is amazingly helpful(and presumably other libraries like it).
Considering Raphael is as slow as excanvas in IE (but much faster in other browsers), it's probably IE's fault, not excanvases.
JSLint picks it up:
Error:
Problem at line 1 character 22: Extra comma.
var x = { foo : "bar", };So you would be losing the ability to have the browser do layout for you, losing the ability to scroll sanely, etc, and gaining perhaps some improvement in consistency, maybe. And maybe not.
I think you'd have better luck porting it to Alchemy[1] and running it through Flash. Even if users don't have the plugin (many will[2]) you could take advantage of Adobe's drive-by Flash installation (something I strangely find myself wishing Microsoft would adopt for IE updates).
[1]http://labs.adobe.com/technologies/alchemy/ [2]http://www.adobe.com/products/player_census/flashplayer/vers...
It would be more useful if it were part of a toolkit like Dojo or jQuery, and would automatically happen when you use their AJAX functions.
I'll test it at work on monday and get back with the results, this looks promising