> > Updated the script to support :focus and :after
> >
> > http://lovepeacenukes.com/jquery/ie6cssfix/

May I ask you why you are fetching inline/remote css in the updated
version of your script instead if keeping using document.styleSheets ?
I didn't read carefully the updated version so maybe I didn't found a
reason why to do so. But the new method is quite slower when you have
huge css declaration. All those regexp done on big css is quite slow.
Besides, the regexp is wrong for some case :

eg: #admin_menu_intra a:hover {
...
}

in css will be smashed to

#admin_menu_intraa:hover{...}

then if I follow correctly your script (not did true debugging yet so
I'm not 100% sure) the value used for element matching will be
"#admin_menu_intraa" and it won't match anything.

If you don't mind, I will use a mix between your new and old script,
keeping the style iteration throught document.styleSheets like the old
version and support for :focus & :after like the new one.

-- 
Fabien Meghazi

Website: http://www.amigrave.com
Email: [EMAIL PROTECTED]
IM: [EMAIL PROTECTED]

Reply via email to