<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>pancake theorem</title>
	
	<link>http://pancaketheorem.com</link>
	<description>a blog with words and code by jenn schiffer</description>
	<lastBuildDate>Thu, 10 May 2012 16:16:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/pancaketheorem" /><feedburner:info uri="pancaketheorem" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Blogging vs. Masters</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/HmaBPdmsx3o/</link>
		<comments>http://pancaketheorem.com/blogging-vs-masters/#comments</comments>
		<pubDate>Thu, 10 May 2012 16:16:49 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[masters]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=3002</guid>
		<description><![CDATA[Only one week into May. I think I&#8217;m off to a great start. I&#8217;m so glad to finally graduate. Now I can do things&#8230;like everything I&#8217;ve avoided doing for the past three and a half months.]]></description>
			<content:encoded><![CDATA[<p><img src="http://pancaketheorem.com/wp-content/uploads/2012/05/chart_1.png" alt="" title="chart_1" width="600" height="371" class="alignnone size-full wp-image-3003" /></p>
<p>Only one week into May. I think I&#8217;m off to a great start.</p>
<p>I&#8217;m so glad to finally graduate. Now I can do <em>things</em>&#8230;like everything I&#8217;ve avoided doing for the past three and a half months.</p>
<p><a href="http://pancaketheorem.com/blogging-vs-masters/" rel="bookmark" title="Permanent link to 'Blogging vs. Masters'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/HmaBPdmsx3o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/blogging-vs-masters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/blogging-vs-masters/</feedburner:origLink></item>
		<item>
		<title><![CDATA[SimpleSlides 2.0 →]]></title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/MxomhLXlcak/</link>
		<comments>http://pancaketheorem.com/simpleslides-2/#comments</comments>
		<pubDate>Thu, 10 May 2012 01:26:33 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Things I Made]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[kyle machlachlan]]></category>
		<category><![CDATA[simpleslides]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[version 2.0]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2989</guid>
		<description><![CDATA[I updated SimpleSlides just now. In v1.0, you had to give an id="1" to the first slide and increment that for each slide afterwards &#8211; as well as add a class="slide". No more! Now, just add a class of &#8220;slide&#8221; to each slide and the position stuff is done automagically. Grab it on Github if [...]]]></description>
			<content:encoded><![CDATA[<p>I updated SimpleSlides just now. In v1.0, you had to give an <code>id="1"</code> to the first slide and increment that for each slide afterwards &#8211; as well as add a <code>class="slide"</code>. No more! Now, just add a class of &#8220;slide&#8221; to each slide and the position stuff is done automagically. <a href="https://github.com/jennschiffer/SimpleSlides" target="_blank">Grab it on Github</a> if you so desire.</p>
<p><a href="http://pancaketheorem.com/simpleslides-2/" rel="bookmark" title="Permanent link to 'SimpleSlides 2.0'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/MxomhLXlcak" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/simpleslides-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/simpleslides-2/</feedburner:origLink></item>
		<item>
		<title>Skillcrush: daily tech terms in your inbox</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/oJvXK4scJzk/</link>
		<comments>http://pancaketheorem.com/skillcrush-daily-tech-terms-in-your-inbox/#comments</comments>
		<pubDate>Fri, 04 May 2012 18:00:45 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Code & Tutorials]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[girl power]]></category>
		<category><![CDATA[skillcrush]]></category>
		<category><![CDATA[tech term of the day]]></category>
		<category><![CDATA[tech vocabulary]]></category>
		<category><![CDATA[women and computing]]></category>
		<category><![CDATA[word of the day]]></category>
		<category><![CDATA[young girls and computing]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2963</guid>
		<description><![CDATA[Skillcrush is a &#8220;soon-to-launch online learning community for female creatives, thinkers and makers.&#8221; You can sign up for their daily &#8220;Tech Term of the Day&#8221; email, where they give little snippets of info about a specific tech term, along with clever illustrations appropriate for little ones and us older gals. I think it&#8217;s a great [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://pancaketheorem.com/wp-content/uploads/2012/05/Screen-Shot-2012-05-04-at-1.55.33-PM.png" alt="" title="Screen Shot 2012-05-04 at 1.55.33 PM" class="alignnone size-full wp-image-2964" /></p>
<p><a href="http://www.skillcrush.com/" target="_blank">Skillcrush</a> is a &#8220;soon-to-launch online learning community for female creatives, thinkers and makers.&#8221; You can sign up for their daily &#8220;Tech Term of the Day&#8221; email, where they give little snippets of info about a specific tech term, along with clever illustrations appropriate for little ones and us older gals.</p>
<p>I think it&#8217;s a great techie word-of-the-day for young girls, and I look forward to seeing what else the company has planned for the future!</p>
<p><a href="http://pancaketheorem.com/skillcrush-daily-tech-terms-in-your-inbox/" rel="bookmark" title="Permanent link to 'Skillcrush: daily tech terms in your inbox'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/oJvXK4scJzk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/skillcrush-daily-tech-terms-in-your-inbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/skillcrush-daily-tech-terms-in-your-inbox/</feedburner:origLink></item>
		<item>
		<title>Urban Camouflage Antitheft Laptop case</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/lm9Ws8NF9yw/</link>
		<comments>http://pancaketheorem.com/urban-camouflage-antitheft-laptop-case/#comments</comments>
		<pubDate>Tue, 01 May 2012 19:31:58 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Accessories]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[antitheft]]></category>
		<category><![CDATA[cases]]></category>
		<category><![CDATA[clever]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[laptop cases]]></category>
		<category><![CDATA[laptop sleeves]]></category>
		<category><![CDATA[newspapers]]></category>
		<category><![CDATA[sleeves]]></category>
		<category><![CDATA[theft]]></category>
		<category><![CDATA[urban camouflage antitheft laptop case]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2957</guid>
		<description><![CDATA[There are a few clever laptop sleeves out there that look like objects least likely to be stolen &#8211; just like this Urban Camouflage Antitheft laptop case by La Vanguarda. This will probably make you think twice about ignoring newspapers left on train seats. Or not.]]></description>
			<content:encoded><![CDATA[<p><img src="http://pancaketheorem.com/wp-content/uploads/2012/05/fancy-laptopcase.jpg" alt="" title="fancy-laptopcase" class="alignnone size-full wp-image-2958" /></p>
<p>There are a few clever laptop sleeves out there that look like objects least likely to be stolen &#8211; just like this <a href="http://www.thefancy.com/sales/4529/urban-camouflage-antitheft-laptop-case-la-vanguarda">Urban Camouflage Antitheft laptop case</a> by La Vanguarda.</p>
<p>This will probably make you think twice about ignoring newspapers left on train seats. Or not.</p>
<p><a href="http://pancaketheorem.com/urban-camouflage-antitheft-laptop-case/" rel="bookmark" title="Permanent link to 'Urban Camouflage Antitheft Laptop case'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/lm9Ws8NF9yw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/urban-camouflage-antitheft-laptop-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/urban-camouflage-antitheft-laptop-case/</feedburner:origLink></item>
		<item>
		<title>In case you’re wondering where the hell I’ve been</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/Dj0dsJiusJ4/</link>
		<comments>http://pancaketheorem.com/in-case-youre-wondering-where-the-hell-ive-been/#comments</comments>
		<pubDate>Tue, 01 May 2012 17:40:44 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[graduate school]]></category>
		<category><![CDATA[invitation]]></category>
		<category><![CDATA[masters]]></category>
		<category><![CDATA[montclair state]]></category>
		<category><![CDATA[montclair state university]]></category>
		<category><![CDATA[msu]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2951</guid>
		<description />
			<content:encoded><![CDATA[<p><a href="http://jennschiffer.tumblr.com/post/22141974656/all-msu-faculty-students-and-loiterers-within" target="_blank"><img src="http://pancaketheorem.com/wp-content/uploads/2012/05/Screen-Shot-2012-05-01-at-1.35.48-PM.png" alt="" title="Screen Shot 2012-05-01 at 1.35.48 PM" class="alignnone size-full wp-image-2952" /></a></p>
<p><a href="http://pancaketheorem.com/in-case-youre-wondering-where-the-hell-ive-been/" rel="bookmark" title="Permanent link to 'In case you&#8217;re wondering where the hell I&#8217;ve been'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/Dj0dsJiusJ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/in-case-youre-wondering-where-the-hell-ive-been/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/in-case-youre-wondering-where-the-hell-ive-been/</feedburner:origLink></item>
		<item>
		<title><![CDATA[Techlaunch →]]></title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/VWCuh2Y-lM0/</link>
		<comments>http://pancaketheorem.com/techlaunch/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 19:54:48 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Things I Like]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[accelerators]]></category>
		<category><![CDATA[investing]]></category>
		<category><![CDATA[montclair]]></category>
		<category><![CDATA[montclair state]]></category>
		<category><![CDATA[montclair state university]]></category>
		<category><![CDATA[msu]]></category>
		<category><![CDATA[new jersey]]></category>
		<category><![CDATA[seed accelerators]]></category>
		<category><![CDATA[startup accelerators]]></category>
		<category><![CDATA[startups]]></category>
		<category><![CDATA[techlaunch]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2943</guid>
		<description><![CDATA[Techlaunch is NJ&#8217;s first startup accelerator and it&#8217;s living on Montclair State University&#8217;s campus. They just launched their site and are taking applications until the end of May. If you have a team, an idea/product, and are up to the challenge of a 12-week intense startup bootcamp, apply today! This is a great opportunity for [...]]]></description>
			<content:encoded><![CDATA[<p>Techlaunch is NJ&#8217;s first <a href="http://en.wikipedia.org/wiki/Seed_accelerator" target="_blank">startup accelerator</a> and it&#8217;s living on Montclair State University&#8217;s campus. They just launched their site and are taking applications until the end of May. If you have a team, an idea/product, and are up to the challenge of a 12-week intense startup bootcamp, <a href="http://techlaunch.com/apply/" target="_blank">apply today</a>!</p>
<p>This is a great opportunity for the local tech community <em>and</em> for MSU, and I&#8217;m excited to be on their roster of mentors for their inaugural cohort.</p>
<p><a href="http://pancaketheorem.com/techlaunch/" rel="bookmark" title="Permanent link to 'Techlaunch'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/VWCuh2Y-lM0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/techlaunch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/techlaunch/</feedburner:origLink></item>
		<item>
		<title><![CDATA[Dan Shipper: &#8220;I&#8217;m Sure It Will Only Take You A Few Days To Code&#8221; →]]></title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/w__mdYgKXtA/</link>
		<comments>http://pancaketheorem.com/dan-shipper-im-sure-it-will-only-take-you-a-few-days-to-code/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 16:32:13 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[argh]]></category>
		<category><![CDATA[dan shipper]]></category>
		<category><![CDATA[etiquette]]></category>
		<category><![CDATA[manners]]></category>
		<category><![CDATA[non-developers]]></category>
		<category><![CDATA[pet peeves]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2936</guid>
		<description><![CDATA[Some of the simplest coded tasks, to the non-developer&#8217;s eye, involve the most sophisticated of development work. If you&#8217;re not a developer and you want a good eye-roll, trivialize your developer&#8217;s worth by telling them that you&#8217;re sure the task is simple and can be done quickly.]]></description>
			<content:encoded><![CDATA[<p>Some of the simplest coded tasks, to the non-developer&#8217;s eye, involve the most sophisticated of development work. If you&#8217;re <em>not</em> a developer and you want a good eye-roll, trivialize your developer&#8217;s worth by telling them that you&#8217;re <em>sure</em> the task is simple and can be done quickly.</p>
<p><a href="http://pancaketheorem.com/dan-shipper-im-sure-it-will-only-take-you-a-few-days-to-code/" rel="bookmark" title="Permanent link to 'Dan Shipper: &#8220;I&#8217;m Sure It Will Only Take You A Few Days To Code&#8221;'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/w__mdYgKXtA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/dan-shipper-im-sure-it-will-only-take-you-a-few-days-to-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/dan-shipper-im-sure-it-will-only-take-you-a-few-days-to-code/</feedburner:origLink></item>
		<item>
		<title>What to do if your Tumblr theme "does not allow" ask boxes.</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/eA13-k9TRpw/</link>
		<comments>http://pancaketheorem.com/what-to-do-if-your-tumblr-theme-does-not-allow-ask-boxes/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 14:01:34 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Code & Tutorials]]></category>
		<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ask box]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tumblr]]></category>
		<category><![CDATA[tumblr themes]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2926</guid>
		<description><![CDATA[All Tumblr themes allow ask boxes, folks. The issue is that not all themes have the link to the Ask Box &#8211; which is always http://example.tumblr.com/ask (replace example with your Tumblr username). In order to add the ask box link to your theme, you need to actually edit the HTML code. Don&#8217;t worry, though, it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>All Tumblr themes allow ask boxes, folks. The issue is that not all themes have the <em>link</em> to the Ask Box &#8211; which is always <code>http://example.tumblr.com/ask</code> (replace <code>example</code> with your Tumblr username).</p>
<p>In order to add the ask box link to your theme, you need to actually edit the HTML code. Don&#8217;t worry, though, it&#8217;s quite simple.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">{block:AskEnabled}
   &lt;a href=&quot;/ask&quot;&gt;Ask Me Anything&lt;/a&gt;
{/block:AskEnabled}</pre></div></div>

<p>Not to get too in-depth about Tumblr theme development, the <code>{block:AskEnabled}</code> block tells Tumblr that anything between that and the ending <code>{/block:AskEnabled}</code> block should be visible <em>only</em> if you have the Ask Box enabled in your settings. In this snippet, the HTML for adding a link to the ask page is what will be visible. If you don&#8217;t have the Ask Box enabled in your settings, then none of this will show.</p>
<p>Put this code in your template wherever you want the link to show up in your theme, and you&#8217;ll be good to go. It&#8217;s a good idea to copy and paste your theme code into a text file before you make changes &#8211; that way you have a backup in case you royally screw up (lord knows <em>I</em> have before).</p>
<p><a href="http://pancaketheorem.com/what-to-do-if-your-tumblr-theme-does-not-allow-ask-boxes/" rel="bookmark" title="Permanent link to 'What to do if your Tumblr theme &quot;does not allow&quot; ask boxes.'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/eA13-k9TRpw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/what-to-do-if-your-tumblr-theme-does-not-allow-ask-boxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/what-to-do-if-your-tumblr-theme-does-not-allow-ask-boxes/</feedburner:origLink></item>
		<item>
		<title>Prevent users from prematurely submitting data in your form using jQuery</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/ZE5_dyoMJ1I/</link>
		<comments>http://pancaketheorem.com/prevent-users-from-prematurely-submitting-data-in-your-form-using-jquery/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 16:34:18 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Code & Tutorials]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[building forms]]></category>
		<category><![CDATA[carriage return]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[keydown]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2863</guid>
		<description><![CDATA[I developed a site that was just released to a small number of beta users. It required the collection of data, and some users would prematurely submit the form by hitting their enter key &#8211; which triggers the form&#8217;s submit button. Proper validation made sure that we received the required data, but it didn&#8217;t give [...]]]></description>
			<content:encoded><![CDATA[<p>I developed a site that was just released to a small number of beta users. It required the collection of data, and some users would prematurely submit the form by hitting their enter key &#8211; which triggers the form&#8217;s submit button. Proper validation made sure that we received the required data, but it didn&#8217;t give the user a chance to provide non-required data. </p>
<p>For example, let&#8217;s say you have a form with one text area and a submit button.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;form&gt;
   &lt;label for=&quot;name&quot;&gt;Enter your name:&lt;/label&gt;
   &lt;input type=&quot;text&quot; class=&quot;text-input&quot; name=&quot;name&quot; /&gt;
   &lt;input type=&quot;submit&quot; value=&quot;Submit your name!&quot; /&gt;
&lt;/form&gt;</pre></div></div>

<p>If you have one text input, then preventing a premature submit is not a problem. Let&#8217;s say you have 10 text inputs, not all required, though. Even if data is not required, you don&#8217;t want to take away the user&#8217;s chance of entering it. Non-required doesn&#8217;t necessarily mean not useful; in that were the case, we wouldn&#8217;t even <em>have</em> those fields in the form.</p>
<p>Fixing this is easy, though. You just prevent the default action of the carriage return key (character code 13) from happening.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input.text'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">keydown</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
   <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">keyCode</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">13</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      event.<span style="color: #660066;">preventDefault</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>I made sure to do the keydown() call <em>only</em> on items with class=&#8221;text&#8221; because I don&#8217;t want to take away the keyboard&#8217;s ability to submit the form if the user tabbed over to the submit button. I want to make the form more accessible to the user, not less!</p>
<p><a href="http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes" title="JavaScript Char Codes" target="_blank">Here is a nice, clear list of character codes</a>, such as the 13 I used for the carriage return.</p>
<p><a href="http://pancaketheorem.com/prevent-users-from-prematurely-submitting-data-in-your-form-using-jquery/" rel="bookmark" title="Permanent link to 'Prevent users from prematurely submitting data in your form using jQuery'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/ZE5_dyoMJ1I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/prevent-users-from-prematurely-submitting-data-in-your-form-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/prevent-users-from-prematurely-submitting-data-in-your-form-using-jquery/</feedburner:origLink></item>
		<item>
		<title>SimpleSlides</title>
		<link>http://feedproxy.google.com/~r/pancaketheorem/~3/2eDn4jxamZo/</link>
		<comments>http://pancaketheorem.com/simpleslides/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 18:12:49 +0000</pubDate>
		<dc:creator>jenn</dc:creator>
				<category><![CDATA[Things I Made]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[nicholas cage]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[simpleslides]]></category>
		<category><![CDATA[slideshows]]></category>

		<guid isPermaLink="false">http://pancaketheorem.com/?p=2899</guid>
		<description><![CDATA[This week I gave a presentation to students on advising and other info. During my lunch hour the day before (the only time I&#8217;ve had to breathe all week since we have faculty candidate interviews for what seems like forever) I built a simple HTML/CSS/jQuery slideshow framework. I mean, I guess you can call it [...]]]></description>
			<content:encoded><![CDATA[<p>This week I gave a presentation to students on advising and other info. During my lunch hour the day before (the only time I&#8217;ve had to breathe all week since we have faculty candidate interviews for what seems like forever) I built a simple HTML/CSS/jQuery slideshow framework. I mean, I guess you can call it a framework &#8211; <em>it&#8217;s a single html document</em>.</p>
<p>Because of its simplicity and its being a set of slides, I call it <a href="http://pancaketheorem.com/stuff/simpleslides/" target="_blank">SimpleSlides</a>.</p>
<p><a href="http://pancaketheorem.com/stuff/simpleslides/" target="_blank"><img src="http://pancaketheorem.com/wp-content/uploads/2012/03/3.png" alt="" title="3" class="alignnone size-full wp-image-2900" /></a></p>
<p>It has everything: click navigation, numerical slide tracking, &larr; &rarr; keyboard shortcuts, <a href="http://www.youtube.com/watch?v=XzCXV8pw8wo" target="_blank">subway sleeping bags</a>, and the natural ability to fully customize it &#8211; <em>it&#8217;s just a web page!</em></p>
<p><a href="https://github.com/jennschiffer/simpleslides" target="_blank">Get it on Github</a>.<br />
View the source for documentation.<br />
Make some slides.<br />
Present said slides.<br />
Bask in thunderous applause.</p>
<p>I&#8217;ve tested it on Chrome Canary on Mac, IE8/9, and <a href="http://www.cs.montclair.edu/~schifferj/presentations/session-advising-march2012/" target="_blank">gave a presentation</a> built on SimpleSlides using my iPad. Let me know if you run into any issues; at its original state, there isn&#8217;t much old-browser-unfriendly elements.</p>
<p><strong>Update: Version 2.0 released on May 9, 2012. You no longer need to add slide position numbers to each side&#8217;s id attribute!</strong></p>
<p><a href="http://pancaketheorem.com/simpleslides/" rel="bookmark" title="Permanent link to 'SimpleSlides'">[View this post on <em>pancake theorem</em>.]</a><p><img src="http://feeds.feedburner.com/~r/pancaketheorem/~4/2eDn4jxamZo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://pancaketheorem.com/simpleslides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://pancaketheorem.com/simpleslides/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Object Caching 1201/1201 objects using disk: basic

Served from: pancaketheorem.com @ 2012-05-10 12:17:10 -->

