<?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>Technoreply &#187; Coding</title>
	<atom:link href="http://www.technoreply.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technoreply.com</link>
	<description>The Web has never been this fun...</description>
	<lastBuildDate>Fri, 21 May 2010 15:36:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Autogrow Textarea Plugin</title>
		<link>http://www.technoreply.com/autogrow-textarea-plugin/</link>
		<comments>http://www.technoreply.com/autogrow-textarea-plugin/#comments</comments>
		<pubDate>Tue, 11 May 2010 18:16:53 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.technoreply.com/?p=399</guid>
		<description><![CDATA[Autogrow Textarea is a simple jQuery plugin that allows textareas to grow vertically when text is typed in. Many of you will find this quite familiar, since it is used extensively on social networking giant, Facebook.
You can try out the plugin below:

As you can see, this simple growth comes very naturally to the user. It [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Autogrow Textarea</strong> is a simple jQuery plugin that allows textareas to grow vertically when text is typed in. Many of you will find this quite familiar, since it is used extensively on social networking giant, Facebook.</p>
<p>You can <em><strong>try out the plugin</strong></em> below:</p>
<p style="text-align: center;"><textarea id="txtInput" style="overflow: hidden; width: 326px; height: auto;" cols="40" rows="5"></textarea></p>
<p>As you can see, this simple growth comes very <em>naturally to the user</em>. It can be useful for sites needing large user input. So if you would like to use this plugin, read the <strong>quick guide</strong> below.</p>
<ul class="specialList">
<li>First, you will need to download this one file: <a onclick="javascript:pageTracker._trackPageview('/download/jquery.autogrowtextarea.js/');" href="http://www.technoreply.com/wp-content/uploads/2010/05/jquery.autogrowtextarea.js">jquery.autogrowtextarea.js</a>.</li>
<li>After downloading and importing the script you will need to add some CSS to your page, as follows.
<pre class="brush: css">&lt;style type="text/css"&gt;
  textarea
  {
    overflow:hidden;
    height:auto;
    width:326px;
  }
&lt;/style&gt;</pre>
<p>The overflow and height properties should remain unchanged. The width however is tricky. You see, textarea&#8217;s are not generated the same way in different browsers, meaning that each browser will set a different width to your textarea. To counter this, I have created a small script that will give you the right width to use.</p>
<fieldset>
<ul class="cleanList">
<li> <textarea id="txtInputArea" class="hidden noForceSize" style="overflow: hidden; width: 326px; height: auto; padding: 0px;"></textarea></li>
<li> Columns:</li>
<li>
<input id="txtCols" type="text" /></li>
<li> Font size(in px):</li>
<li>
<input id="txtFontSize" type="text" />
<input onclick="calculateWidth();" type="button" value="Go" /></li>
<li> Appropriate textarea width: <span id="spnResult">-</span>px</li>
</ul>
</fieldset>
<p>I have set my width to 346px since I am using 40 columns for my textarea. It&#8217;s nice to point out that the default textarea font size is 13px.</li>
<li>With all that done, you can call the plugin this way:
<pre class="brush: html">&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
    $("#txtInput").autoGrow();
  });
&lt;/script&gt;
&lt;textarea id="txtInput" cols="40" rows="5"&gt;&lt;/textarea&gt;</pre>
<p>Where &#8220;txtInput&#8221; is the textarea&#8217;s identifier and &#8220;autoGrow()&#8221; is the function that activates the plugin for the selected textarea.</li>
</ul>
<p>As you can see, the <strong>implementation is quite straightforward</strong>. I am planning to include automatic width detection in the plugin, so you don&#8217;t have to generate the appropriate width every time.</p>
<p>If you like this plugin and would like to suggest features, or report bugs, you are welcome to <a title="Contact me" href="http://www.technoreply.com/contact/">contact me</a>.</p>
<div class="hidden"><script src="http://www.technoreply.com/wp-content/uploads/2010/05/jquery.autogrowtextarea.js" type="text/javascript"></script> <script src="http://www.technoreply.com/wp-content/uploads/2010/05/autogrowtextarea.util_.js" type="text/javascript"></script><br />
<script type="text/javascript">// <![CDATA[
                              jQuery(document).ready(function(){jQuery("#txtInput").autoGrow();});
// ]]&gt;</script></div>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/autogrow-textarea-plugin/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Fix &#8220;Failed to send your message. Please try later or contact administrator by other way.&#8221;</title>
		<link>http://www.technoreply.com/fix-failed-to-send-your-message-please-try-later-or-contact-administrator-by-other-way/</link>
		<comments>http://www.technoreply.com/fix-failed-to-send-your-message-please-try-later-or-contact-administrator-by-other-way/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 05:44:37 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.technoreply.com/?p=264</guid>
		<description><![CDATA[A few days ago I received a mail from a reader, notifying me that my contact form was not working. I use Contact Form 7 on my blog and I was very surprised by the fact that it was not working. It usually is just plug and play.
The error message I was getting was &#8220;Failed [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I received a mail from a reader, notifying me that my contact form was not working. I use <a onclick="javascript:pageTracker._trackPageview('/post/ContactForm7/')" title="Contact Form 7 Homepage" href="http://ideasilo.wordpress.com/2007/04/30/contact-form-7/" target="_blank">Contact Form 7</a> on my blog and I was very surprised by the fact that it was not working. It usually is just plug and play.</p>
<p>The error message I was getting was &#8220;Failed to send your message. Please try later or contact administrator by other way.&#8221;. A quick Googling and I came upon this <a onclick="javascript:pageTracker._trackPageview('/post/Angstrey/')" title="Mario Vargas fix for &quot;Failed to send your message. Please try later or contact administrator by other way.&quot;" href="http://angstrey.com/index.php/2009/07/20/contact-form-7s-failed-to-send-your-message-error/" target="_blank">post by Mario Vargas</a>. I then realized that the error I was getting was because my mail settings were messed up. You can find my mail settings on the screenshot below:</p>
<div id="attachment_265" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.technoreply.com/wp-content/uploads/2010/01/bad_config.jpg"><img class="size-medium wp-image-265" title="Contact Form 7 - Bad configuration" src="http://www.technoreply.com/wp-content/uploads/2010/01/bad_config-300x88.jpg" alt="Contact Form 7 - Bad configuration" width="300" height="88" /></a><p class="wp-caption-text">Wrong config for Contact Form 7. Click on picture to enlarge.</p></div>
<p>As you can see, I was using the reader&#8217;s email address to send me emails. This was the wrong thing to do. Even if the mail would be sent, it would be flagged as spam. As a general rule, you should only send emails belonging to your domain from your domain. (send only @technoreply.com mails from www.technoreply.com).</p>
<p>So, I applied this formula. I changed the senders email to one that belongs to me. The screenshot below speaks for itself:</p>
<div id="attachment_266" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.technoreply.com/wp-content/uploads/2010/01/good_config.jpg"><img class="size-medium wp-image-266" title="Contact Form 7 - Good configuration" src="http://www.technoreply.com/wp-content/uploads/2010/01/good_config-300x88.jpg" alt="Contact Form 7 - Good configuration" width="300" height="88" /></a><p class="wp-caption-text">Good config for Contact Form 7. Click on picture to enlarge.</p></div>
<p>This simple little trick worked for me. It saved me a lot of time since I did not have to tweak my server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/fix-failed-to-send-your-message-please-try-later-or-contact-administrator-by-other-way/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>5 guidelines for clean, well-presented and perfectly readable code</title>
		<link>http://www.technoreply.com/5-guidelines-for-clean-well-presented-and-perfectly-readable-code/</link>
		<comments>http://www.technoreply.com/5-guidelines-for-clean-well-presented-and-perfectly-readable-code/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 17:59:51 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.technoreply.com/?p=162</guid>
		<description><![CDATA[Good coding is not only about getting a module to work. It&#8217;s also about doing things the right way, observing the right practices. Why? Simply because at some point, the code will have to be evolved. And if a code is well written and presented, its easier to work on.
In this light, I have written [...]]]></description>
			<content:encoded><![CDATA[<p>Good coding is not only about getting a module to work. It&#8217;s also about doing things the right way, observing the right practices. Why? Simply because at some point, the code will have to be evolved. And if a code is well written and presented, its easier to work on.</p>
<p>In this light, I have written <strong>5 guidelines</strong> for you to follow. If followed, these will make your code look clear and much more readable. Here it goes.</p>
<h3>#1 Indent your code</h3>
<p>I don&#8217;t even need to stress on that. Indentation is essential if you want readable lines of code. Remember, nothing says amateur programmer more than unintended lines of code.</p>
<h3>#2 Avoid excessive white lines</h3>
<p>Most programmers use white lines to separate blocks of code. If you are the type of person to leave white lines randomly in your codes, you are probably not doing any favor to the next programmer that will be working on your codes. Think of white lines as separators, not as beautifiers.</p>
<h3>#3 Use comments moderately</h3>
<p>I read an article once that said, &#8220;Good code does not need comments&#8221;. That is a very good advice. Your code should properly describe what it is doing. This is achieved by using meaningful variable and method names. Comments should only be used to describe confusing operations.</p>
<h3>#4 Use meaningful variable and method names</h3>
<p>Many programmers shorten their variable and method names so that they can code faster. To me, this is ridiculous. A good variable name should be descriptive. Also, most IDEs come with code completion nowadays. Meaning you always type the first few letters of any variable or method name, before you get all the possibilities in a box. So why choose short, meaningless variables over long, meaningful ones?</p>
<h3>#5 Group your declarations on top</h3>
<p>Variable declarations should be on top. Be it inside a method, a loop or anything else. The reason is simply because it has been this way for ages, and anything the other way round would seem uncanny.</p>
<p>There it goes. You have my <strong>5 guidelines</strong> for clean, well-presented and perfectly readable code.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 60px; width: 1px; height: 1px;">6 tips to have clean and well-presented code</div>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/5-guidelines-for-clean-well-presented-and-perfectly-readable-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The resources on the Web</title>
		<link>http://www.technoreply.com/the-resources-on-the-web/</link>
		<comments>http://www.technoreply.com/the-resources-on-the-web/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 18:26:29 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.technoreply.com/?p=130</guid>
		<description><![CDATA[The web is truly an amazing place. The amount of free resources available is ridiculous. And that&#8217;s not exaggerated. Not even a wee bit. Why? Let me tell you.
The other day, I had to do what most developers hate. I had to accomplish a task and I did not have enough time. Yes it happens [...]]]></description>
			<content:encoded><![CDATA[<p>The web is truly an amazing place. The amount of free resources available is ridiculous. And that&#8217;s not exaggerated. Not even a wee bit. Why? Let me tell you.</p>
<p>The other day, I had to do what most developers hate. I had to accomplish a task and I did not have enough time. Yes it happens at times. In more detail, I had to write a console application that would :</p>
<ul>
<li>Fetch a CSV file on an FTP server</li>
<li>Parse the file</li>
<li>Export the parsed data to the database</li>
</ul>
<p>Once again, there is nothing challenging about this application. The only problem was that this was an urgent task.</p>
<p>So what did I do? That&#8217;s where the title of this post makes absolute sense. I searched the web. That&#8217;s all I did, I swear! In a matter of a few Google searches, I had all the code snippets to build this application. This small exercise made me realize that there is an endless amount of free resources on the web and once assembled, it can be the basis of a very powerful application. Maybe you do not realise, but this little console application saved me 2 days of coding/testing. Thank you Internet.</p>
<p>Resources:</p>
<p><a title="Fetch file from FTP" href="http://www.codeguru.com/csharp/csharp/cs_internet/desktopapplications/article.php/c13163" target="_blank">Fetch file from FTP</a></p>
<p><a title="Parse CSV file using delimiter and qualifer" href="http://www.codeproject.com/KB/dotnet/TextQualifyingSplit.aspx" target="_blank">Parse CSV file using delimiter and qualifier</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/the-resources-on-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to do French alphanumeric regular expression validation in ASP.NET</title>
		<link>http://www.technoreply.com/how-to-do-french-alphanumeric-regular-expression-validation-in-asp-net/</link>
		<comments>http://www.technoreply.com/how-to-do-french-alphanumeric-regular-expression-validation-in-asp-net/#comments</comments>
		<pubDate>Mon, 04 May 2009 23:53:20 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://technoreply.wordpress.com/?p=40</guid>
		<description><![CDATA[If you&#8217;re working on ASP.NET, you have realized that regular expression validation can come in handy more than one time. Also, regular expressions are very easy to implement (provided you have a good knowledge about it).
Some days back, I was faced with a small task. I had to make implement Javascript regular expression validation on [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re working on <strong>ASP.NET</strong>, you have realized that <strong>regular expression validation</strong> can come in handy more than one time. Also, regular expressions are very easy to implement (provided you have a good knowledge about it).</p>
<p>Some days back, I was faced with a small task. I had to make implement <strong>Javascript regular expression validation</strong> on a field. The requirement was simple; the field should have minimum three alphanumeric characters, including <strong>French characters</strong>. For you to have an idea, <strong>French characters</strong> include &#8220;<strong>accent aigu</strong>&#8221; and &#8220;<strong>accent grave</strong>&#8221; (you can read about <a title="French accents" href="http://en.wikipedia.org/wiki/Accent_aigu" target="_blank">French accents on wikipedia</a>).</p>
<p>Okay so I had the requirement and I was all set. I created a <strong>RegularExpressionValidator</strong> element on my <strong>ASP.NET</strong> page and I added &#8220;<strong>[a-zA-Z0-9 ]</strong>&#8221; as <strong>ValidationExpression</strong>. The code looked like this:</p>
<pre style="border:1px solid #c0c0c0;margin-bottom:15px;padding:10px;">&lt;asp:TextBox ID="txtName" runat="server" /&gt;
&lt;asp:RegularExpressionValidator ID="rexName" ControlToValidate="txtName"
  ValidationExpression="[a-zA-Z0-9 ][a-zA-Z0-9 ][a-zA-Z0-9 ]+"
  ErrorMessage="Please enter at least 3 alphanumeric characters." runat="server" /&gt;</pre>
<p>This worked perfectly. It matched three alphanumeric characters or more. But the problem was it was not matching any of the <strong>French characters</strong>. After some Google searching and some code trial and errors, I came up with this &#8220;<strong>[a-zA-ZÀ-ÿ0-9 ]</strong>&#8221; as <strong>ValidationExpression</strong>. This worked like a charm. The new code was like this:</p>
<pre style="border:1px solid #c0c0c0;margin-bottom:15px;padding:10px;">&lt;asp:TextBox ID="txtName" runat="server" /&gt;
&lt;asp:RegularExpressionValidator ID="rexName" ControlToValidate="txtName"
  ValidationExpression="[a-zA-ZÀ-ÿ0-9 ][a-zA-ZÀ-ÿ0-9 ][a-zA-ZÀ-ÿ0-9 ]+"
  ErrorMessage="Please enter at least 3 alphanumeric characters." runat="server" /&gt;</pre>
<p>If you can&#8217;t see the logic, let me explain. The code now matches</p>
<ul>
<li>all characters from a to z (lowercase invariants)</li>
<li>all characters from A to Z (uppercase invariants)</li>
<li>all characters from À to ÿ (all accent characers including French accents in uppercase and lowercase)</li>
<li>all digits from 0 to 9 (note that the requirement did not require the name to start with a non-digit)</li>
<li>whitespaces (whitespace was not catered for in the requirement)</li>
</ul>
<p>So there you go. You now have the <strong>regular expression validation</strong> for <strong>French characters</strong>. The beauty of <strong>regular expression validation</strong> is that it is hard to come up with, but it is very easy to implement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/how-to-do-french-alphanumeric-regular-expression-validation-in-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Obsolete System.Configuration.ConfigurationSettings.AppSettings in C#</title>
		<link>http://www.technoreply.com/fixing-obsolete-configurationsettings-appsettings-in-c-sharp/</link>
		<comments>http://www.technoreply.com/fixing-obsolete-configurationsettings-appsettings-in-c-sharp/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 13:54:21 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://technoreply.wordpress.com/?p=35</guid>
		<description><![CDATA[Okay this is a quick one. If you&#8217;re having &#8220;&#8216;System.Configuration.ConfigurationSettings.AppSettings&#8217; is obsolete: &#8216;This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings&#8217;&#8221; as error message when working with C#, then you have come to the right place for the fix. Here we go then.
To fix it, just add a reference to &#8220;System.Configuration.dll&#8220;. And change from [...]]]></description>
			<content:encoded><![CDATA[<p>Okay this is a quick one. If you&#8217;re having &#8220;<strong>&#8216;System.Configuration.ConfigurationSettings.AppSettings&#8217; is obsolete: &#8216;This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings&#8217;</strong>&#8221; as error message when working with <strong>C#</strong>, then you have come to the right place for the <strong>fix</strong>. Here we go then.</p>
<p>To <strong>fix</strong> it, just <strong>add a reference</strong> to &#8220;<strong>System.Configuration.dll</strong>&#8220;. And change from &#8220;<strong>ConfigurationSettings.AppSettings</strong>&#8221; to &#8220;<strong>ConfigurationManager.AppSettings</strong>&#8220;. (<strong>C# code example</strong> below)</p>
<p>Now if you have no idea what this gibberish above means, here is an in detail explanation. <strong>Non-noobs</strong>, please read no more. <strong>Noobs</strong>, follow the steps.</p>
<ol>
<li>Right-click on your <strong>project</strong>, look for <strong>Add Reference</strong> and click on it</li>
<li>Choose the <strong>.Net</strong> tab and search for <strong>System.Configuration</strong> on the list</li>
<li>Click on <strong>OK</strong></li>
<li>Now that the <strong>reference</strong> is added, just replace <strong>ConfigurationSettings.AppSettings</strong> with <strong>ConfigurationManager.AppSettings</strong> in your <strong>code</strong>. (<strong>C# code example</strong> below)</li>
</ol>
<p>So if your <strong>code</strong> was like:</p>
<pre style="border:1px solid #c0c0c0;margin-bottom:15px;padding:10px;">Console.WriteLine(ConfigurationSettings.AppSettings.Get("anyKey"));</pre>
<p>It should now be like:</p>
<pre style="border:1px solid #c0c0c0;margin-bottom:15px;padding:10px;">Console.WriteLine(ConfigurationManager.AppSettings.Get("anyKey"));</pre>
<p>Now that this is <strong>fixed</strong>, you can get back to work on your project. It is an <strong>easy fix</strong> as you can see, but it&#8217;s not intuitive. I had to find the fix on <a title="Obsolete ConfigurationSettings.AppSettings fix" href="http://www.aspcode.net/SystemConfigurationConfigurationSettingsAppSettings-is-obsolete.aspx" target="_blank">aspcode.net</a>. Hope this helps some of you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/fixing-obsolete-configurationsettings-appsettings-in-c-sharp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to make Google Map Marker non clickable</title>
		<link>http://www.technoreply.com/how-to-make-google-map-marker-non-clickable/</link>
		<comments>http://www.technoreply.com/how-to-make-google-map-marker-non-clickable/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 00:21:10 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://technoreply.wordpress.com/?p=32</guid>
		<description><![CDATA[If you have been working with Google map markers for a long time, you probably know that whatever map marker you place on the map is clickable by default. But what if I need a non-clickable marker? Easy, its in the Google Maps API. Yes it is, but the documentation is not very straight forward.
Taking [...]]]></description>
			<content:encoded><![CDATA[<p>If you have been working with <strong>Google map markers</strong> for a long time, you probably know that whatever <strong>map marker</strong> you place on the map is <strong>clickable by default</strong>. But what if I need a <strong>non-clickable marker</strong>? Easy, its in the <strong>Google Maps API</strong>. Yes it is, but the documentation is not very straight forward.</p>
<p>Taking a look at the <strong>GMarker</strong> section in the <strong>Google Maps API</strong>, we realise that the <strong>constructor</strong> takes <strong>two arguments</strong>. <strong>GLatLng</strong> and <strong>GMarkerOptions</strong>. What we need is the <strong>GMarkerOptions</strong>, which specifies the <strong>map marker </strong>options. Taking a look at the <strong>GMarkerOptions</strong>, we see that the class has <strong>no constructor</strong>. It only has a list of <strong>properties</strong>. Among, the <strong>clickable property</strong>.</p>
<p>But how do we use those properties? A little bit of googling around gave me answer. It was found on the <a title="Google map marker GMarkerOptions non clickable" href="http://googlemapsapi.blogspot.com/2007/03/march-marker-madness-gmarkeroptions.html" target="_blank">Official Google Maps API Blog</a>. The solution is pretty simple. Just take a look on the code below and you will see what I mean.</p>
<pre style="border:1px solid #c0c0c0;margin-bottom:15px;padding:10px;">var markerOptions = {
clickable: false
};
var marker = new GMarker(new GLatLng(37.4419,-122.1419), markerOptions);
map.addOverlay(marker);</pre>
<p>As you can see, the code is very simple, but the <strong>documentation</strong> is not precise enough. Hope this helps you out. Just a note, <strong>map marker</strong> options should be separated by a comma.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/how-to-make-google-map-marker-non-clickable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>document.body.onload fix for IE</title>
		<link>http://www.technoreply.com/document-body-fix-for-ie/</link>
		<comments>http://www.technoreply.com/document-body-fix-for-ie/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 15:45:14 +0000</pubDate>
		<dc:creator>Jevin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://technoreply.wordpress.com/?p=14</guid>
		<description><![CDATA[If you are reading this, you are probably having problems with &#8220;document.body.onload&#8221; in your IE javascript code. I have had this problem a few days back and a Google search solved it.
To fix it, just change your code from:
document.body.onload = alert("Hello world");
to:
document.onload = alert("Hello world");
It appears that document.body.onload does not work on IE. Before, when [...]]]></description>
			<content:encoded><![CDATA[<p>If you are reading this, you are probably having problems with &#8220;<strong>document.body.onload</strong>&#8221; in your <strong>IE</strong> <strong>javascript</strong> code. I have had this problem a few days back and a <strong>Google</strong> search solved it.</p>
<p>To fix it, just change your code from:</p>
<pre style="border:1px solid #C0C0C0;margin-bottom:15px;padding:10px;">document.body.onload = alert("Hello world");</pre>
<p>to:</p>
<pre style="border:1px solid #C0C0C0;margin-bottom:15px;padding:10px;">document.onload = alert("Hello world");</pre>
<p>It appears that <strong>document.body.onload</strong> does not work on <strong>IE</strong>. Before, when I loaded the page, I used to get  the error dialog &#8220;<strong>A Runtime Error has occured</strong>&#8221; saying &#8220;<strong>Error: Not implemented</strong>&#8220;. On debug in Visual Studio, I&#8217;d get &#8220;<strong>htmlfile: Not implemented</strong>&#8220;. All these error messages are not very clear, but fortunately, the faulty line of code was highlighted.</p>
<p>I have not yet researched about the difference(s) between <strong>document.body.onload</strong> and <strong>document.onload</strong> in <strong>Firefox</strong> (or <strong>IE</strong>), but if you&#8217;re only using a small piece of <strong>javascript</strong> code, you should be alright with this fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoreply.com/document-body-fix-for-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
