<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yellow&#039;s Blog &#187; hidefocus</title>
	<atom:link href="http://www.ffsuper.com/blog/index.php/tag/hidefocus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ffsuper.com/blog</link>
	<description>It&#039;s my evolution lab...</description>
	<lastBuildDate>Thu, 17 Dec 2009 01:06:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS+JS方法去除点击链接,按钮时出现的虚线框</title>
		<link>http://www.ffsuper.com/blog/index.php/2009/07/10/cssjs%e6%96%b9%e6%b3%95%e5%8e%bb%e9%99%a4%e7%82%b9%e5%87%bb%e9%93%be%e6%8e%a5%e6%8c%89%e9%92%ae%e6%97%b6%e5%87%ba%e7%8e%b0%e7%9a%84%e8%99%9a%e7%ba%bf%e6%a1%86/</link>
		<comments>http://www.ffsuper.com/blog/index.php/2009/07/10/cssjs%e6%96%b9%e6%b3%95%e5%8e%bb%e9%99%a4%e7%82%b9%e5%87%bb%e9%93%be%e6%8e%a5%e6%8c%89%e9%92%ae%e6%97%b6%e5%87%ba%e7%8e%b0%e7%9a%84%e8%99%9a%e7%ba%bf%e6%a1%86/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 08:14:41 +0000</pubDate>
		<dc:creator>Yellow</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Front Developer]]></category>
		<category><![CDATA[Xhtml+CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hidefocus]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[onfucus]]></category>
		<category><![CDATA[去除虚线框]]></category>

		<guid isPermaLink="false">http://www.ffsuper.com/blog/?p=115</guid>
		<description><![CDATA[      做前台开发时肯定会遇到使用button,a标签的时候，每次点击相关这些标签的时候，我们会经常看到有一个虚线框出现，从视觉效果来看，有虚线框会很刺眼，形象到用户浏览的视觉中心，所以我们有必要将这个刺眼的虚线框去掉。利用google和百度，整理一下相关的方法，方便以后开发当中使用。

    方法一：使用css方法
a {blr:e­xpression(this.onFocus=this.blur())} /*for IE*/
&#160; &#160; &#160; a&#160;{outline:}/*for FireFox*/
      IE浏览器下面还可以使用IE下的私有的html属性：hideFoucs，在标签的结构中加入hidefocus=&#8221;true&#8221;属性。即：
&#60;a href=&#34;http://www.g.cn&#34; hidefocus=&#34;true&#34; title=&#34;谷歌&#34;&#62;谷歌&#60;/a&#62;
    方法二：使用javascript方法：
    通过javascript遍历页面Dom
window.onload=function()
&#160; &#160; &#160;&#160; {
&#160; &#160; &#160; &#160; for(var&#160;i=0; ii&#60;document.links.length; ii++)
&#160; &#160; &#160; &#160; document.links$[$ii$]$.onfocus=function(){this.blur()}
&#160; &#160; &#160;&#160; }
     [...]]]></description>
		<wfw:commentRss>http://www.ffsuper.com/blog/index.php/2009/07/10/cssjs%e6%96%b9%e6%b3%95%e5%8e%bb%e9%99%a4%e7%82%b9%e5%87%bb%e9%93%be%e6%8e%a5%e6%8c%89%e9%92%ae%e6%97%b6%e5%87%ba%e7%8e%b0%e7%9a%84%e8%99%9a%e7%ba%bf%e6%a1%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
