On 10/18/06, John Resig [EMAIL PROTECTED] wrote:
Well, I don't doubt that people use the lang attribute as intended
(considering that I've never made a non-english site) - however,
there's certainly never been a need for the ~= selector - which is
only remotely useful with lang-related
Choan C. Gálvez schreef:
On 10/18/06, John Resig [EMAIL PROTECTED] wrote:
Well, I don't doubt that people use the lang attribute as intended
(considering that I've never made a non-english site) - however,
there's certainly never been a need for the ~= selector - which is
only remotely
John Resig schreef:
Honestly, I've never seen anyone use
the lang attribute - let alone have a need to select it using a CSS
selector. Hence the reason for removing it.
I've used the lang attribute of the html tag to extract the right
language for the links in a multilingual top level
David Duymelinck schrieb:
John Resig schreef:
Honestly, I've never seen anyone use
the lang attribute - let alone have a need to select it using a CSS
selector. Hence the reason for removing it.
I've used the lang attribute of the html tag to extract the right
language for the links in
On 10/18/06, John Resig [EMAIL PROTECTED] wrote:
Hi Choan -
Hi John, thanks for answering.
* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element with a class name)
* Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any
element
with a hreflang
I've used the lang attribute of the html tag to extract the right
language for the links in a multilingual top level navigation. This is
the code i use
var currentLang = $(html).eq(0).attr(lang);
I change the lang attribute with php. by doing that the site is also
semantically correct. we
Hi all.
While playing with CSS selectors, I've found some strange things (I'm
using the SVN version, rev 445):
* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element with a class name)
* Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element
with a hreflang
Have you tried putting quotes around the values (ie en, es, fill-0)?BlairOn 10/18/06, Choan C. Gálvez
[EMAIL PROTECTED] wrote:Hi all.While playing with CSS selectors, I've found some strange things (I'm
using the SVN version, rev 445):* Attribute selector [EMAIL PROTECTED] doesn't work (returns
Hi Choan -
* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element with a class name)
* Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element
with a hreflang attribute)
Has the support for these selectors been removed?
Yes, I removed support for those
John,
when I saw hreflang, I assumed you supported any attr... what
atttibutes do you support?
is this another place where you should throw an exception?
On 10/17/06, John Resig [EMAIL PROTECTED] wrote:
Hi Choan -
* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element
when I saw hreflang, I assumed you supported any attr... what
atttibutes do you support?
Ah, you misunderstand me. Any attribute is supported - that's not the
problem. The |= and ~= operators are not supported. For example ~=
(which is used with hreflang and lang attributes) parses some
Ok... I recognized ^= , $= and that was plenty for me! |= seemed
weird, and I thought ~= was for a regex.
On 10/17/06, John Resig [EMAIL PROTECTED] wrote:
when I saw hreflang, I assumed you supported any attr... what
atttibutes do you support?
Ah, you misunderstand me. Any attribute is
12 matches
Mail list logo