<?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>FarmSoft Studios Scratchpad &#187; Web Design</title>
	<atom:link href="http://scratchpad.farmsoftstudios.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://scratchpad.farmsoftstudios.com</link>
	<description>What We're Thinking About Right Now...</description>
	<lastBuildDate>Tue, 03 May 2011 21:47:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>CSS Property &#8216;-webkit-user-select: none;&#8217; Prevents Forms From Working Properly</title>
		<link>http://scratchpad.farmsoftstudios.com/2011/05/apple-computer/css-property-webkit-user-select-none-prevents-forms-from-working-properly/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2011/05/apple-computer/css-property-webkit-user-select-none-prevents-forms-from-working-properly/#comments</comments>
		<pubDate>Tue, 03 May 2011 21:47:22 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=226</guid>
		<description><![CDATA[I have been working on a mobile application for the iPhone/iPod that needs to be installed on the user&#8217;s device in &#8220;fullscreen mode.&#8221; Naturally, I wanted to prevent the user from being bothered by the little magnifying/selecting controls, as well as any long-touch menus. So, I thought that I would make a global CSS declaration: [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a mobile application for the iPhone/iPod that needs to be installed on the user&#8217;s device in &#8220;fullscreen mode.&#8221;  Naturally, I wanted to prevent the user from being bothered by the little magnifying/selecting controls, as well as any long-touch menus.  So, I thought that I would make a global CSS declaration:<br />
<code>* {-webkit-user-select: none; -webkit-touch-callout: none;}</code><br />
Worked a treat until I about went bald trying to figure out why my form elements would not accept user-input.  If I touched on a textarea, for example, the keyboard would pop up, and keyup/keydown events would fire, but nothing would get inserted into the element, and no cursor appeared.  I put <code>-webkit-user-select: text;</code> in the form element&#8217;s css declaration, and everything started working great again.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2011/05/apple-computer/css-property-webkit-user-select-none-prevents-forms-from-working-properly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk Error: Unable to update hosting preferences: hosting update is failed: object ID is invalid</title>
		<link>http://scratchpad.farmsoftstudios.com/2011/04/web-design/plesk-error-unable-to-update-hosting-preferences-hosting-update-is-failed-object-id-is-invalid/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2011/04/web-design/plesk-error-unable-to-update-hosting-preferences-hosting-update-is-failed-object-id-is-invalid/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 16:29:35 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=217</guid>
		<description><![CDATA[If you get this error in plesk when you are trying to create a new domain, chances are you moved your /var/www/vhosts to a new partition or disk with more space, and you forgot to copy the .skel directory to the new partition.]]></description>
			<content:encoded><![CDATA[<p>If you get this error in plesk when you are trying to create a new domain, chances are you moved your /var/www/vhosts to a new partition or disk with more space, and you forgot to copy the .skel directory to the new partition.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2011/04/web-design/plesk-error-unable-to-update-hosting-preferences-hosting-update-is-failed-object-id-is-invalid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Snippet for the Day</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/12/web-design/php-snippet-for-the-day/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/12/web-design/php-snippet-for-the-day/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 17:41:11 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=215</guid>
		<description><![CDATA[Did you know? As of PHP 5, you can easily modify array&#8217;s elements by preceding $value with &#38;. This will assign reference instead of copying the value. &#60;?php $arr = array(1, 2, 3, 4); foreach ($arr as &#38;$value) { $value = $value * 2; } // $arr is now array( 2, 4, 6, 8 ) [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know?</p>
<blockquote><p>As of PHP 5, you can easily modify array&#8217;s elements by preceding $value with &amp;. This will assign reference instead of copying the value.</p></blockquote>
<pre>&lt;?php $arr = array(1, 2, 3, 4);
foreach ($arr as &amp;$value) {
$value = $value * 2;
}
// $arr is now array( 2, 4, 6, 8 )
unset($value); // break the reference with the last element
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/12/web-design/php-snippet-for-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Jobs&#8217; Thoughts on Flash</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/05/apple-computer/steve-jobs-thoughts-on-flash/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/05/apple-computer/steve-jobs-thoughts-on-flash/#comments</comments>
		<pubDate>Tue, 04 May 2010 16:08:41 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[H.264]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=203</guid>
		<description><![CDATA[In an excellently written article, Steve states clearly why Apple is embracing the future, and not relying on flash. http://www.apple.com/hotnews/thoughts-on-flash/]]></description>
			<content:encoded><![CDATA[<p>In an excellently written article, Steve states clearly why Apple is embracing the future, and not relying on flash.</p>
<p><a href="http://www.apple.com/hotnews/thoughts-on-flash/">http://www.apple.com/hotnews/thoughts-on-flash/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/05/apple-computer/steve-jobs-thoughts-on-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari Web Inspector Scrolling Bugs</title>
		<link>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/safari-web-inspector-scrolling-bugs/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/safari-web-inspector-scrolling-bugs/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 14:11:39 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Apple Computer]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=184</guid>
		<description><![CDATA[If the inspector is open in docked mode, interaction within the webkit content window – typing text into an input, using a menu, selecting text – causes it to frantically scroll downwards. via BogoJoker » Improving the Web Inspector. &#8230;Glad I&#8217;m not the only one that noticed that behavior!]]></description>
			<content:encoded><![CDATA[<p>If the inspector is open in docked mode, interaction within the webkit content window – typing text into an input, using a menu, selecting text – causes it to frantically scroll downwards.</p>
<p>via <a href="http://blog.bogojoker.com/2009/10/improving-the-web-inspector/">BogoJoker » Improving the Web Inspector</a>.</p>
<p>&#8230;Glad I&#8217;m not the only one that noticed that behavior!</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2010/01/apple-computer/safari-web-inspector-scrolling-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting Multiple Columns With MySQL</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/06/web-design/sorting-multiple-columns-with-mysql/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/06/web-design/sorting-multiple-columns-with-mysql/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 15:57:13 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=155</guid>
		<description><![CDATA[Ever wanted to sort your MySQL results by several columns? SELECT * FROM orderspecs ORDER BY height, depth, width; Now what if you want the columns to have different sort orders in the sub-sorted columns? No problem. Just specify the order for each column. SELECT * FROM orderspecs ORDER BY height DESC, depth ASC, width [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to sort your MySQL results by several columns?</p>
<pre>SELECT * FROM orderspecs ORDER BY height, depth, width;</pre>
<p>Now what if you want the columns to have different sort orders in the sub-sorted columns?  No problem.  Just specify the order for each column.</p>
<pre>SELECT * FROM orderspecs ORDER BY height DESC, depth ASC, width DESC;</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/06/web-design/sorting-multiple-columns-with-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Gravity</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/06/web-design/google-gravity/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/06/web-design/google-gravity/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:10:32 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=152</guid>
		<description><![CDATA[Gotta love it&#8230;  A Chrome experiment called &#8220;Google Gravity&#8221;  I totally love it.  Works in Safari 4 and somewhat in FireFox as well.]]></description>
			<content:encoded><![CDATA[<p>Gotta love it&#8230;  A <a href="http://www.google.com/chrome/">Chrome</a> <a href="http://www.chromeexperiments.com/">experiment</a> called &#8220;<a href="http://mrdoob.com/projects/chromeexperiments/google_gravity/">Google Gravity</a>&#8221;  I totally love it.  Works in <a href="http://apple.com/safari/">Safari 4</a> and somewhat in <a href="http://www.mozilla.com/firefox/">FireFox</a> as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/06/web-design/google-gravity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting an HTML element&#8217;s class with Javascript</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/setting-an-html-elements-class-with-javascript/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/setting-an-html-elements-class-with-javascript/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 18:32:07 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=139</guid>
		<description><![CDATA[I was pulling my hair out trying to figure out why I was getting a parse-error with this code&#8230; DUH! document.getElementById('test').class = "test" &#8220;class&#8221; is a reserved name, of course&#8230; So you access it with: document.getElementById('test').className = "test"]]></description>
			<content:encoded><![CDATA[<p>I was pulling my hair out trying to figure out why I was getting a parse-error with this code&#8230; DUH!
<pre>document.getElementById('test').class = "test"</pre>
<p>&#8220;class&#8221; is a reserved name, of course&#8230;  So you access it with:
<pre>document.getElementById('test').className = "test"</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/setting-an-html-elements-class-with-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Plesk Backup Error: &#8216;ERROR Unable to open /opt/psa/var/apspkgarc/archive-index.xml&#8217;</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/04/web-design/plesk-backup-error-error-unable-to-open-optpsavarapspkgarcarchive-indexxml/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/04/web-design/plesk-backup-error-error-unable-to-open-optpsavarapspkgarcarchive-indexxml/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:03:31 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=126</guid>
		<description><![CDATA[I was getting the following error when trying to use Plesk&#8217;s backup function: ERROR Unable to open /opt/psa/var/apspkgarc/archive-index.xml The solution is to visit the &#8220;Application Vault&#8221; under the &#8220;Server&#8221; tab of your Plesk interface.  The file gets auto-generated at that point. For more information on how to use Plesk&#8217;s backup feature, read this post]]></description>
			<content:encoded><![CDATA[<p>I was getting the following error when trying to use Plesk&#8217;s backup function:</p>
<pre>ERROR Unable to open /opt/psa/var/apspkgarc/archive-index.xml</pre>
<p>The solution is to visit the &#8220;Application Vault&#8221; under the &#8220;Server&#8221; tab of your Plesk interface.  The file gets auto-generated at that point.</p>
<p>For more information on how to use Plesk&#8217;s backup feature, <a href="http://scratchpad.farmsoftstudios.com/2009/04/linux/using-plesks-backup-feature/">read this post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/04/web-design/plesk-backup-error-error-unable-to-open-optpsavarapspkgarcarchive-indexxml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A List Apart: In Defense of Eye Candy</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/a-list-apart-in-defense-of-eye-candy/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/a-list-apart-in-defense-of-eye-candy/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 13:12:35 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=124</guid>
		<description><![CDATA[A List Apart: Articles: In Defense of Eye Candy. Wonderful article on design&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alistapart.com/articles/indefenseofeyecandy">A List Apart: Articles: In Defense of Eye Candy</a>.</p>
<p>Wonderful article on design&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/04/graphic-design/a-list-apart-in-defense-of-eye-candy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

