callback function?

9 views
Skip to first unread message

Ian

unread,
Jun 6, 2010, 6:46:35 PM6/6/10
to ie7-js
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?

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.


Best Regards,
Ian

Dean Edwards

unread,
Jun 7, 2010, 6:13:32 AM6/7/10
to ie7...@googlegroups.com
On 6 June 2010 23:46, Ian <ian....@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

> 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

Ian

unread,
Jun 13, 2010, 3:55:43 AM6/13/10
to ie7-js


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.
Reply all
Reply to author
Forward
0 new messages