<?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>Programming Ideas, Logics, Tips and Tricks &#187; Javascript</title>
	<atom:link href="http://www.sajithmr.me/tag/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.me</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jan 2012 15:44:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jQuery Traversing Tips</title>
		<link>http://www.sajithmr.me/jquery-traversing-tips</link>
		<comments>http://www.sajithmr.me/jquery-traversing-tips#comments</comments>
		<pubDate>Thu, 14 Oct 2010 13:09:48 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[quicktips]]></category>
		<category><![CDATA[child]]></category>
		<category><![CDATA[children]]></category>
		<category><![CDATA[closest]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[keywords]]></category>
		<category><![CDATA[next]]></category>
		<category><![CDATA[parent]]></category>
		<category><![CDATA[parents]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[traversing]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/jquery-traversing-tips/</guid>
		<description><![CDATA[Just a quick review of tips available in jQuery to manage nodes (contents) near by the content / node which is triggered an event, like click, hover etc Functions: find, parent, parents, children, first, last, closest Suppose you need to manage some nodes nearby a link or a button on an event. Say $(&#8216;.button&#8217;).click(function(){ // [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Just a quick review of tips available in jQuery to manage nodes (contents) near by the content / node which is triggered an event, like click, hover etc</p>
<p style="clear: both">Functions: find, parent, parents, children, first, last, closest</p>
<p style="clear: both">Suppose you need to manage some nodes nearby a link or a button on an event.</p>
<p style="clear: both">Say $(&#8216;.button&#8217;).click(function(){</p>
<p style="clear: both">// code goes here</p>
<p>})</p>
<p style="clear: both">To get the current parent of triggered element, use $(this).parent()</p>
<p style="clear: both">To get the parent which has a class , use:<br />$(this).parents(&#8216;.classname&#8217;);</p>
<p style="clear: both">To find any other element just above the node, use :<br />$(this).parents(&#8216;.classname&#8217;).find(&#8216;li&#8217;);</p>
<p style="clear: both">to get the first element in find, use find(&#8216;li:first&#8217;)</p>
<p style="clear: both">and for last, use li:last</p>
<p style="clear: both">To get exactly the child nodes, use:<br />$(&#8216;.classname&#8217;).children(&#8216;some_selector_here&#8217;);</p>
<p style="clear: both">Here comes another very useful function, which is, <strong>closest</strong></p>
<p style="clear: both">$(this).closest(&#8216;td&#8217;) etc </p>
<p style="clear: both">So, this quick note will be helpful to you</p>
<p style="clear: both">Thanks</p>
<p style="clear: both">Sajith</p>
<p style="clear: both">
<p><br class="final-break" style="clear: both" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jquery-traversing-tips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Flip</title>
		<link>http://www.sajithmr.me/jquery-flip</link>
		<comments>http://www.sajithmr.me/jquery-flip#comments</comments>
		<pubDate>Thu, 13 May 2010 10:24:39 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[webworld]]></category>
		<category><![CDATA[animate]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[flip]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=699</guid>
		<description><![CDATA[You can create iPhone style flip using jQuery. Visit: http://lab.smashup.it/flip/ for more details]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-700" title="javascript-techniques-55" src="http://www.sajithmr.me/wp-content/uploads/2010/05/javascript-techniques-55.jpg" alt="javascript-techniques-55" width="384" height="240" /></p>
<p>You can create iPhone style flip using jQuery.</p>
<p>Visit: <a href="http://lab.smashup.it/flip/" target="_blank">http://lab.smashup.it/flip/</a> for more details</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jquery-flip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sliding menu using jQuery and ScrollTo</title>
		<link>http://www.sajithmr.me/sliding-menu-using-jquery-and-scrollto</link>
		<comments>http://www.sajithmr.me/sliding-menu-using-jquery-and-scrollto#comments</comments>
		<pubDate>Sat, 20 Feb 2010 21:38:53 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=583</guid>
		<description><![CDATA[Recently I created a sliding menu for a project using jQuery and ScrollTo functions. See demo: Slider  Menu We can use the jQuery function $(&#8220;.menubar&#8221;).scrollTo(id_of_element) to scroll any scrollable area to a particular location. The idea behind every smooth sliding is using scroll function with overflow:hidden mode. You can download the source code from : [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-584" title="jquery-logo" src="http://www.sajithmr.me/wp-content/uploads/2010/02/jquery-logo.gif" alt="jquery-logo" width="168" height="146" /></p>
<p>Recently I created a sliding menu for a project using jQuery and ScrollTo functions.</p>
<p>See demo: <a href="http://www.sajithmr.me/downloads/slider/slider.html" target="_blank">Slider  Menu</a></p>
<p>We can use the jQuery function $(&#8220;.menubar&#8221;).scrollTo(id_of_element) to scroll any scrollable area to a particular location.</p>
<p>The idea behind every smooth sliding is using scroll function with overflow:hidden mode.</p>
<p>You can download the source code from : <a href="http://www.sajithmr.me/downloads/slider/slider.zip" target="_self">http://www.sajithmr.me/downloads/slider/slider.zip</a></p>
<p>Here div menu-bar is the scrollable div with overflow:hidden mode contains set of menu and a duplicate as a  buffer</p>
<p>At the bottom of the code, you can see a filler div, this is for filling the menu one by one to the right side menu-bar to make the sliding very smooth</p>
<p>The function setMotion(this) calls  the scroll function and it moves till the called DOM object&#8217;s id reaches</p>
<p>If you use an ajax call after the motion to load the content at the bottom, you can make this sliding menu for proper navigation purpose.</p>
<p>Thanks</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/sliding-menu-using-jquery-and-scrollto/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fancybox runtime height change</title>
		<link>http://www.sajithmr.me/fancybox-runtime-height-change</link>
		<comments>http://www.sajithmr.me/fancybox-runtime-height-change#comments</comments>
		<pubDate>Fri, 20 Nov 2009 16:05:51 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[autoheight]]></category>
		<category><![CDATA[fancybox]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[runtime]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=522</guid>
		<description><![CDATA[For those who use fancy box and iframe inside fancy box might face the issue of changing the height. Once fancybox is loaded with a particular height and width, it does not change when you change the content inside iframe dynamically. Auto height change is only possible for images. Use the below code to change [...]]]></description>
			<content:encoded><![CDATA[<p>For those who use fancy box and iframe inside fancy box might face the issue of changing the height. Once fancybox is loaded with a particular height and width, it does not change when you change the content inside iframe dynamically. Auto height change is only possible for images.</p>
<p>Use the below code to change the dimensions of an iframe in runtime.</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>parent.$(&#8220;#fancy_outer&#8221;).width(100); parent.$(&#8220;#fancy_outer&#8221;).height(120);</p>
<p>&lt;/script&gt;</p>
<p>Cheers</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/fancybox-runtime-height-change/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Jquery-Mootool Conflict</title>
		<link>http://www.sajithmr.me/jquery-mootool-conflict</link>
		<comments>http://www.sajithmr.me/jquery-mootool-conflict#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:15:16 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[conflict]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[mootool]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=460</guid>
		<description><![CDATA[If you are using mootool and jquery same time in your html pages, it normally won&#8217;t work. Because both are using $ variable for the base object. So only the last js file included will be active. To avoid this, follow the steps: Include mootool js first Include jquery js file second Like this: &#60;script [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using mootool and jquery same time in your html pages, it normally won&#8217;t work. Because both are using $ variable for the base object. So only the last js file included will be active.</p>
<p><img class="alignnone size-full wp-image-465" title="jquery-mootools" src="http://www.sajithmr.me/wp-content/uploads/2009/11/jquery-mootools.jpg" alt="jquery-mootools" width="217" height="220" /></p>
<p>To avoid this, follow the steps:</p>
<p>Include mootool js first<br />
Include jquery js file  second</p>
<p>Like this:</p>
<p>&lt;script src=&#8221;javascript/mootools-release-1.11.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;javascript/jquery-1.3.2.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;</p>
<p>Then type:</p>
<p>&lt;script&gt;<br />
jQuery.noConflict();<br />
&lt;/script&gt;</p>
<p>For mootool functions, continue with $ object and jQuery function , user <strong>jQuery </strong>object</p>
<p>For example , instead of $(&#8220;#div&#8221;), user jQuery(&#8220;#div&#8221;), another example is jQuery(&#8220;.common&#8221;).load(&#8216;myfile.php&#8217;)</p>
<p>Enjoy Coding !!!</p>
<p>&#8211; Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jquery-mootool-conflict/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XAJAX</title>
		<link>http://www.sajithmr.me/xajax</link>
		<comments>http://www.sajithmr.me/xajax#comments</comments>
		<pubDate>Wed, 03 Jun 2009 16:00:24 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[php source code]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[capitalize]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[xajax]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=432</guid>
		<description><![CDATA[Basically using xajax &#8220;You can directly call php functions from your javascript code&#8221; Xajax will do the rest.  For example, if you are going to write a javascript function Capitalize which captilaze your textbox content when you press a button. Here is the pure html/javascript code for that: ============================================= &#60;script&#62; function Capitalize() {      [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xajaxproject.org/" target="_blank"><img class="alignnone size-medium wp-image-433" title="xajax_logo" src="http://www.sajithmr.com/wp-content/uploads/2009/06/xajax_logo-300x179.png" alt="" width="300" height="179" /></a></p>
<p>Basically using xajax &#8220;You can directly call php functions from your javascript code&#8221;</p>
<p>Xajax will do the rest. </p>
<p>For example, if you are going to write a javascript function Capitalize which captilaze your textbox content when you press a button.</p>
<p>Here is the pure html/javascript code for that:</p>
<p>=============================================</p>
<p><strong><span style="color: #99cc00;">&lt;script&gt;</span></strong></p>
<p><span> </span><strong>function</strong> Capitalize()</p>
<p><span> </span>{</p>
<p>      var t = document.getElementById(&#8216;cap&#8217;).value;</p>
<p>      document.getElementById(&#8216;update&#8217;).innerHTML = t.toUpperCase() ;</p>
<p><span> </span>}</p>
<p><span style="color: #99cc00;"><strong>&lt;/script&gt;</strong></span></p>
<p> </p>
<p><span style="color: #0000ff;">&lt;input type=&#8221;text&#8221; id=&#8221;cap&#8221; name=&#8221;cap&#8221; /&gt;</span></p>
<p><span style="color: #0000ff;">&lt;input type=&#8221;button&#8221; id=&#8221;capbutton&#8221; value=&#8221;Capitalize&#8221; onclick=&#8221;Capitalize()&#8221; /&gt;</span></p>
<p><span style="color: #0000ff;">&lt;div id=&#8221;update&#8221;&gt;&lt;/div&gt;</span></p>
<p>==============================================</p>
<p>Now see the difference when we use xajax, we can write this Capitalize function in php code and can call from javascript.</p>
<p><strong>function</strong> Capitalize($value)</p>
<p>{</p>
<p>    $objResponse = new xajaxResponse();</p>
<p>    $objResponse-&gt;assign(&#8220;update&#8221;,&#8221;innerHTML&#8221;,strtoupper($value));</p>
<p>    return $objResponse;</p>
<p><span> </span></p>
<p>}</p>
<p>and you can call from your button&#8217;s onclick function:</p>
<p><span style="color: #ff6600;"> onclick=&#8221;xajax_Capitalize(document.getElementById(&#8216;cap&#8217;).value)&#8221; </span></p>
<p>Here the same functionality we moved from client to server. Thus the point is you can simply call all the functions you written in php (Server Side) from javascript code via onClick, onMouseOver or window.onLoad etc.</p>
<p>You can get the full source code of Capitalize example here:</p>
<p><a href="http://www.sajithmr.com/downloads/capitalize.zip">http://www.sajithmr.com/downloads/capitalize.zip</a></p>
<p>To download and for documentation go: </p>
<p><a href="http://xajaxproject.org/">http://xajaxproject.org/</a></p>
<p>Thanks</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/xajax/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery &#8211; Play with html</title>
		<link>http://www.sajithmr.me/jquery-play-with-html</link>
		<comments>http://www.sajithmr.me/jquery-play-with-html#comments</comments>
		<pubDate>Tue, 02 Jun 2009 23:23:00 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[webworld]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[manipulation]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=430</guid>
		<description><![CDATA[Start jquery for manipulating html file and execute javascript just like sql queries. Simply pointer the dom object with a $  and manipulate with different built in function. For example  $(&#8220;p.neat&#8221;).addClass(&#8220;ohmy&#8221;).show(&#8220;slow&#8221;); Don&#8217;t need to write javascript inside each node. It is like prototyping. Insted of adding an onClick=&#8221;function()&#8221; inside the node, jquery define the onclick [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sajithmr.com/wp-content/uploads/2009/06/jquery-logo.png"><img class="alignnone size-full wp-image-426" title="jquery-logo" src="http://www.sajithmr.com/wp-content/uploads/2009/06/jquery-logo.png" alt="" width="190" /></a></p>
<p>Start jquery for manipulating html file and execute javascript just like sql queries.</p>
<p>Simply pointer the dom object with a $  and manipulate with different built in function.</p>
<p>For example </p>
<p><span style="color: #008000;">$(&#8220;p.neat&#8221;).addClass(&#8220;ohmy&#8221;).show(&#8220;slow&#8221;);</span></p>
<p>Don&#8217;t need to write javascript inside each node. It is like prototyping. Insted of adding an onClick=&#8221;function()&#8221; inside the node, jquery define the onclick function from the top level. Your html code will be clean and tidy. If CSS removes all the styling bits, Jquery removes all the javascript bits from html.</p>
<p>You can remap every default action from an html object.</p>
<p>For example normally when you click a link  (&lt;a&gt; tag) it navigate you through the href value. But if you add the jquery code as below:</p>
<pre>$(document).ready(function(){
   <strong>$("a").click(function(event){
     alert("Thanks for clicking!");
   });</strong>
 })</pre>
<pre>It adds a thanks alert for every click in links.</pre>
<pre>and if you add :</pre>
<pre>
<pre><strong>event.preventDefault();</strong></pre>
<pre><strong>It prevents the default action also.</strong></pre>
<pre><strong>You can go to JQuery homepage: <a href="http://jquery.com/">http://jquery.com/</a></strong></pre>
<pre><strong>and can learn more about JQuery.</strong></pre>
<pre><strong>The intention of this post was not an explaination about jquery, but some addition website which develops addons based on jquery.</strong></pre>
<pre><strong>Those are:</strong></pre>
<pre><a href="http://jqueryui.com/">http://jqueryui.com/</a></pre>
</pre>
<pre>
<pre><strong><a href="http://jquerystyle.com/">jquerystyle.com/</a>
</strong></pre>
<pre><strong><a href="http://visualjquery.com/">visualjquery.com/</a>
</strong></pre>
<pre><strong><a href="http://15daysofjquery.com/">http://15daysofjquery.com/</a>
</strong></pre>
<pre><strong><a href="http://usejquery.com/">http://usejquery.com/</a>
</strong></pre>
<pre><strong>
</strong></pre>
<pre><strong><a href="http://blog.themeforest.net/?s=jquery">http://blog.themeforest.net/?s=jquery</a>
</strong></pre>
<pre><strong>Comment me if you know any other jquery websites.</strong></pre>
<pre><strong>Logging out</strong></pre>
<pre><strong>-Sajith</strong></pre>
<pre><strong></strong></pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jquery-play-with-html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fun Time</title>
		<link>http://www.sajithmr.me/fun-time</link>
		<comments>http://www.sajithmr.me/fun-time#comments</comments>
		<pubDate>Tue, 04 Nov 2008 03:14:45 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[webworld]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=344</guid>
		<description><![CDATA[Hello Techies , Lets watch a fun video with your browser interactive effect. Kill me if you dont like this flash + javascript effect. Dont maximise (enlarge ) your browser window  after clicking the below link. Wait a moment  after the click. REMEMBER, DONT MAXIMIZE the window http://www.fly-a-balloon.be/ Regards Sythoos]]></description>
			<content:encoded><![CDATA[<p>Hello Techies ,</p>
<p>Lets watch a fun video with your browser interactive effect. Kill me if you dont like this flash + javascript effect.</p>
<p>Dont maximise (enlarge ) your browser window  after clicking the below link. Wait a moment  after the click.</p>
<p><strong><span style="color: #ff6600;">REMEMBER, DONT MAXIMIZE</span></strong> the window</p>
<p><a href=" http://www.fly-a-balloon.be/ " target="_blank"> http://www.fly-a-balloon.be/ </a></p>
<p>Regards</p>
<p>Sythoos</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/fun-time/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>IDE for PHP, Ruby on Rails, Python and Javascript &#8211; Aptana</title>
		<link>http://www.sajithmr.me/ide-for-php-ruby-on-rails-python-and-javascript-aptana</link>
		<comments>http://www.sajithmr.me/ide-for-php-ruby-on-rails-python-and-javascript-aptana#comments</comments>
		<pubDate>Fri, 19 Sep 2008 04:08:34 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[webworld]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/ide-for-php-ruby-on-rails-python-and-javascript-aptana/</guid>
		<description><![CDATA[After a long searching, i got this IDE , Aptana which satisfies all my requirement. It is just like .net IDE with auto compiling and error displaying system, and come with built in server. You can download it from: http://aptana.com/studio/download Error display while coding time is its another feature. Auto filling is another feature. For [...]]]></description>
			<content:encoded><![CDATA[<p>After a long searching, i got this IDE , <a href="http://aptana.com/" title="Aptana" target="_blank">Aptana</a> which satisfies all my requirement. It is just like .net IDE with auto compiling and error displaying system, and come with built in server. You can download it from: <a href="http://aptana.com/studio/download" title="Aptana Download" target="_blank">http://aptana.com/studio/download</a></p>
<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/09/aptana.JPG" /></p>
<p>Error display while coding time is its another feature.</p>
<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/09/error1.JPG" /></p>
<p>Auto filling is another feature.</p>
<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/09/autocompletion.JPG" /></p>
<p>For oops concepts, it will show the details of method and its parameter while you start  a pointer (a dot . or -&gt; )</p>
<p>See example of javascript &#8220;document.getEle&#8221;  function.</p>
<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/09/javascript.JPG" /></p>
<p>A lot of javascirpt buit-in libraries are included.</p>
<p>Features like, console, break point, watch etc are there . There is a special  Apatana Ajax Monitor to debug ajax calls.</p>
<p>Download it , and use it. I liked this one than dreamweaver or quanta or PHP Editor</p>
<p>More over the software Aptana is Free !!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/ide-for-php-ruby-on-rails-python-and-javascript-aptana/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Warning before navigate away from a page</title>
		<link>http://www.sajithmr.me/warning-before-navigate-away-from-a-page</link>
		<comments>http://www.sajithmr.me/warning-before-navigate-away-from-a-page#comments</comments>
		<pubDate>Sat, 19 Jul 2008 15:27:07 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[away]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[confirm]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[navigate]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/warning-before-navigate-away-from-a-page/</guid>
		<description><![CDATA[In some cases, if you are in between any work of editing or typing a content, and you wont let the visitor to navigate away from the page without particular condition, say the document is not saved yet, you can block the navigation (even the closing of the browser window) with Javascript. Here is the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/07/man.jpg" style="margin: 10px; float: left" /></p>
<p>In some cases, if you are in between any work of editing or typing a content, and you wont let the visitor to navigate away from the page without particular condition, say the document is not saved yet, you can block the navigation (even the closing of the browser window)  with Javascript.</p>
<p>Here is the javascript code for that:</p>
<p><font color="#808080"><br />
<font color="#808000">&lt;script&gt;</font></font></p>
<p><font color="#808080"><font color="#808000">window.onbeforeunload = function (evt) {<br />
var message = &#8216;Are you sure you want to leave?&#8217;;<br />
if (typeof evt == &#8216;undefined&#8217;) {<br />
evt = window.event;<br />
}<br />
if (evt) {<br />
evt.returnValue = message;<br />
}<br />
return message;<br />
}</font></font></p>
<p><font color="#808080"><font color="#808000">&lt;/script&gt; </font></font></p>
<p>Just paste this code anywhere in your html page. The condition settings , warning messages are up to you. In the above code, the warning will be displayed when ever a navigation happen (Even closing of browser window happen)</p>
<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/07/confirmation.png" /></p>
<p>(pic from Binney V.A)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/warning-before-navigate-away-from-a-page/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

