<?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>Web Development by Joe Sak &#187; Javascript</title>
	<atom:link href="http://www.joesak.com/category/programming/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joesak.com</link>
	<description>Rails, HTML5, CSS3, jQuery - Thoughts, Advice &#38; Work</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:10:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Login Usability: Am I in or out?</title>
		<link>http://www.joesak.com/2007/08/01/login-usability-am-i-in-or-out/</link>
		<comments>http://www.joesak.com/2007/08/01/login-usability-am-i-in-or-out/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 13:41:44 +0000</pubDate>
		<dc:creator>Joe Sak</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Feedback]]></category>
		<category><![CDATA[Improving Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.joesak.com/login-usability-am-i-in-or-out/</guid>
		<description><![CDATA[UPDATE: After making this post, and refreshing the parallels forums page, I was presented with &#8220;Welcome, Joseph Sak&#8221; instead of a login prompt. So maybe I got it wrong, or they did, but this post still stands! The Parallels Forums recently got some redesign and information restructure, which all looks good and is organized quite [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE:</strong> <em>After making this post, and refreshing the parallels forums page, I was presented with &#8220;Welcome, Joseph Sak&#8221; instead of a login prompt. So maybe I got it wrong, or they did, but this post still stands!<br />
</em></p>
<p><a href="http://forums.parallels.com">The Parallels Forums</a> recently got some redesign and information restructure, which all looks good and is organized quite well. But they&#8217;ve missed a couple really easy issues with their login functionality.</p>
<p><span id="more-47"></span></p>
<p>When you log into the Parallels Forums, it takes you to a &#8220;logging in&#8221; screen and redirects you back to where you were, which is fine, but what is this?!</p>
<h2>Am I logged in or out?</h2>
<p><img src="/images/logged-in-or-out.gif" alt="Am I logged in or out of Parallels Forums?" /></p>
<p>This is what you see in the top right of the forums after logging in. Apparantly, I&#8217;m logged in because I can start threads, but unless I click on the &#8220;+&#8221; symbol in the top left and opening a post-thread page, I have no visual cue that I am logged in.</p>
<p>Originally, with the old design, you saw your name and a &#8220;logout&#8221; link next to it. Or you could click your name to edit your profile. This was highly usable and gave immediate feedback to the user that yes, <strong>John Smith</strong>, you are logged in.</p>
<p>Now, Parallels, if you&#8217;re not willing to clean up that little mess, why are you making me erase &#8220;Login&#8221; from your textbox before typing my user name?</p>
<p><img src="/images/dont-erase-me-please.gif" alt="Why doesn't it disappear onclick?" /></p>
<p>You can solve this with a simple function.</p>
<p><code><br />
onclick="eraseInput();"</p>
<p>...</p>
<p>function eraseInput(){<br />
     if(this.value == "Login"){<br />
        this.value = "";<br />
     } else { return false; }<br />
}</p>
<p></code></p>
<p>Pretty simple usability points, and I can&#8217;t believe Parallels just got rid of them with their new design.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesak.com/2007/08/01/login-usability-am-i-in-or-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix your Javascript Print Style Switcher for Internet Explorer</title>
		<link>http://www.joesak.com/2007/02/19/fix-your-javascript-print-style-switcher-for-internet-explorer/</link>
		<comments>http://www.joesak.com/2007/02/19/fix-your-javascript-print-style-switcher-for-internet-explorer/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 21:08:03 +0000</pubDate>
		<dc:creator>Joe Sak</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.joesak.com/design/fix-your-javascript-print-style-switcher-for-internet-explorer/</guid>
		<description><![CDATA[So you&#8217;ve decided to use javascript to swap out a print style css sheet that basically hides a bunch of divs and maybe widens the content area. Perhaps your re-color the links and the text and fix the font sizes. You try it in Firefox and it prints perfectly, but when you print in IE, [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve decided to use javascript to swap out a print style css sheet that basically hides a bunch of divs and maybe widens the content area. Perhaps your re-color the links and the text and fix the font sizes.</p>
<p>You try it in Firefox and it prints perfectly, but when you print in IE, you&#8217;ll notice IE didn&#8217;t really print your printable version.</p>
<p>So you think, &#8216;Ok I&#8217;ll add media=&#8221;print&#8221; to my stylesheet link!&#8217; and then you refresh your page, try your Print this Page link, and nothing happens! And it still prints the wrong version! What to do?</p>
<p>Well, your old pal Joe here figured it out.</p>
<p>Here&#8217;s what you do:</p>
<ol>
<li>Create a separate stylesheet called print.css</li>
<li>Add this code to your master stylesheet:<br />
<code><br />
@media print {</p>
<p>@import "print.css";</p>
<p>}<br />
</code></li>
<li>Implement your javascript for making the stylesheet override your master stylesheet</li>
<li>Test</li>
<li>Enjoy!</li>
</ol>
<p>This allows you to switch to your print style so it is preview-able before printing and also tells IE to use print.css when it prints a page on your site. So incidentally, if a user just clicks print in IE without switching to your style, they will still get your printable version. I suppose this might cause confusion but considering the most reasons for making hard copies of digital information, it probably shouldn&#8217;t pose too much of a problem for your average user.</p>
<p>Now if your user wants to have a pretty print out of your website because they can&#8217;t access a computer to show it to someone else away from home, they&#8217;ll probably get stuck with the fact that IE does not print background images and colors by default any way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesak.com/2007/02/19/fix-your-javascript-print-style-switcher-for-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FrogJS: A new twist on LightBox</title>
		<link>http://www.joesak.com/2007/01/26/frogjs-a-new-twist-on-lightbox/</link>
		<comments>http://www.joesak.com/2007/01/26/frogjs-a-new-twist-on-lightbox/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 20:06:25 +0000</pubDate>
		<dc:creator>Joe Sak</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.joesak.com/design/frogjs-a-new-twist-on-lightbox/</guid>
		<description><![CDATA[Eric just released a phenomenal bit of javascript called FrogJS. Basically it allows you to do paging between your pictures in a lightbox-type gallery. This is a pretty neat little script. My only qualm with it is that it&#8217;s currently 760px wide. It&#8217;s not exactly going to work within your standard website template. I think [...]]]></description>
			<content:encoded><![CDATA[<p>Eric just <a href="http://www.puidokas.com/getting-all-hopped-up-on-javascript/">released a phenomenal bit of javascript</a> called FrogJS. Basically it allows you to do paging between your pictures in a lightbox-type gallery.</p>
<p>This is a pretty neat little script. My only qualm with it is that it&#8217;s currently 760px wide. It&#8217;s not exactly going to work within your standard website template. I think the point of the typical lightbox  is that you can throw your images into a template where your content area is typically 500 px in width, and the image pops up with an AJAX-y effect of muting out the rest of the screen.</p>
<p>Perhaps this concept can be taken further in this regard! I will definitely be playing with this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesak.com/2007/01/26/frogjs-a-new-twist-on-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 4/16 queries in 0.005 seconds using disk

Served from: www.joesak.com @ 2010-09-09 21:42:27 -->