<?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: On :target</title>
	<atom:link href="http://css-tricks.com/on-target/feed/" rel="self" type="application/rss+xml" />
	<link>http://css-tricks.com/on-target/</link>
	<description>Tips, Tricks, and Techniques on using Cascading Style Sheets.</description>
	<lastBuildDate>Tue, 18 Jun 2013 05:10:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: paceaux</title>
		<link>http://css-tricks.com/on-target/#comment-165765</link>
		<dc:creator>paceaux</dc:creator>
		<pubDate>Tue, 17 Apr 2012 22:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-165765</guid>
		<description><![CDATA[I&#039;ve used the :target pseudo-class a few different times in projects that were for modern browsers. Most recently, I&#039;ve actually used it to create CSS-only accordions. 

Granted, I know that jQuery can accomplish accordions, and that HTML5 has &lt;code&gt;summary&lt;/code&gt; and &lt;code&gt;details&lt;/code&gt;. But &lt;code&gt;summary&lt;/code&gt;and &lt;code&gt;details&lt;/code&gt; doesn&#039;t have wide browser support, while :target is pretty much IE9 and all modern browsers. 

So, if you find yourself in  a situation where the very large corporate client doesn&#039;t want you using JS libraries,  but they&#039;re ok with CSS3 (yes, it happened to me)  it&#039;s an approach worth considering. I wrote a blog post on the approach. 

http://blog.frankmtaylor.com/2012/04/17/clever-css-tricks-using-target-to-create-accordions/]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve used the :target pseudo-class a few different times in projects that were for modern browsers. Most recently, I&#8217;ve actually used it to create CSS-only accordions. </p>
<p>Granted, I know that jQuery can accomplish accordions, and that HTML5 has <code>summary</code> and <code>details</code>. But <code>summary</code>and <code>details</code> doesn&#8217;t have wide browser support, while :target is pretty much IE9 and all modern browsers. </p>
<p>So, if you find yourself in  a situation where the very large corporate client doesn&#8217;t want you using JS libraries,  but they&#8217;re ok with CSS3 (yes, it happened to me)  it&#8217;s an approach worth considering. I wrote a blog post on the approach. </p>
<p><a href="http://blog.frankmtaylor.com/2012/04/17/clever-css-tricks-using-target-to-create-accordions/" rel="nofollow">http://blog.frankmtaylor.com/2012/04/17/clever-css-tricks-using-target-to-create-accordions/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fahim Mahmood Mir</title>
		<link>http://css-tricks.com/on-target/#comment-165669</link>
		<dc:creator>Fahim Mahmood Mir</dc:creator>
		<pubDate>Tue, 17 Apr 2012 12:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-165669</guid>
		<description><![CDATA[How about to avoid Page Jumping Behaviour by javascript:void() ? i use it like this  href=&quot;javascript:void()&quot;]]></description>
		<content:encoded><![CDATA[<p>How about to avoid Page Jumping Behaviour by javascript:void() ? i use it like this  href=&#8221;javascript:void()&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dezebo</title>
		<link>http://css-tricks.com/on-target/#comment-165452</link>
		<dc:creator>dezebo</dc:creator>
		<pubDate>Mon, 16 Apr 2012 16:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-165452</guid>
		<description><![CDATA[I used to use “return false;” after any code to stop the page jump. For example (this was before I started using jquery) whenever I had an onclick event I would set href to “#” which would cause it to page jump. If I added “return false;” after my javascript code it wouldn’t do that (onclick=”example(‘test’); return false;”). Not sure if it would cause other issues though, didn’t appear to when I used it.]]></description>
		<content:encoded><![CDATA[<p>I used to use “return false;” after any code to stop the page jump. For example (this was before I started using jquery) whenever I had an onclick event I would set href to “#” which would cause it to page jump. If I added “return false;” after my javascript code it wouldn’t do that (onclick=”example(‘test’); return false;”). Not sure if it would cause other issues though, didn’t appear to when I used it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Stephens</title>
		<link>http://css-tricks.com/on-target/#comment-165258</link>
		<dc:creator>Rick Stephens</dc:creator>
		<pubDate>Sun, 15 Apr 2012 18:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-165258</guid>
		<description><![CDATA[Hi Chris,
I played with :target a little after reading this post. Works great except on older IE, of course.]]></description>
		<content:encoded><![CDATA[<p>Hi Chris,<br />
I played with :target a little after reading this post. Works great except on older IE, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luky VJ</title>
		<link>http://css-tricks.com/on-target/#comment-165165</link>
		<dc:creator>Luky VJ</dc:creator>
		<pubDate>Sat, 14 Apr 2012 21:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-165165</guid>
		<description><![CDATA[Hi there ! 
I&#039;ve create an experiment with you technique, let&#039;s see this ! 
http://cssdeck.com/item/307/animated-list-with-target]]></description>
		<content:encoded><![CDATA[<p>Hi there !<br />
I&#8217;ve create an experiment with you technique, let&#8217;s see this !<br />
<a href="http://cssdeck.com/item/307/animated-list-with-target" rel="nofollow">http://cssdeck.com/item/307/animated-list-with-target</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moriartie</title>
		<link>http://css-tricks.com/on-target/#comment-165160</link>
		<dc:creator>Moriartie</dc:creator>
		<pubDate>Sat, 14 Apr 2012 20:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-165160</guid>
		<description><![CDATA[I&#039;ve created a fiddle on this: http://jsfiddle.net/pq9hx/1/embedded/result/

(very, very basic demo!!)]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve created a fiddle on this: <a href="http://jsfiddle.net/pq9hx/1/embedded/result/" rel="nofollow">http://jsfiddle.net/pq9hx/1/embedded/result/</a></p>
<p>(very, very basic demo!!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Simon</title>
		<link>http://css-tricks.com/on-target/#comment-164795</link>
		<dc:creator>Greg Simon</dc:creator>
		<pubDate>Thu, 12 Apr 2012 21:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-164795</guid>
		<description><![CDATA[So happy I came across this script, I was a day or two away from adding a bunch of target links to a site i&#039;ve been working on and this method will make the end result sickkk.

Pretty stoked, hope the webkit animation I have in mind degrades nicely in older browsers...]]></description>
		<content:encoded><![CDATA[<p>So happy I came across this script, I was a day or two away from adding a bunch of target links to a site i&#8217;ve been working on and this method will make the end result sickkk.</p>
<p>Pretty stoked, hope the webkit animation I have in mind degrades nicely in older browsers&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franco</title>
		<link>http://css-tricks.com/on-target/#comment-164754</link>
		<dc:creator>Franco</dc:creator>
		<pubDate>Thu, 12 Apr 2012 16:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-164754</guid>
		<description><![CDATA[Thanks for the data, There are a lot of things to learn, I haven&#039;t heard about &quot;:target&quot; before, It is hard to keep up with everything]]></description>
		<content:encoded><![CDATA[<p>Thanks for the data, There are a lot of things to learn, I haven&#8217;t heard about &#8220;:target&#8221; before, It is hard to keep up with everything</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: McGinty</title>
		<link>http://css-tricks.com/on-target/#comment-164742</link>
		<dc:creator>McGinty</dc:creator>
		<pubDate>Thu, 12 Apr 2012 15:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-164742</guid>
		<description><![CDATA[After reading this I was wondering if you could use :target to create a CSS-only modal window (have seen a few examples of this, but none that use :target). Turns out you can...

http://jsfiddle.net/leonard_mcginty/SzhLq/

Haven&#039;t done a great deal of testing on it, and of course it crashes and burns in the usual browsers, but always fun to experiment.

Ace tip as usual Mr Coyier :-)]]></description>
		<content:encoded><![CDATA[<p>After reading this I was wondering if you could use :target to create a CSS-only modal window (have seen a few examples of this, but none that use :target). Turns out you can&#8230;</p>
<p><a href="http://jsfiddle.net/leonard_mcginty/SzhLq/" rel="nofollow">http://jsfiddle.net/leonard_mcginty/SzhLq/</a></p>
<p>Haven&#8217;t done a great deal of testing on it, and of course it crashes and burns in the usual browsers, but always fun to experiment.</p>
<p>Ace tip as usual Mr Coyier :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ibnu</title>
		<link>http://css-tricks.com/on-target/#comment-164674</link>
		<dc:creator>Ibnu</dc:creator>
		<pubDate>Thu, 12 Apr 2012 08:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16763#comment-164674</guid>
		<description><![CDATA[This tutorial is interesting, this is using css animation, what I know is not all browser are support with css animation, but I like it, are its ok if using css animation?]]></description>
		<content:encoded><![CDATA[<p>This tutorial is interesting, this is using css animation, what I know is not all browser are support with css animation, but I like it, are its ok if using css animation?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (User agent is rejected)
Content Delivery Network via cdn.css-tricks.com

 Served from: css-tricks.com @ 2013-06-17 22:59:34 by W3 Total Cache -->