<?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>Studio Sedition: Designing with Code &#187; JavaScript</title>
	<atom:link href="http://blog.studiosedition.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.studiosedition.com</link>
	<description>Studio Sedition Blog</description>
	<lastBuildDate>Sat, 06 Mar 2010 19:37:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OVO Creative Group launched their new web site</title>
		<link>http://blog.studiosedition.com/2010/02/ovo-creative-group-launch/</link>
		<comments>http://blog.studiosedition.com/2010/02/ovo-creative-group-launch/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 08:22:35 +0000</pubDate>
		<dc:creator>khadlock</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://blog.studiosedition.com/?p=116</guid>
		<description><![CDATA[OVO is a branding consultancy specializing in naming, visual identity and integrated marketing for organizations seeking to launch, grow or reinvent themselves. We developed OVO's web site based on their original designs. Using PHP and MySQL we created a content management system (CMS) for OVO to manage their client projects and organize their project slideshows. [...]]]></description>
			<content:encoded><![CDATA[<p>OVO is a branding consultancy specializing in naming, visual identity and integrated marketing for organizations seeking to launch, grow or reinvent themselves. We developed OVO's web site based on their original designs. Using PHP and MySQL we created a content management system (CMS) for OVO to manage their client projects and organize their project slideshows. We also developed a custom JavaScript slideshow widget that randomizes and animates OVO's projects based on a custom JSON feed. <a href="http://www.studiosedition.com/application/OVO-Creative">Read more...</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.studiosedition.com/2010/02/ovo-creative-group-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove all select options with JavaScript</title>
		<link>http://blog.studiosedition.com/2009/11/remove-select-options-javascript/</link>
		<comments>http://blog.studiosedition.com/2009/11/remove-select-options-javascript/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 20:23:01 +0000</pubDate>
		<dc:creator>khadlock</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.studiosedition.com/?p=74</guid>
		<description><![CDATA[Here's a quick function to remove all select options using JavaScript.
function RemoveAllOptions&#40;selector&#41;
&#123;
     while&#40;selector.hasChildNodes&#40;&#41;&#41; selector.removeChild&#40;selector.childNodes&#91;0&#93;&#41;;
&#125;
]]></description>
			<content:encoded><![CDATA[<p>Here's a quick function to remove all select options using JavaScript.</p>
<pre class="javascript"><span style="color: #003366; font-weight: bold;">function</span> RemoveAllOptions<span style="color: #66cc66;">&#40;</span>selector<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
     <span style="color: #000066; font-weight: bold;">while</span><span style="color: #66cc66;">&#40;</span>selector.<span style="color: #006600;">hasChildNodes</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> selector.<span style="color: #006600;">removeChild</span><span style="color: #66cc66;">&#40;</span>selector.<span style="color: #006600;">childNodes</span><span style="color: #66cc66;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.studiosedition.com/2009/11/remove-select-options-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting the label &#8220;for&#8221; attribute with JavaScript</title>
		<link>http://blog.studiosedition.com/2009/11/label-for-attribute/</link>
		<comments>http://blog.studiosedition.com/2009/11/label-for-attribute/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 17:53:55 +0000</pubDate>
		<dc:creator>khadlock</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.studiosedition.com/?p=51</guid>
		<description><![CDATA[Sometimes JavaScript offers unique names for element attributes, for example, CSS properties with words that are normally separated with dashes are camel case in JavaScript.
The label element's "for" attribute is no exception, in fact it's probably the most unique one I've stumbled across, which is why I thought it was important to share. When you [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes JavaScript offers unique names for element attributes, for example, CSS properties with words that are normally separated with dashes are camel case in JavaScript.</p>
<p>The label element's "for" attribute is no exception, in fact it's probably the most unique one I've stumbled across, which is why I thought it was important to share. When you set the label "for" attribute with JavaScript you have to set it as "htmlFor" and of course give it the same value as the input element's id that you are tying it to.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.studiosedition.com/2009/11/label-for-attribute/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
