Fabien,
This needs to be done to support the :focus pseudo class.
Getting the stylesheet with the native cssText method will return :focus as
unkown.
/christian
2007/9/23, Fabien Meghazi <[EMAIL PROTECTED]>:
>
>
> > May I ask you why you are fetching inline/remote css in the updated
> > versi
> May I ask you why you are fetching inline/remote css in the updated
> version of your script instead if keeping using document.styleSheets ?
Ok, understood, you're doing this because of :after
As I'm not using it, I will use the old version with just support for
:hover & :focus
--
Fabien Meg
> > 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
> Updated the script to support :focus and :after
>
> http://lovepeacenukes.com/jquery/ie6cssfix/
Mhhh :focus on input !! I need this ! ;-)
Unfortunately I tried it on the application I'm currently working and
it makes IE eating 10 Mo every seconds until swapspace is filled.
Going to look at it.
This looks great, thanks for taking your time in writing it.
Is it me or the :after example in firefox doesn't work?
On 9/22/07, Christian Bach <[EMAIL PROTECTED]> wrote:
>
> Updated the script to support :focus and :after
>
> http://lovepeacenukes.com/jquery/ie6cssfix/
>
> /christian
>
> 2007/9/2
Updated the script to support :focus and :after
http://lovepeacenukes.com/jquery/ie6cssfix/
/christian
2007/9/21, Christian Bach <[EMAIL PROTECTED]>:
>
> Unfortunately :after renders as unknown in ie6 :(
>
> So no luck there...
>
> 2007/9/21, Christian Bach <[EMAIL PROTECTED]>:
> >
> > That woul
Unfortunately :after renders as unknown in ie6 :(
So no luck there...
2007/9/21, Christian Bach <[EMAIL PROTECTED]>:
>
> That would be way cool, and not to hard to implement!
>
> /christian
>
> 2007/9/21, Brandon Aaron <[EMAIL PROTECTED]>:
> >
> > Well why not fix :after and :before too :)
> >
>
Thanks Christian! I had this same frustration on a recent product and
simply added a manual class for IE6. It was a quick fix but you had
to remember to update both if the look and feel was ever changed. I
like your method much better because it uses the actual original
:hover class definition.
That would be way cool, and not to hard to implement!
/christian
2007/9/21, Brandon Aaron <[EMAIL PROTECTED]>:
>
> Well why not fix :after and :before too :)
>
> --
> Brandon Aaron
>
> On 9/21/07, Christian Bach <[EMAIL PROTECTED] > wrote:
> >
> > Yeah that would make sense!
> >
> > A other thing
Well why not fix :after and :before too :)
--
Brandon Aaron
On 9/21/07, Christian Bach <[EMAIL PROTECTED]> wrote:
>
> Yeah that would make sense!
>
> A other thing that could be use full is to have a fix for the :focus
> selector in IE6.
> All though it will be returned as "unknown" in ie6.
>
>
>
Yeah that would make sense!
A other thing that could be use full is to have a fix for the :focus
selector in IE6.
All though it will be returned as "unknown" in ie6.
If you want to make a plugin and release it it's fine by me.
/christian
2007/9/21, Fabien Meghazi <[EMAIL PROTECTED]>:
>
>
> > >
> > 1. The script only looks for declarations in the stylesheets, that's the
> > beauty of it.
> yes, but I mean that if you look at the content of the cssRules
> variable you will see that there are a lot of css declaration which
> could be avoided (or they can't ?)
Christian,
Ok, here's what I
> 1. The script only looks for declarations in the stylesheets, that's the
> beauty of it.
yes, but I mean that if you look at the content of the cssRules
variable you will see that there are a lot of css declaration which
could be avoided (or they can't ?)
> 3. Yeah i know but I'm lazy.
Here's
Joel: nope i didn't plan on adding it, but if you want you can add it.
Brandon: thanks man!
Fabien:
1. The script only looks for declarations in the stylesheets, that's the
beauty of it.
2. If it was rewritten to use Brandons exellent livequery plugin it would
work with load append etc.
3. Yeah i
> Here is a simple script that solves the problem:
> http://lovepeacenukes.com/jquery/ie6hoverfix/
Cool !!
Got some questions:
1) would it be possible to detect :hover declarations in css in order
to do stuff only on css rules that actually have a :hover declared
2) what if a $(#foo").load("i
Nice. Thanks for sharing!
--
Brandon Aaron
On 9/21/07, Christian Bach <[EMAIL PROTECTED]> wrote:
>
> Hi list,
>
> The other day i got feed up with ie6 not having :hover css support so i
> decided to fix it.
>
> Here is a simple script that solves the problem:
> http://lovepeacenukes.com/jquery/ie
Thanks Christian! Very handy indeed. Will you add this to the plugin
repository? Either way, I'm stealling it (along with a credit to you
of course) for regular use :)
Cheers
Joel Birch.
17 matches
Mail list logo