


<?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>Justin Cox's Mindless Chatter &#187; code</title>
	<atom:link href="http://justincox.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://justincox.com</link>
	<description>Home to a part time super hero. Maybe.</description>
	<lastBuildDate>Mon, 04 Jan 2010 16:30:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easy Spoiler Tags in Wordpress with CSS</title>
		<link>http://justincox.com/2008/easy-spoiler-tags-in-wordpress-with-css/</link>
		<comments>http://justincox.com/2008/easy-spoiler-tags-in-wordpress-with-css/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 17:38:51 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Category X]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.justincox.com/?p=892</guid>
		<description><![CDATA[I&#8217;ve been known to spoil a few things in the past on Twitter and here on the blog. Sometimes my excitement prevents me from using better judgement. To try and counter that, at least here on the blog, I&#8217;ve created a simple spoiler tag.
On the site, the spoiler tag will simply black out the text [...]


Potentially Related Posts (Automatically Generated):<ol><li><a href='http://justincox.com/2007/april-5th-is-naked-day/' rel='bookmark' title='Permanent Link: April 5th is Naked Day!'>April 5th is Naked Day!</a></li>
<li><a href='http://justincox.com/2009/i-now-know-what-a-cylon-is/' rel='bookmark' title='Permanent Link: I Now Know what a Cylon is'>I Now Know what a Cylon is</a></li>
<li><a href='http://justincox.com/2009/25-random-things-that-are-mostly-false/' rel='bookmark' title='Permanent Link: 25 Random Things&#8230; That are Mostly False'>25 Random Things&#8230; That are Mostly False</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been known to spoil a few things in the past on Twitter and here on the blog. Sometimes my excitement prevents me from using better judgement. To try and counter that, at least here on the blog, I&#8217;ve created a simple spoiler tag.</p>
<p>On the site, the spoiler tag will simply black out the text in question. Should you want to read the spoiler, all you have to do is put your mouse on the text and all will be revealed. Check it out:</p>
<p>You&#8217;re reading this text and all is really cool but all of a sudden I decided to drop <span class="spoiler">some really revealing information that you weren&#8217;t expecting</span>. Now, thanks to the <span class="spoiler">spoiler tag</span>, you don&#8217;t have to see if you don&#8217;t want to.</p>
<p>Should you want to implement this on your own site, all you have to do is add the following CSS to your style.css template file:</p>
<blockquote>
<pre>.spoiler { background: #000; color: #000; }
.spoiler:hover { background: inherit; color: inherit; }
</pre>
</blockquote>
<p>Then, the next time you decide to write something that could contain potentially spoilerific details, just wrap the text in a spoiler span:</p>
<blockquote>
<pre>&lt;span class="spoiler">Juicy information goes here.&lt;/span></pre>
</blockquote>
<p>I&#8217;m sure there are other things you could use this for, like making your blog posts look like something released under the Freedom of Information Act, but I&#8217;ll leave that up to you.</p>


<p>Potentially Related Posts (Automatically Generated):<ol><li><a href='http://justincox.com/2007/april-5th-is-naked-day/' rel='bookmark' title='Permanent Link: April 5th is Naked Day!'>April 5th is Naked Day!</a></li>
<li><a href='http://justincox.com/2009/i-now-know-what-a-cylon-is/' rel='bookmark' title='Permanent Link: I Now Know what a Cylon is'>I Now Know what a Cylon is</a></li>
<li><a href='http://justincox.com/2009/25-random-things-that-are-mostly-false/' rel='bookmark' title='Permanent Link: 25 Random Things&#8230; That are Mostly False'>25 Random Things&#8230; That are Mostly False</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://justincox.com/2008/easy-spoiler-tags-in-wordpress-with-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
