On Nov 13, 8:12 am, Scott Sauyet <scott.sau...@gmail.com> wrote: > On Thu, Nov 12, 2009 at 4:59 PM, weepy <jonah...@gmail.com> wrote: > > Not strictly jQuery Dev, but you guys might find it an interesting > > technique: > > [ ... ] > >http://blog.parkerfox.co.uk/2009/11/12/css-in-your-face-only-ie-need-... > Well now I don't need to write it. I just thought of this idea last > week and starting working through it in my head.
A co-worker and I were just talking about this yesterday, and he found Cssie. Like I always say: if I have thought of it, then someone else has probably already thought of it, brainstormed it, built it, and packaged it ;) > Looking at the implementation (without doing any real testing) I'm > wondering about something. Why do you start by looping through the > <link/> tags rather than starting with document.styleSheets. I wondered the same thing. It looks like it does an ajax call to retrieve each stylesheet, which is not efficient, and ignores css defined in-page. Instead, consider looking through document.styleSheets and inspecting .cssText of each and parsing that. Matt Kruse -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=.