<?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>Simple Living, High Thinking Nadim</title>
	<atom:link href="http://simplenadim.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplenadim.wordpress.com</link>
	<description>web techno mania</description>
	<lastBuildDate>Wed, 08 Oct 2008 02:33:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='simplenadim.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Simple Living, High Thinking Nadim</title>
		<link>http://simplenadim.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://simplenadim.wordpress.com/osd.xml" title="Simple Living, High Thinking Nadim" />
	<atom:link rel='hub' href='http://simplenadim.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting the FavIcon (webpage icon)</title>
		<link>http://simplenadim.wordpress.com/2008/10/08/setting-the-favicon-webpage-icon/</link>
		<comments>http://simplenadim.wordpress.com/2008/10/08/setting-the-favicon-webpage-icon/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 02:33:19 +0000</pubDate>
		<dc:creator>simplenadim</dc:creator>
				<category><![CDATA[Graphics and Design]]></category>
		<category><![CDATA[Icon]]></category>

		<guid isPermaLink="false">http://simplenadim.wordpress.com/?p=20</guid>
		<description><![CDATA[Sometimes little things become important to think of. One such thing is FavIcon or &#8216;Favorites Icon&#8217; which is also known as webpage icon, shortcut icon, URL icon, bookmark icon etc. One example of this icon is shown below. To add such icon the following line should be placed inside the &#60;head&#62; tag of the HTML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplenadim.wordpress.com&amp;blog=5003024&amp;post=20&amp;subd=simplenadim&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes little things become important to think of. One such thing is FavIcon or &#8216;Favorites Icon&#8217; which is also known as webpage icon, shortcut icon, URL icon, bookmark icon etc. One example of this icon is shown below.</p>
<div id="attachment_21" class="wp-caption alignnone" style="width: 328px"><a href="http://simplenadim.files.wordpress.com/2008/10/fav.png"><img class="size-full wp-image-21" title="FavIcon Example" src="http://simplenadim.files.wordpress.com/2008/10/fav.png?w=318&#038;h=245" alt="FavIcon Example" width="318" height="245" /></a><p class="wp-caption-text">FavIcon Example</p></div>
<p>To add such icon the following line should be placed inside the <strong>&lt;head&gt; </strong>tag of the HTML document.</p>
<p><strong>&lt;<span class="start-tag">link</span><span class="attribute-name"> href</span>=<span class="attribute-value">&#8220;dw.ico&#8221; </span><span class="attribute-name">rel</span>=<span class="attribute-value">&#8220;shortcut icon&#8221; </span><span class="error"><span class="attribute-name">/</span></span>&gt;</strong></p>
<p>Where &#8216;dw.ico&#8217; is the desired icon file name.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplenadim.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplenadim.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplenadim.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplenadim.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplenadim.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplenadim.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplenadim.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplenadim.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplenadim.wordpress.com&amp;blog=5003024&amp;post=20&amp;subd=simplenadim&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplenadim.wordpress.com/2008/10/08/setting-the-favicon-webpage-icon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7824fa7ec4c8de439870efd06ce6d6b?s=96&#38;d=identicon" medium="image">
			<media:title type="html">simplenadim</media:title>
		</media:content>

		<media:content url="http://simplenadim.files.wordpress.com/2008/10/fav.png" medium="image">
			<media:title type="html">FavIcon Example</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic Layout by JavaScript</title>
		<link>http://simplenadim.wordpress.com/2008/10/07/dynamic-layout-by-javascript/</link>
		<comments>http://simplenadim.wordpress.com/2008/10/07/dynamic-layout-by-javascript/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 01:31:11 +0000</pubDate>
		<dc:creator>simplenadim</dc:creator>
				<category><![CDATA[Layout Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fluid Design]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://simplenadim.wordpress.com/?p=12</guid>
		<description><![CDATA[We usually design web page layout by DIV+CSS. In some cases we need more flexibility in layout design which can further be achieved by JavaScript. The following is an example of layout by JS in which there is a page header, a left navigation bar and a main body DIV. The size of the &#8216;main&#8217; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplenadim.wordpress.com&amp;blog=5003024&amp;post=12&amp;subd=simplenadim&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p>We usually design web page layout by DIV+CSS. In some cases we need more flexibility in layout design which can further be achieved by JavaScript. The following is an example of layout by JS in which there is a page header, a left navigation bar and a main body DIV. The size of the &#8216;main&#8217; DIV is dynamic that gets updated each time the window is resized.</p>
<pre><span style="color:#008000;"><span style="color:#008000;">&lt;</span></span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;">html&gt;
	&lt;head&gt;
		&lt;style type="text/css"&gt;
			body {
				background: #000000;
				margin: 0;
			}

			#header {
				height: 60px;
				background: #880000;
			}

			#sidebar {
				background: #000088;
				width: 200px;
				height: 350px;
			}

			#main {
				position: absolute;
				left: 200px;
				top: 60px;
				background: #909090;
			}
		&lt;/style&gt;

		&lt;script type="text/javascript"&gt;
			</span><span style="color:#008000;"><span style="color:#800000;">function adjust() {
				var mainW, mainH;

				if (parseInt(navigator.appVersion)&gt;3) {
					if (navigator.appName == "Netscape" || navigator.appName == "Opera") {</span></span></span></span><span style="color:#800000;">
</span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;"><span style="color:#800000;">						// for FF, Opera use window.innerWidth and window.innerHeight</span></span></span></span><span style="color:#800000;">
</span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;"><span style="color:#800000;">                                                mainW = window.innerWidth - 210;
						mainH = window.innerHeight - 90;
					} else if (navigator.appName.indexOf("Microsoft") != -1) {</span></span></span></span><span style="color:#800000;">
</span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;"><span style="color:#800000;">                                                // for IE use document.body.offsetWidth and document.body.offsetHeight</span></span></span></span><span style="color:#800000;">
</span><span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;"><span style="color:#800000;">               					mainW = document.body.offsetWidth - 230;
						mainH = document.body.offsetHeight - 110;
					}
				}

				var main = document.getElementById('main');
				main.style.width = mainW + 'px';
				main.style.height = mainH + 'px';</span></span></span></span>
<span style="color:#008000;"><span style="color:#008000;"><span style="color:#008000;"><span style="color:#800000;">			}</span></span><span style="color:#008000;">
		&lt;/script&gt;
	&lt;/head&gt;
	&lt;body </span><span style="color:#008000;"><span style="color:#800000;">onload='adjust()' onresize='adjust()'</span></span><span style="color:#008000;">&gt;
		&lt;div id='header'&gt;&lt;/div&gt;
		&lt;div id='sidebar'&gt;&lt;/div&gt;
		&lt;div id='main'&gt;&lt;/div&gt;
	&lt;/body&gt;
&lt;/html</span>&gt;</span></span></pre>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplenadim.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplenadim.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplenadim.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplenadim.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplenadim.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplenadim.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplenadim.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplenadim.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplenadim.wordpress.com&amp;blog=5003024&amp;post=12&amp;subd=simplenadim&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplenadim.wordpress.com/2008/10/07/dynamic-layout-by-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7824fa7ec4c8de439870efd06ce6d6b?s=96&#38;d=identicon" medium="image">
			<media:title type="html">simplenadim</media:title>
		</media:content>
	</item>
		<item>
		<title>IE Cache Control Prevents AJAX from Sending Requests to Same URL</title>
		<link>http://simplenadim.wordpress.com/2008/10/06/ie-cache-control-prevents-ajax-from-sending-requests-to-same-url/</link>
		<comments>http://simplenadim.wordpress.com/2008/10/06/ie-cache-control-prevents-ajax-from-sending-requests-to-same-url/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 08:26:11 +0000</pubDate>
		<dc:creator>simplenadim</dc:creator>
				<category><![CDATA[AJAX Problems and Solutions]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Browser Compatibility Issues]]></category>

		<guid isPermaLink="false">http://simplenadim.wordpress.com/?p=3</guid>
		<description><![CDATA[Once I was stuck in a very bothering problem, I was sending an AJAX request to the same URL (a PHP script) on and on. It worked fine in FF and Opera, the things were getting updated as I expected. But IE showed some bothering behavior. Since I was sending request to the same URL, IE was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplenadim.wordpress.com&amp;blog=5003024&amp;post=3&amp;subd=simplenadim&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Once I was stuck in a very bothering problem, I was sending an AJAX request to the same URL (a PHP script) on and on. It worked fine in FF and Opera, the things were getting updated as I expected. But IE showed some bothering behavior. Since I was sending request to the same URL, IE was not allowing AJAX to send request to the actual URL rather it was retrieving the responses from its cache. So the things were not getting updated as I was expecting. I googled and found out solution to this problem. I found the following solution from googling.</p>
<p>You need to force no caching by adding the following lines just before you call <strong>xhr.send(null)</strong>, where <strong>xhr</strong> is the <strong>XMLHTTPRequest</strong>.</p>
<p><strong>xhr.setRequestHeader(&#8220;If-Modified-Since&#8221;, &#8220;Thu, 1 Jan 1970 00:00:00 GMT&#8221;);</strong></p>
<p><strong>xhr.setRequestHeader(&#8220;Cache-Control&#8221;, &#8220;no-cache&#8221;);</strong></p>
<p>I also devised another way. Since the problem is due to the same URL, we can change the URL by adding some random number which makes the URL look different each time it is used and it doen&#8217;t affect the URL. The following is another solution.</p>
<p><strong>xhr.open(&#8220;GET&#8221;, &#8220;http://my-address/myscript?myparam=dummy&amp;rand=&#8221; + Math.random(), true);</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simplenadim.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simplenadim.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simplenadim.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simplenadim.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simplenadim.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simplenadim.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simplenadim.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simplenadim.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simplenadim.wordpress.com&amp;blog=5003024&amp;post=3&amp;subd=simplenadim&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simplenadim.wordpress.com/2008/10/06/ie-cache-control-prevents-ajax-from-sending-requests-to-same-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7824fa7ec4c8de439870efd06ce6d6b?s=96&#38;d=identicon" medium="image">
			<media:title type="html">simplenadim</media:title>
		</media:content>
	</item>
	</channel>
</rss>
