<?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>Bloggeh.com &#187; Web 2.0</title>
	<atom:link href="http://www.bloggeh.com/category/web-development/web-20/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggeh.com</link>
	<description>Bits and pieces</description>
	<lastBuildDate>Mon, 31 May 2010 12:45:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create Favicon&#8217;s</title>
		<link>http://www.bloggeh.com/2008/06/02/create-favicons/</link>
		<comments>http://www.bloggeh.com/2008/06/02/create-favicons/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 04:51:56 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/06/02/create-favicons/</guid>
		<description><![CDATA[Here&#8217;s a neat little tool &#8211; simply upload your picture and it&#8217;ll create the favicon for you!
http://www.chami.com/html-kit/services/Favicon/ 
Make sure your picture is SQUARE (ie. 32&#215;32)
Place this codeÂ  on your page once you&#8217;ve uploaded the favicon to your server:
&#60;link rel=&#8221;Shortcut Icon&#8221; href=&#8221;favicon.ico&#8221;&#62;
Photoshop support has a good little article on favicons which is worth checking out also: [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a neat little tool &#8211; simply upload your picture and it&#8217;ll create the favicon for you!</p>
<p><a href="http://www.chami.com/html-kit/services/Favicon/" target="_blank">http://www.chami.com/html-kit/services/Favicon/ </a></p>
<p>Make sure your picture is SQUARE (ie. 32&#215;32)</p>
<p>Place this codeÂ  on your page once you&#8217;ve uploaded the favicon to your server:</p>
<p>&lt;link rel=&#8221;Shortcut Icon&#8221; href=&#8221;favicon.ico&#8221;&gt;</p>
<p>Photoshop support has a good little article on favicons which is worth checking out also: <a href="http://www.photoshopsupport.com/tutorials/jennifer/favicon.html" target="_blank">http://www.photoshopsupport.com/tutorials/jennifer/favicon.htmlÂ </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/06/02/create-favicons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My AJAX Notes</title>
		<link>http://www.bloggeh.com/2008/05/26/my-ajax-notes/</link>
		<comments>http://www.bloggeh.com/2008/05/26/my-ajax-notes/#comments</comments>
		<pubDate>Mon, 26 May 2008 03:30:04 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/05/26/my-ajax-notes/</guid>
		<description><![CDATA[The initial code
We are going to &#8220;try&#8221; three different ways to make a new XMLHttpRequest object. Every time we fail and get an error, we will catch the error and try the next a different command. This is necessary code for all AJAX applications.
function ajaxFunction(){
var ajaxRequest;  // The variable that makes Ajax possible!
try{
// Opera [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The initial code</strong><br />
We are going to &#8220;try&#8221; three different ways to make a new XMLHttpRequest object. Every time we fail and get an error, we will catch the error and try the next a different command. This is necessary code for all AJAX applications.</p>
<p>function ajaxFunction(){<br />
var ajaxRequest;  // The variable that makes Ajax possible!</p>
<p>try{<br />
// Opera 8.0+, Firefox, Safari<br />
ajaxRequest = new XMLHttpRequest();<br />
} catch (e){<br />
// Internet Explorer Browsers<br />
try{<br />
ajaxRequest = new ActiveXObject(&#8220;Msxml2.XMLHTTP&#8221;);<br />
} catch (e) {<br />
try{<br />
ajaxRequest = new ActiveXObject(&#8220;Microsoft.XMLHTTP&#8221;);<br />
} catch (e){<br />
// Something went wrong<br />
alert(&#8220;Your browser broke!&#8221;);<br />
return false;<br />
}<br />
}<br />
}</p>
<p><strong>Using the <em>XMLHttpRequest</em> object</strong></p>
<p>We have stored our XMLHttpRequest object in the variable <em>ajaxRequest</em>, and using this object is how we will communicate with the server.</p>
<p><strong>The onreadystatechange property<br />
</strong></p>
<p>The onreadystatechange property stores the function that will <u>process the  response from a server</u>. The following code defines an empty function and sets  the onreadystatechange property at the same time:</p>
<p>ajaxRequest.onreadystatechange = function()  {<br />
// code goes here.<br />
}</p>
<p><strong>The readystate property</strong></p>
<p>The <em>XMLHttpRequest</em> object has another property called <em>readyState</em>.  This is where the status of our server&#8217;s <em>response</em> is stored.   Each time the readyState changes,  the onreadystatechange function will be executed.</p>
<table class="ex" id="table7" border="1" cellpadding="2" cellspacing="0" height="116" width="259">
<tr>
<th align="left" width="10%">State</th>
<th align="left">Description</th>
</tr>
<tr>
<td>0</td>
<td>The request is not initialized</td>
</tr>
<tr>
<td>1</td>
<td>The request has been set up</td>
</tr>
<tr>
<td>2</td>
<td>The request has been sent</td>
</tr>
<tr>
<td>3</td>
<td>The request is in process</td>
</tr>
<tr>
<td>4</td>
<td>The request is complete</td>
</tr>
</table>
<p>If the <em>readystate </em>is set to 4, then we can collect/process our data. Going back to the function we created earlier:</p>
<p>ajaxRequest.onreadystatechange = function() {<br />
if (ajaxRequest.readystate == 4) {<br />
// get data from server response<br />
}<br />
}</p>
<p><strong>The responseText property</strong></p>
<p>The data sent back from the server can be retrieved using the responseText property. For example, if you wanted to change the field in a textbox equal to the response from the server you would use:</p>
<p>ajaxRequest.onreadystatechange = function() {<br />
if (ajaxRequest.readystate == 4) {<br />
document.myForm.time.value = ajaxRequest.responseText;<br />
}<br />
}</p>
<p><strong>Sending a request to the server</strong></p>
<p>To send off a request to the server, we use the open() method and the send()  method.</p>
<p>The open() method takes three arguments. The first argument defines which  method to use when sending the request (GET or POST). The second argument  specifies the URL of the server-side script. The third argument specifies that  the request should be handled asynchronously. The send() method sends the request off to the  server.</p>
<p>If your PHP/ASP script was in the same directory as this Ajax script, your code would look like this:</p>
<p>ajaxRequest.open(&#8220;GET&#8221;, &#8220;time.php&#8221;,true);<br />
ajaxRequest.send(null);</p>
<p><strong>Activating AJAX in a form</strong></p>
<p>Let&#8217;s say that you wanted the AJAX request to be fired off each time a field was completed in a form. You could use the code below:</p>
<p>&lt;form name=&#8221;myForm&#8221;&gt;<br />
Name:&lt;input type=&#8221;text&#8221; onChange=&#8221;ajaxFunction();&#8221; name=&#8221;username&#8221; /&gt;<br />
Time: &lt;input type=&#8221;text&#8221; name=&#8221;time&#8221; /&gt;<br />
&lt;/form&gt;</p>
<p>Credit goes to: http://www.tizag.com  and http://www.w3schools.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/05/26/my-ajax-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extremely Simple In-textbox Help Text</title>
		<link>http://www.bloggeh.com/2008/05/23/extremely-simple-in-textbox-help-text/</link>
		<comments>http://www.bloggeh.com/2008/05/23/extremely-simple-in-textbox-help-text/#comments</comments>
		<pubDate>Fri, 23 May 2008 05:15:18 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/05/23/extremely-simple-in-textbox-help-text/</guid>
		<description><![CDATA[Cool script which displays &#8216;help text&#8217; in a text box until it&#8217;s selected, then it disappears and allows the user to input text. It&#8217;s simple and just a few lines of javascript!
Javascript:
function clearText(field){
if (field.defaultValue == field.value) field.value = &#8221;;
else if (field.value == &#8221;) field.value = field.defaultValue;
}
Textbox input:
&#60;input name=&#8220;s&#8221; type=&#8220;text&#8221; maxlength=&#8220;106&#8243; id=&#8220;icePage_SearchBoxTop_qkw&#8221; class=&#8220;wsSearchBoxInputCommon wsSearchBoxInput&#8221; value=&#8220;Enter suburb [...]]]></description>
			<content:encoded><![CDATA[<p>Cool script which displays &#8216;help text&#8217; in a text box until it&#8217;s selected, then it disappears and allows the user to input text. It&#8217;s simple and just a few lines of javascript!</p>
<p><strong>Javascript:</strong><br />
function clearText(field){<br />
if (field.defaultValue == field.value) field.value = &#8221;;<br />
else if (field.value == &#8221;) field.value = field.defaultValue;<br />
}<br />
<strong>Textbox input:</strong><br />
&lt;<span class="start-tag">input</span><span class="attribute-name"> name</span>=<span class="attribute-value">&#8220;s&#8221; </span><span class="attribute-name">type</span>=<span class="attribute-value">&#8220;text&#8221; </span><span class="attribute-name">maxlength</span>=<span class="attribute-value">&#8220;106&#8243; </span><span class="attribute-name">id</span>=<span class="attribute-value">&#8220;icePage_SearchBoxTop_qkw&#8221; </span><span class="attribute-name">class</span>=<span class="attribute-value">&#8220;wsSearchBoxInputCommon wsSearchBoxInput&#8221; </span><span class="attribute-name">value</span>=<span class="attribute-value">&#8220;Enter suburb name here, eg: hawthorn&#8221; </span><span class="attribute-name">onFocus</span>=<span class="attribute-value">&#8220;clearText(this)&#8221; </span><span class="attribute-name">onBlur</span>=<span class="attribute-value">&#8220;clearText(this)&#8221;</span><span class="error"><span class="attribute-name">/</span></span>&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/05/23/extremely-simple-in-textbox-help-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Graphs and Charts in PHP with PHP/SWF!</title>
		<link>http://www.bloggeh.com/2008/05/05/creating-graphs-and-charts-in-php-with-phpswf/</link>
		<comments>http://www.bloggeh.com/2008/05/05/creating-graphs-and-charts-in-php-with-phpswf/#comments</comments>
		<pubDate>Mon, 05 May 2008 03:29:19 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/05/05/creating-graphs-and-charts-in-php-with-phpswf/</guid>
		<description><![CDATA[http://www.maani.us/charts/index.php?menu=Introduction
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.maani.us/charts/index.php?menu=Introduction" title="PHP/SWF Charts">http://www.maani.us/charts/index.php?menu=Introduction</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/05/05/creating-graphs-and-charts-in-php-with-phpswf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loader Generator</title>
		<link>http://www.bloggeh.com/2008/04/08/loader-generator/</link>
		<comments>http://www.bloggeh.com/2008/04/08/loader-generator/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 02:16:50 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/04/08/loader-generator/</guid>
		<description><![CDATA[Generate the cool &#8216;Web 2.0&#8242; loading images for your webpage using this vast collection!
http://www.loadinfo.net/
]]></description>
			<content:encoded><![CDATA[<p>Generate the cool &#8216;Web 2.0&#8242; loading images for your webpage using this vast collection!</p>
<p><a href="http://www.loadinfo.net/" target="_blank">http://www.loadinfo.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/04/08/loader-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating the perfect form&#8230;</title>
		<link>http://www.bloggeh.com/2008/02/05/creating-the-perfect-form/</link>
		<comments>http://www.bloggeh.com/2008/02/05/creating-the-perfect-form/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 13:19:49 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/02/05/creating-the-perfect-form/</guid>
		<description><![CDATA[The link below discusses what form format works the best using eye trackers and speed of completion. Labels directly above the textboxes were the best in their eyes.
http://www.uxmatters.com/MT/archives/000107.php
Sitepoint also has a great article on creating a useable form.
http://www.sitepoint.com/article/fancy-form-design-css/2
]]></description>
			<content:encoded><![CDATA[<p>The link below discusses what form format works the best using eye trackers and speed of completion. Labels directly above the textboxes were the best in their eyes.<a href="http://www.uxmatters.com/MT/archives/000107.php" target="_blank"></p>
<p>http://www.uxmatters.com/MT/archives/000107.php</a></p>
<p>Sitepoint also has a great article on creating a useable form.<br />
<a href="http://www.sitepoint.com/article/fancy-form-design-css/2" target="_blank">http://www.sitepoint.com/article/fancy-form-design-css/2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/02/05/creating-the-perfect-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GreyBox (A lightbox alternative)</title>
		<link>http://www.bloggeh.com/2008/01/10/greybox-a-lightbox-alternative/</link>
		<comments>http://www.bloggeh.com/2008/01/10/greybox-a-lightbox-alternative/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 15:10:46 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2008/01/10/greybox-a-lightbox-alternative/</guid>
		<description><![CDATA[A good lightbox alternative, extremely lightweight (22kb!)
http://www.orangoo.com/labs/GreyBox/
There are issues with flash overlapping the greybox in Firefox 2+.?  After hours of playing around I came up with the solution below:
1. Add wmode=&#8221;opaque&#8221; to the embed tag
2. Add the paramater: param name=&#8221;wmode&#8221; value=&#8221;opaque&#8221;
3. Put the flash content in a div, and set the z-index of that [...]]]></description>
			<content:encoded><![CDATA[<p>A good lightbox alternative, extremely lightweight (22kb!)</p>
<p><a href="http://www.orangoo.com/labs/GreyBox/" target="_blank">http://www.orangoo.com/labs/GreyBox/</a></p>
<p>There are issues with flash overlapping the greybox in Firefox 2+.?  After hours of playing around I came up with the solution below:</p>
<p>1. Add wmode=&#8221;opaque&#8221; to the embed tag</p>
<p>2. Add the paramater: param name=&#8221;wmode&#8221; value=&#8221;opaque&#8221;</p>
<p>3. Put the flash content in a div, and set the z-index of that div to 2.</p>
<p>4. Place the content you are wanting to display in the greybox also in a div, with a z-index of 1.</p>
<p>Presto!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2008/01/10/greybox-a-lightbox-alternative/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Beginners Guide to mod_rewrite I&#8217;ve Found</title>
		<link>http://www.bloggeh.com/2007/11/18/best-beginners-guide-to-mod_rewrite-ive-found/</link>
		<comments>http://www.bloggeh.com/2007/11/18/best-beginners-guide-to-mod_rewrite-ive-found/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 12:05:39 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2007/11/18/best-beginners-guide-to-mod_rewrite-ive-found/</guid>
		<description><![CDATA[http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html
Enjoy!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html" target="_blank">http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2007/11/18/best-beginners-guide-to-mod_rewrite-ive-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantastic Real-time Validation Javascript</title>
		<link>http://www.bloggeh.com/2007/11/16/fantastic-real-time-validation-javascript/</link>
		<comments>http://www.bloggeh.com/2007/11/16/fantastic-real-time-validation-javascript/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 14:55:49 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2007/11/16/fantastic-real-time-validation-javascript/</guid>
		<description><![CDATA[In compressed form has a very light footprint of only 10kb.? ?  The validation isn&#8217;t laggy at all. Excellent tool.
http://www.livevalidation.com/
]]></description>
			<content:encoded><![CDATA[<p>In compressed form has a very light footprint of only 10kb.? ?  The validation isn&#8217;t laggy at all. Excellent tool.</p>
<p><a href="http://www.livevalidation.com/" target="_blank">http://www.livevalidation.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2007/11/16/fantastic-real-time-validation-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The greatest site I&#8217;ve found for Web 2.0 PSD files and designs</title>
		<link>http://www.bloggeh.com/2007/11/15/the-greatest-site-ive-found-for-web-20-psd-files-and-designs/</link>
		<comments>http://www.bloggeh.com/2007/11/15/the-greatest-site-ive-found-for-web-20-psd-files-and-designs/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 10:05:29 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bloggeh.com/2007/11/15/the-greatest-site-ive-found-for-web-20-psd-files-and-designs/</guid>
		<description><![CDATA[http://www.dezinerfolio.com
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dezinerfolio.com" target="_blank">http://www.dezinerfolio.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggeh.com/2007/11/15/the-greatest-site-ive-found-for-web-20-psd-files-and-designs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
