<?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>Takin&#039; a Bathew &#187; Playhouse</title>
	<atom:link href="http://bathew.com/category/playhouse/feed/" rel="self" type="application/rss+xml" />
	<link>http://bathew.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 03:55:00 +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>New Site Design</title>
		<link>http://bathew.com/playhouse/new-site-design/</link>
		<comments>http://bathew.com/playhouse/new-site-design/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 18:16:20 +0000</pubDate>
		<dc:creator>mbathon</dc:creator>
				<category><![CDATA[Playhouse]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wodpress]]></category>

		<guid isPermaLink="false">http://bathew.com/?p=92</guid>
		<description><![CDATA[Okay, it has taken over a year but I think I have finalized a design for this site. Being a front-end web developer I was looking for a design that I could re-code and make my own. After searching many sites and harassing the designers at work, I finally found a starting point. It came [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, it has taken over a year but I think I have finalized a design for this site. Being a front-end web developer I was looking for a design that I could re-code and make my own. After searching many sites and harassing the designers at work, I finally found a starting point. It came in the form of a smashing magazine post about a new free wordpress theme.</p>
<h3>WordPress.Fun</h3>
<p>It&#8217;s hard to pinpoint what attracted me to this particular design. Was it the grungy look, the colors, the new style footer or its overall uniqueness? Whatever it was, I decided to begin my long theme development journey with <a href="http://www.smashingmagazine.com/2008/07/16/wordpress-fun-a-free-wordpress-theme/">WordPress.Fun</a>.<span id="more-92"></span> One great feature about the smashing magazine theme is that all of the source materials were provided. Armed with the psd and my limited design skills I decided that I first wanted to pick colors that were more to my liking. With the help of a designer friend, the colors you see were updated in the file and the development could begin.</p>
<h3>Sandbox</h3>
<p>I have been using the <a href="http://www.plaintxt.org/themes/sandbox/">sandbox</a> theme as starter wordpress code for sometime with client work, so I decided to begin my masterpiece there. After modifying the code and adding all the hook&#8217;s and divs that I like to use, the design started to take shape. I cropped, copied and rotated the textured backgrounds in order for them to repeat correctly (as this is a scaling layout) and used as many advanced <abbr title="Cascading Style Sheet">CSS</abbr>3 techniques as I could to produce front-end code I could be proud of. The only images used in the design are the four or so textured backgrounds and the colored footer transparencies. For the rest I used the border-radius, box-shadow, text-shadow and other advanced <abbr title="Cascading Style Sheet">CSS</abbr>.</p>
<p>That&#8217;s the overall gist of how we got here. I could go into more detail but I think that would be too much excitement for one post. I will now let you peruse the site and check out some of the new features. As always comments and suggestions are welcome and encouraged. One of the things I always wonder about blogs sites I visit is &#8216;what plugins the site is using&#8217; so I will now leave you with a  list of the ones I have used on this site. Many hours of research went into picking them and I encourage you to check them out for your site.</p>
<p><strong>Note: This list is current as of the day of this post. The list may change over time. I may keep an updated list on the site somewhere, but for now, this will do.</strong></p>
<h3>Plugins</h3>
<ul>
<li><a class="newwindow" href="http://wordpress.org/extend/plugins/art-direction/">Art Direction</a> &#8211; Per post styles for new age art direction</li>
<li><a class="newwindow" href="http://www.ajalapus.com/downloads/css-naked-day/">CSS Naked Day</a> &#8211; Automatically strips off stylesheets without editing themes during the Annual CSS Naked Day</li>
<li><a class="newwindow" href="http://www.virtuosoft.net/domaintheme">Domain Theme</a> &#8211; Allows you to specify more than one domain name with your WordPress installation and associate a specific theme for each domain</li>
<li><a class="newwindow" href="http://www.plaintxt.org/experiments/easy-contact/">Easy Contact</a> &#8211; Easy Contact is a simple, semantic contact form that utilizes the Sandbox design patterns</li>
<li><a class="newwindow" href="http://yoast.com/wordpress/analytics/">Google Analytics for WordPress</a> &#8211; Makes it simple to add Google Analytics</li>
<li><a class="newwindow" href="http://www.arnebrachhold.de/redir/sitemap-home/">Google XML Sitemaps</a> &#8211; Generates a sitemaps.org compatible sitemap of your WordPress blog</li>
<li><a class="newwindow" href="http://wordpress.org/extend/plugins/im-online/">IM Online</a> &#8211; Displays status for MSN, Yahoo!, AOL, Jabber and ICQ via onlinestatus.org</li>
<li><a class="newwindow" href="http://www.ibegin.com/labs/wp-lifestream/">Lifestream</a> &#8211; Displays your activity from various social networks</li>
<li><a class="newwindow" href="http://mobilepress.co.za/">MobilePress</a> &#8211; Turn your WordPress blog into a mobile website/blog</li>
<li><a class="newwindow" href="http://w-shadow.com/blog/2007/12/13/raw-html-in-wordpress/">Raw HTML capability</a> &#8211; Lets you enter raw HTML in your posts. You can also enable/disable smart quotes and other automatic formatting on a per-post basis</li>
<li><a class="newwindow" href="http://yoast.com/wordpress/sociable/">Sociable</a> &#8211; Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites</li>
<li><a class="newwindow" href="http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/">SyntaxHighlighter Evolved</a> &#8211; Easily post syntax-highlighted code to your site without having to modify the code at all</li>
<li><a class="newwindow" href="http://www.nkuttler.de/nkthemeswitch/">Theme Switch</a> &#8211; Use different wordpress theme for logged in user</li>
<li><a class="newwindow" href="http://ja.rafi.pl/2006/05/01/wp-most-commented-posts/">WP-MostCommentedPosts</a> &#8211; The name says it all</li>
</ul>
 <img src="http://bathew.com/writings/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=92" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://bathew.com/playhouse/new-site-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Transparent background PNG&#8217;s in IE: The only guide you need</title>
		<link>http://bathew.com/playhouse/transparent-background-pngs-in-ie-the-only-guide-you-need/</link>
		<comments>http://bathew.com/playhouse/transparent-background-pngs-in-ie-the-only-guide-you-need/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 16:19:41 +0000</pubDate>
		<dc:creator>mbathon</dc:creator>
				<category><![CDATA[Playhouse]]></category>
		<category><![CDATA[background-image]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://bathew.com/?p=36</guid>
		<description><![CDATA[I know this question has been around for a very long time but I am still seeing bookmarks and stories pop up around the web for ways of handling transparent PNG's in Internet Explorer (IE) 6 and below. After working with them for a long time now, I thought that I would post the best [...]]]></description>
			<content:encoded><![CDATA[<p>I know this question has been around for a very long time but I am still seeing bookmarks and stories pop up around the web for ways of handling transparent <abbr title="Portable Network Graphics">PNG</abbr>'s in Internet Explorer (<abbr title="Internet Explorer">IE</abbr>) 6 and below. After working with them for a long time now, I thought that I would post the best way that I have found to achieve transparent background images. This method is nothing new. It may be used in conjunction with a new way but the <abbr title="Cascading Style Sheets">CSS</abbr> has been around for a very long time. I wanted to focus on the background image. I see a lot more ways of dealing with an actual image in the page and not so much the background image.<span id="more-36"></span></p>
<p>I hope this will serve as a reference for people to get all of the the info they need in one place and not have to visit two or three sites. Without further adieu let us begin.</p>
<p>I want to start off by saying that I think retrofitting for older browsers (yes <abbr title="Internet Explorer">IE</abbr> 6 and below are too old) is a bad idea. We should be moving forward with our development in <abbr title="Cascading Style Sheets">CSS</abbr>3 etc... while making sure the older browser are still readable. They do not necessarily need to look the same. Now, with that said, I work as a web developer and know that this idea is rarely accepted by designers and clients alike. I just wanted to get my feelings out there because that is the whole point of this blog. On to the method already.</p>
<p>Wait for it...</p>
<h3>The <abbr title="Cascading Style Sheets">CSS</abbr></h3> 
<pre class="brush: css; title: ; notranslate">
* html #id {background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/image_name.png',sizingMethod='scale');}
</pre>
<p>yep! That's all it is. No fancy javascript, no special image name with transparency behind it, nothing. Throw that in your <abbr title="Internet Explorer">IE</abbr> style sheet or right below your 'good browser' statement in your screen style sheet and you will be good to go. Remember: the path is relative to the page you are on, not the <abbr title="Cascading Style Sheets">CSS</abbr> file. So absolute path to the image is probably the best way to go.</p>
<h3>Notes</h3>
<p>As always there are some things to be aware of when using the filter method. If you make sure to follow this rule, you will save yourself a lot of headache. On the element your are using the filter. DO NOT set a position. On any element inside of the element with the filter, DO set position to relative.</p>
<p>(eg.) If your transparency is on your wrap div, do not set a position. Set position relative on your <code>content</code> div and all items within content will be OK.</p>
<p>Now your links and text will be clickable and selectable.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;wrap&quot;&gt;
&lt;div id=&quot;content&quot;&gt;
&lt;h1&gt;Site Title&lt;/h1&gt;
&lt;h2&gt;Tagline&lt;/h2&gt;
&lt;p&gt;Some &lt;a&gt;long-winded&lt;/a&gt; content with a link&lt;/p&gt;
&lt;/div&gt;&lt;!--end #content--&gt;
&lt;/div&gt;&lt;!--end #wrap--&gt;
</pre>
<pre class="brush: css; title: ; notranslate">
#wrap {background: url(../images/image_name.png);}
* html #wrap {background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/image_name.png',sizingMethod='scale');}
#content {postion: relative;}
</pre>
<p>As with all other posts you have read about the filter method. The background image will stretch to fit the element, so there is no background-position usage <abbr title="Et Cetera">etc</abbr>...</p> <p>If you are unable to use a separate (slightly modified) design to handle your transparency needs for <abbr title="Internet Explorer">IE</abbr> then the above method will save you a lot of pain when dealing with them.</p>
<p>Below is the code for a snippet to add the above <abbr title="Cascading Style Sheet">CSS</abbr> to your style sheet easily with <a href="http://macromates.com/">Textmate</a> or <a href="http://en.wikipedia.org/wiki/E_(text_editor)">e text editor</a></p>
<p>create a new snippet<br /> add:</p>
<pre class="brush: css; title: ; notranslate">
background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/${1:image_name}.png',sizingMethod='scale');$0
</pre>
<p>to the big block<br /> Activation: tab trigger > iepng<br /> Scope Selector: source.css</p>
<h3>Further Reading</h3>
<ul>
<li><a href="http://www.hrunting.org/csstests/iealpha.html">http://www.hrunting.org/csstests/iealpha.html</a></li>
</ul> <img src="http://bathew.com/writings/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=36" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://bathew.com/playhouse/transparent-background-pngs-in-ie-the-only-guide-you-need/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress iPhone App</title>
		<link>http://bathew.com/uncategorized/wordpress-iphone-app/</link>
		<comments>http://bathew.com/uncategorized/wordpress-iphone-app/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 20:33:44 +0000</pubDate>
		<dc:creator>mbathon</dc:creator>
				<category><![CDATA[Playhouse]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone wordpress]]></category>

		<guid isPermaLink="false">http://bathew.com/playhouse/wordpress-iphone-app/</guid>
		<description><![CDATA[Just found the iPhone app for my touch. So far it seems to work well. Once I learn to better work with the on screen keyboard it should be a great asset to my blogging ability. As I have found with the twitter app, this should help to bring a more consistent schedule to my [...]]]></description>
			<content:encoded><![CDATA[<p>Just found the iPhone app for my touch. So far it seems to work well. Once I learn to better work with the on screen keyboard it should be a great asset to my blogging ability.</p>
<p>As I have found with the twitter app, this should help to bring a more consistent schedule to my blogging.</p>
<p>Maybe this will get me to work on that design I have not worked on yet.<span id="more-33"></span></p>
 <img src="http://bathew.com/writings/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=33" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://bathew.com/uncategorized/wordpress-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rounded Corner Form Elements</title>
		<link>http://bathew.com/playhouse/rounded-corner-form-elements/</link>
		<comments>http://bathew.com/playhouse/rounded-corner-form-elements/#comments</comments>
		<pubDate>Wed, 07 May 2008 22:05:06 +0000</pubDate>
		<dc:creator>mbathon</dc:creator>
				<category><![CDATA[Playhouse]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[rounded corner]]></category>

		<guid isPermaLink="false">http://www.bathew.com/?p=8</guid>
		<description><![CDATA[One task I am being faced with more often when creating form elements is the use of rounded corners on text inputs, select boxes and text areas. One solution in dealing with this dilemma is just to crop out the round corner image from the concept file, give the form elements a border that matched [...]]]></description>
			<content:encoded><![CDATA[<p>One task I am being faced with more often when creating form elements is the use of rounded corners on text inputs, select boxes and text areas. One solution in dealing with this dilemma is just to crop out the round corner image from the concept file, give the form elements a border that matched the background color and place them into that area. This way may be the simplest answer to the problem but it is riddled with problems.</p>
<ol>
<li>When a user resizes the text, the box will not expand.</li>
<li>You will need a new image for each different size of input you need.</li>
<li>Absolute positioning (and the resulting extra <abbr title="Cascading Style Sheets">CSS</abbr> lines will need to be added) is the only sure way to line up the inputs inside the image</li>
</ol>
<p><span id="more-8"></span>In order to work through these issues and out clean scalable rounded corner form elements we will first begin by creating the HTML code for the input elements.</p>
<ul>
<li><code>&lt;strong&gt;</code></li>
<li><code>&lt;em&gt;</code></li>
<li><code>&lt;span&gt;</code></li>
<li><code>&lt;span&gt;</code></li>
</ul>
<p>These will provide the hooks our CSS will need in order to create the rounded corners. You can use any HTML tags you would like to surround the code as long as you can add a style to it.</p>
<p>The strong and the em tag will receive longer images that will account for and size changes on the input fields and text size increases. The other two images will just be images of the corners. The two longer images will need to have a transparent background for the color inside the lines. If you have a non-solid color background just make the bottom left image have the background and the top right image transparent.</p>
<h3>The CSS</h3>
<pre class="brush: css; title: ; notranslate">
strong {background: url(/images/input-bottom-left.gif) no-repeat 0 100%; display: block; float: left;}/*longer sides*/
strong em {background: url(/images/input-top-right.gif) no-repeat 100% 0; display: block; float: left;}/*longer sides*/
strong em span {background: url(/images/input-bottom-right.gif) no-repeat 100% 100%; display: block; float: left;}
strong em span span {background: url(/images/input-top-left.gif) no-repeat; display: block; float: left;}
input, select, textarea {margin: 1px 3px; border: 1px solid #fff;}
</pre>
<h3>The HTML</h3>
<pre class="brush: xml; title: ; notranslate">
&lt;form&gt;
&lt;fieldset&gt;
&lt;legend&gt;Rounded Corner Form Elements&lt;/legend&gt;
&lt;label for=&quot;txtFirstName&quot;&gt;First Name:&lt;/label&gt;
&lt;strong&gt;&lt;em&gt;&lt;span&gt;&lt;span&gt;&lt;input id=&quot;txtFirstName&quot; maxlength=&quot;50&quot; name=&quot;FirstName&quot; size=&quot;25&quot; type=&quot;text&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;label for=&quot;txtLastName&quot;&gt;Last Name:&lt;/label&gt;
&lt;strong&gt;&lt;em&gt;&lt;span&gt;&lt;span&gt;&lt;input id=&quot;txtLastName&quot; maxlength=&quot;50&quot; name=&quot;LastName&quot; size=&quot;15&quot; type=&quot;text&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;label for=&quot;txtaraComment&quot;&gt;Comment&lt;/label&gt;
&lt;strong&gt;&lt;em&gt;&lt;span&gt;&lt;span&gt;&lt;textarea id=&quot;txtaraComment&quot; cols=&quot;50&quot; rows=&quot;10&quot; name=&quot;Comment&quot;&gt;&lt;/textarea&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
</pre>

<form class="frmRoundedCorner" method="post">
<fieldset>
<legend>Rounded Corner Form Elements</legend>
<label for="txtFirstName">First Name:</label>
<strong><em><span><span><input id="txtFirstName" maxlength="50" name="FirstName" size="25" type="text" /></span></span></em></strong><br />
<label for="txtLastName">Last Name:</label>
<strong><em><span><span><input id="txtLastName" maxlength="50" name="LastName" size="15" type="text" /></span></span></em></strong><br />
<label for="txtaraComment">Comment</label>
<strong><em><span><span><textarea id="txtaraComment" cols="50" rows="10" name="Comment"></textarea></span></span></em></strong><br />
</fieldset>
</form> 
 <img src="http://bathew.com/writings/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=8" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://bathew.com/playhouse/rounded-corner-form-elements/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

