On Jun 7, 6:13 pm, Dean Edwards <
dean.edwa...@gmail.com> wrote:
> On 6 June 2010 23:46, Ian <
ian.h...@gmail.com> wrote:
>
> > Hi there, is this script provide callback function? For example, I
> > want to execute a function right after this script is done all fixings
> > for IE6. Is it possible?
>
> There is already a feature request for this. I might add it soon.
>
>
http://code.google.com/p/ie7-js/issues/detail?id=61
>
Thank you very much.
> > By the way, if I need only a few fixings, is there a way to choose how
> > many fixings I need instead of apply all fixings? By doing this, the
> > file size loaded by IE6 can be reduced.
>
> This is the way that the code used to be organised. But the
> configuration was confusing for some people. After gzip, the file size
> is only about 10K so I wouldn't worry about it too much.
>
> -dean
By choosing only a few fixings we want, it can not only significantly
reduce the file size, but can also increase the loading speed. Unused
scripts will burden IE6 because they check the style sheet for those
CSS selectors that we actually never use. Anyway, if adding this
feature requires re-write the whole script, just forget it.