<?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>Web Development - Programming - Coding Recipes &#187; JavaScript</title>
	<atom:link href="http://codingrecipes.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://codingrecipes.com</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 19:58:56 +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>Google Maps API V3; infowindow is only attached to the last marker problem</title>
		<link>http://codingrecipes.com/google-maps-api-v3-infowindow-is-only-attached-to-the-last-marker-problem</link>
		<comments>http://codingrecipes.com/google-maps-api-v3-infowindow-is-only-attached-to-the-last-marker-problem#comments</comments>
		<pubDate>Wed, 28 Jul 2010 19:58:56 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Google Maps API]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1007</guid>
		<description><![CDATA[You can fix this issue like this:

for &#40;var i = 0; i &#60; addresses.length; i++&#41; &#123;
			&#40;function &#40;&#41; &#123; /* ################################################## */
				var address = addresses&#91;i&#93;;
				var lat_lang = new google.maps.LatLng&#40;address.latitude, address.longitude&#41;;
				var marker = new google.maps.Marker&#40;&#123;
					position: lat_lang,
					map: map
				&#125;&#41;;
				markers&#91;markers.length&#93; = marker;
				var infowindow = new google.maps.InfoWindow&#40;&#123;
					content: address.address
				&#125;&#41;;
				infowindows&#91;infowindows.length&#93; = infowindow;
				google.maps.event.addListener&#40;marker, 'click', function&#40;&#41; &#123;
					close_infowindows&#40;&#41;;
					infowindow.open&#40;map, marker&#41;;
				&#125;&#41;;
			&#125;&#41;&#40;&#41;; /* ################################################## */
		&#125;

By adding the lines marked [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/google-maps-api-v3-infowindow-is-only-attached-to-the-last-marker-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery: How To Check If An Object Exists</title>
		<link>http://codingrecipes.com/jquery-how-to-check-if-an-object-exists</link>
		<comments>http://codingrecipes.com/jquery-how-to-check-if-an-object-exists#comments</comments>
		<pubDate>Tue, 25 May 2010 20:25:34 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=941</guid>
		<description><![CDATA[
   if &#40;$&#40;'#myDiv'&#41;.length&#41;
      $&#40;'#myDiv'&#41;.show&#40;&#41;;

Source:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_test_whether_an_element_exists.3F
]]></description>
		<wfw:commentRss>http://codingrecipes.com/jquery-how-to-check-if-an-object-exists/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery: Scroll Window To The Top Of An Object</title>
		<link>http://codingrecipes.com/jquery-scroll-window-to-top-of-an-object</link>
		<comments>http://codingrecipes.com/jquery-scroll-window-to-top-of-an-object#comments</comments>
		<pubDate>Tue, 25 May 2010 20:23:32 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=939</guid>
		<description><![CDATA[Here is how to do this:

var offset = $&#40;'#OBJECT-ID'&#41;.offset&#40;&#41;.top;
$&#40;'html,body'&#41;.animate&#40;&#123;
   scrollTop: offset
&#125;, 500&#41;;

]]></description>
		<wfw:commentRss>http://codingrecipes.com/jquery-scroll-window-to-top-of-an-object/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best Overall Code Editor Ever: Komodo Edit</title>
		<link>http://codingrecipes.com/the-best-overall-code-editor-ever-komodo-edit</link>
		<comments>http://codingrecipes.com/the-best-overall-code-editor-ever-komodo-edit#comments</comments>
		<pubDate>Tue, 04 May 2010 22:00:03 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML/XHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Komodo Edit]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=915</guid>
		<description><![CDATA[A while back I wrote a post about what I think is the best Python code editor but I decided to write an update and write a little more about Komodo Edit&#8230;
I use Dreamweaver to write HTML/CSS/JavaScript/PHP code and a few days ago I decided to open Komodo Edit and see how it does with [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/the-best-overall-code-editor-ever-komodo-edit/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Way To Send A Message To Apple About Flash</title>
		<link>http://codingrecipes.com/a-way-to-send-a-message-to-apple-about-flash</link>
		<comments>http://codingrecipes.com/a-way-to-send-a-message-to-apple-about-flash#comments</comments>
		<pubDate>Sat, 10 Apr 2010 20:55:50 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Annoying Stuff]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=876</guid>
		<description><![CDATA[Here is what can be done, someone could write a piece of JS code and make a big Flash banner, big I mean very big and then the JavaScript could check for iPad and iPhone and try to show the banner to them&#8230;
You can then urge web developers and web masters to put it on [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/a-way-to-send-a-message-to-apple-about-flash/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery UI Dialog And The Enter &#8211; Return Key Problem</title>
		<link>http://codingrecipes.com/jquery-ui-dialog-and-the-enter-return-key-problem</link>
		<comments>http://codingrecipes.com/jquery-ui-dialog-and-the-enter-return-key-problem#comments</comments>
		<pubDate>Thu, 18 Feb 2010 06:53:38 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Annoying Stuff]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=810</guid>
		<description><![CDATA[This is another post for my &#8216;Annoying Stuff&#8217; collection and this one is very, so very annoying&#8230;
The problem is that jQuery UI, supports forms in dialogs but the problem is that a user can&#8217;t hit &#8216;Enter&#8217; to submit the form, it will break everything, a user has to actually hit the &#8216;Submit&#8217; (or whatever) button [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/jquery-ui-dialog-and-the-enter-return-key-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>document.getElementById On All Browsers  &#8211; Cross browser getElementById</title>
		<link>http://codingrecipes.com/documentgetelementbyid-on-all-browsers-cross-browser-getelementbyid</link>
		<comments>http://codingrecipes.com/documentgetelementbyid-on-all-browsers-cross-browser-getelementbyid#comments</comments>
		<pubDate>Mon, 08 Feb 2010 19:33:03 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=801</guid>
		<description><![CDATA[Here is a little JavaScript function that gets an object according to it&#8217;s id and it&#8217;s cross browser.

/*********************************************************************
   * Get an object, this function is cross browser
   * Usage:
   * var object = get_object(element_id);
   * @Author Hamid Alipour http://blog.code-head.com/
  **/
  function get_object&#40;id&#41; &#123;
   [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/documentgetelementbyid-on-all-browsers-cross-browser-getelementbyid/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>onMouseOut fix on nested elements &#8211; JavaScript</title>
		<link>http://codingrecipes.com/onmouseout-fix-on-nested-elements-javascript</link>
		<comments>http://codingrecipes.com/onmouseout-fix-on-nested-elements-javascript#comments</comments>
		<pubDate>Wed, 03 Feb 2010 23:07:14 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=792</guid>
		<description><![CDATA[When you have nested elements and you add an onMouseOut event handler to the parent element, browsers trigger onMouseOut event when mouse pointer hovers it&#8217;s child elements.
While this is a standard behaviour, for one project I needed to write a code to override this behaviour.
With this code, when you mouse over the child elements, onMouseOut [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/onmouseout-fix-on-nested-elements-javascript/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AJAX &#8211; Beginner AJAX Tutorial &#8211; Creating a simple AJAX website with example</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial-creating-a-simple-ajax-website-with-example</link>
		<comments>http://codingrecipes.com/ajax-beginner-ajax-tutorial-creating-a-simple-ajax-website-with-example#comments</comments>
		<pubDate>Thu, 21 Jan 2010 21:12:57 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=762</guid>
		<description><![CDATA[We are closing down our forums, it’s time to move on, but we are keeping some important threads, here are the AJAX tutorials…
Beginner AJAX Tutorial &#8211; Creating a simple AJAX website with example
What you need to know before you read this tutorial:
You need to read the previous two tutorials, they are located at here:
Beginner Ajax [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/ajax-beginner-ajax-tutorial-creating-a-simple-ajax-website-with-example/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AJAX &#8211; Beginner AJAX Tutorial &#8211; Display a Progress Bar or a Loading Message</title>
		<link>http://codingrecipes.com/ajax-beginner-ajax-tutorial-display-a-progress-bar-or-a-loading-message</link>
		<comments>http://codingrecipes.com/ajax-beginner-ajax-tutorial-display-a-progress-bar-or-a-loading-message#comments</comments>
		<pubDate>Thu, 21 Jan 2010 21:01:39 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://blog.code-head.com/?p=758</guid>
		<description><![CDATA[We are closing down our forums, it’s time to move on, but we are keeping some important threads, here are the AJAX tutorials…
AJAX &#8211; Beginner AJAX Tutorial &#8211; Display a Progress Bar or a Loading Message
In the last AJAX tutorial I wrote about how to send requests to the server and receive the response,
in this [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/ajax-beginner-ajax-tutorial-display-a-progress-bar-or-a-loading-message/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
