<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Yoder Tech &#187; HTML</title>
	<atom:link href="http://yodertech.wordpress.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://yodertech.wordpress.com</link>
	<description>Amish in Name Only</description>
	<lastBuildDate>Fri, 06 Mar 2009 22:10:34 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='yodertech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/165790c82007fc4847867f537353fe8a?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Yoder Tech &#187; HTML</title>
		<link>http://yodertech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://yodertech.wordpress.com/osd.xml" title="Yoder Tech" />
	<atom:link rel='hub' href='http://yodertech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Auto Select Text Within a Text Box</title>
		<link>http://yodertech.wordpress.com/2007/08/22/auto-select-text-within-a-text-box/</link>
		<comments>http://yodertech.wordpress.com/2007/08/22/auto-select-text-within-a-text-box/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 14:20:45 +0000</pubDate>
		<dc:creator>yodertech</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[code examples]]></category>
		<category><![CDATA[area]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[high]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[hilight]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[onclick]]></category>
		<category><![CDATA[paste]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[within]]></category>

		<guid isPermaLink="false">http://yodertech.wordpress.com/2007/08/22/auto-select-text-within-a-text-box/</guid>
		<description><![CDATA[***** Updated 9/24/2007 *****Thanks to Marko for pointing out an IE/Firefox issue. For those of you who already used this code, you may find out that the auto select is only working in Internet Explorer. To get it to work in both IE and Firefox, simply change &#60; textarea name to read &#60; textarea id. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yodertech.wordpress.com&blog=1539605&post=5&subd=yodertech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>*****<strong> Updated</strong> 9/24/2007 *****Thanks to <a href="http://www.thecarrers.com/en/" target="_blank"><strong>Marko</strong></a> for pointing out an IE/Firefox issue. For those of you who already used this code, you may find out that the auto select is only working in Internet Explorer. To get it to work in both IE and Firefox, simply change &lt; textarea <strike><strong>name</strong></strike> to read &lt; textarea <strong>id. </strong><em>Those of you new to this post, please just follow the instructions below! Thank You.</em><strong>*****</strong></p>
<p>Anyone who has changed their <a href="http://www.myspace.com" title="Myspace" target="_blank">Myspace</a> layout (prior to the built in layout editor) or copied code from a tutorial/code repository has run across a Html text box that auto selects all the text it is holding when ever the mouse is clicked inside it. It is a nice feature to have for any of your users and eliminates the mistake of not selecting all the code that needs to be copied.</p>
<p>One of my co-workers came to me yesterday and asked if I new how to get that feature to work, since getting our product <a href="http://radio.talkr.com" title="Talkr">Talkr</a> onto  your own website is done through copying and pasting code that we have available on an html page. It took a lot of searching, but after finding the right combination of words, I finally found out how to do it using some simple Java script.</p>
<p>I am going to assume that you have your Html page set up, and that you a text area/box placed and ready for the code. For the purpose of this example, I have named my text area/box &#8220;aa&#8221;.</p>
<p>First, copy this code and paste it in-between the  and  tags at the top of your Html page using your editor of choice:</p>
<p><strong><!-- begin text highlight script for text box --></strong></p>
<p><strong>&lt; script type=&#8221;text/javascript&#8221;&gt;<br />
function SelectAll(id)<br />
{<br />
document.getElementById(id).focus();<br />
document.getElementById(id).select();<br />
}<br />
&lt;/script  &gt;</strong></p>
<p><!-- end highlight script --></p>
<p>Then find this information where you have your text area/box. It will look similar but not the same:</p>
<p><font color="#ff9900"><strong>&lt; textarea id=&#8221;aa&#8221;  rows=7 cols=32  &gt;</strong></font></p>
<p>and paste this after the =&#8221;aa&#8221;</p>
<p><font color="#ff9900"><strong>onClick=&#8221;SelectAll(&#8216;aa&#8217;);&#8221;</strong></font></p>
<p>so it should look like this after you are finished:</p>
<p><font color="#ff9900"><strong>&lt; textarea id=&#8221;aa&#8221; </strong></font><font color="#ff9900"><strong>onClick=&#8221;SelectAll(&#8216;aa&#8217;);&#8221;</strong></font><font color="#ff9900"><strong>  rows=7 cols=32  &gt;</strong></font></p>
<p>And thats it!</p>
<p>Since I have very little to no experience coding Java by hand, this solution took me much longer to find than it did to actually implement. Hope it helps!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/yodertech.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/yodertech.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yodertech.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yodertech.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yodertech.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yodertech.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yodertech.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yodertech.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yodertech.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yodertech.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yodertech.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yodertech.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yodertech.wordpress.com&blog=1539605&post=5&subd=yodertech&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://yodertech.wordpress.com/2007/08/22/auto-select-text-within-a-text-box/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/711399be227199046cbfd93684de7f2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bleedsgreen33</media:title>
		</media:content>
	</item>
		<item>
		<title>Displaying Sample Code in a Web Browser.</title>
		<link>http://yodertech.wordpress.com/2007/08/17/hello-world/</link>
		<comments>http://yodertech.wordpress.com/2007/08/17/hello-world/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 19:08:02 +0000</pubDate>
		<dc:creator>yodertech</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[One of the hardest things for beginner or casual web developers is figuring out how to tell a browser not to translate code and to display the code &#8220;as is&#8221; in the browser window. A quick work around for this is to encode the &#60; and &#62; symbols at the beginning and end of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yodertech.wordpress.com&blog=1539605&post=1&subd=yodertech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>One of the hardest things for beginner or casual web developers is figuring out how to tell a browser not to translate code and to display the code &#8220;as is&#8221; in the browser window. A quick work around for this is to encode the &lt; and &gt; symbols at the beginning and end of the block of code you want to display.</p>
<p>So if I want to display the code for this:</p>
<h1>This is a Heading</h1>
<p>I would need to replace all &#8220;&lt;&#8221; tag with &#8220;&amp;lt;&#8221; and the closing &#8220;&gt;&#8221; with &#8220;&amp;gt;&#8221;. So, in the code view of whatever editor you prefer to use, it would look like this.</p>
<p>&amp;lt; h1&amp;gt;This is a Heading&amp;lt; /h1 &amp;gt;<br />
And the web browser will display it as this:</p>
<p>&lt; h1&gt;This is a Heading&lt; /h1 &gt;</p>
<p>I hope this first post has been helpful. For any questions, please feel free to contact me.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/yodertech.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/yodertech.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yodertech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yodertech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yodertech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yodertech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yodertech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yodertech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yodertech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yodertech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yodertech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yodertech.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yodertech.wordpress.com&blog=1539605&post=1&subd=yodertech&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://yodertech.wordpress.com/2007/08/17/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/711399be227199046cbfd93684de7f2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bleedsgreen33</media:title>
		</media:content>
	</item>
	</channel>
</rss>