[thelist] Focus behaviour in browsers

James Hardy evolt at weeb.biz
Thu Feb 11 08:10:48 CST 2010

Nice, Firefox (and I think Chrome) both support the :target pseudo-class
selector from CSS-3 [1] which should enable you to do what you want

[1] http://www.w3.org/TR/css3-selectors/#target-pseudo

On 9 February 2010 14:54, aardvark <evolt at roselli.org> wrote:

> this is a neat idea and implementation... it's simple and it makes
> sense... and i do prefer how it works in IE (with the click sticking
> the footnote)... sadly, based on experience i suspect you may need to
> rely on script to get that click-stick to work in the other
> browsers...
> this may not be a big deal since you aren't hobbling any features,
> and it still works well with keyboard navigation... you just want to
> extend that to the mouse...
> also, appending the anchor to the URL
> (http://barneycarroll.com/#footnote0) doesn't make the footnote load
> as visible for me in IE8...
> On 8 Feb 2010 at 17:36, Barney Carroll wrote:
> [...]
> >
> > I've explicitly set bog-simple :focus{display:block} to cover the
> mechanism
> > I'm after, but it doesn't appear to be enough. Is there anything else I
> > might try, or will I have to resort to Javascript to get consistent
> > behaviour out of this?
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list