<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fixing anchor focus in Safari and Opera</title>
	<atom:link href="http://www.russback.com/javascript/fixing-anchor-focus-in-safari-and-opera.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.russback.com/javascript/fixing-anchor-focus-in-safari-and-opera.html</link>
	<description>Professional Web Development</description>
	<lastBuildDate>Sat, 26 Jun 2010 12:03:09 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dan</title>
		<link>http://www.russback.com/javascript/fixing-anchor-focus-in-safari-and-opera.html/comment-page-1#comment-115</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 09 Feb 2010 22:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.russback.com/?p=586#comment-115</guid>
		<description>Great fix thanks! A couple of small improvements if I may..

1. $(target).attr({ tabIndex : -1 }).focus(); // is a bit more compact
2. changing the tabIndex from 0 to -1 prevents div#anchor  from becoming part of the future tab order in Safari</description>
		<content:encoded><![CDATA[<p>Great fix thanks! A couple of small improvements if I may..</p>
<p>1. $(target).attr({ tabIndex : -1 }).focus(); // is a bit more compact<br />
2. changing the tabIndex from 0 to -1 prevents div#anchor  from becoming part of the future tab order in Safari</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kl</title>
		<link>http://www.russback.com/javascript/fixing-anchor-focus-in-safari-and-opera.html/comment-page-1#comment-100</link>
		<dc:creator>kl</dc:creator>
		<pubDate>Mon, 02 Nov 2009 13:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.russback.com/?p=586#comment-100</guid>
		<description>I&#039;d use event bubbling instead of static handlers on all (currently present) anchors, so it wouldn&#039;t interfere with other onclick handlers, would nearly have zero initialization cost, and would work for all future links.</description>
		<content:encoded><![CDATA[<p>I&#8217;d use event bubbling instead of static handlers on all (currently present) anchors, so it wouldn&#8217;t interfere with other onclick handlers, would nearly have zero initialization cost, and would work for all future links.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://www.russback.com/javascript/fixing-anchor-focus-in-safari-and-opera.html/comment-page-1#comment-99</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Mon, 02 Nov 2009 11:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.russback.com/?p=586#comment-99</guid>
		<description>Indeed it is and I&#039;m fully in favour of jQuery&#039;s object detection. This is the first time I&#039;ve had to target Safari and Opera in this way though so I haven&#039;t had a chance to come up with a way to target those browsers with object detection only.</description>
		<content:encoded><![CDATA[<p>Indeed it is and I&#8217;m fully in favour of jQuery&#8217;s object detection. This is the first time I&#8217;ve had to target Safari and Opera in this way though so I haven&#8217;t had a chance to come up with a way to target those browsers with object detection only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.russback.com/javascript/fixing-anchor-focus-in-safari-and-opera.html/comment-page-1#comment-98</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 02 Nov 2009 11:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.russback.com/?p=586#comment-98</guid>
		<description>Good point, I&#039;ll be off to try that out sharpish. 

One point to raise though is that $.browser is deprecated in jQuery and may well be dropping out in future versions. I will also now be writing a home-brew version of that sometime soon.</description>
		<content:encoded><![CDATA[<p>Good point, I&#8217;ll be off to try that out sharpish. </p>
<p>One point to raise though is that $.browser is deprecated in jQuery and may well be dropping out in future versions. I will also now be writing a home-brew version of that sometime soon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
