<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - arunpjohny</title>
<link>http://snipplr.com/users/arunpjohny/language/javascript</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 01 Dec 2008 16:18:33 GMT</pubDate>
<item>
<title>(JavaScript) Extjs Panel Drag and Drop</title>
<link>http://snipplr.com/view/9089/extjs-panel-drag-and-drop/</link>
<description><![CDATA[ <p>This example gives a idea about how to create a simple panel which can be dragged and dropped into another panel</p> ]]></description>
<pubDate>Sat, 18 Oct 2008 00:04:00 GMT</pubDate>
<guid>http://snipplr.com/view/9089/extjs-panel-drag-and-drop/</guid>
</item>
<item>
<title>(JavaScript) Extjs CheckboxSelectionModel keepExisting</title>
<link>http://snipplr.com/view/8024/extjs-checkboxselectionmodel-keepexisting/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 25 Aug 2008 22:59:22 GMT</pubDate>
<guid>http://snipplr.com/view/8024/extjs-checkboxselectionmodel-keepexisting/</guid>
</item>
<item>
<title>(JavaScript) Grid row colouring</title>
<link>http://snipplr.com/view/5638/grid-row-colouring/</link>
<description><![CDATA[ <p>getRowClass changes the row CSS properties its applied for, but inside a row each cell element will have its own CSS class again.</p> ]]></description>
<pubDate>Mon, 31 Mar 2008 22:32:47 GMT</pubDate>
<guid>http://snipplr.com/view/5638/grid-row-colouring/</guid>
</item>
<item>
<title>(JavaScript) Get/set Cursor In Html TextArea</title>
<link>http://snipplr.com/view/5144/getset-cursor-in-html-textarea/</link>
<description><![CDATA[ <p>I got this code from http://blog.vishalon.net/Post/57.aspx


The actual two methods required are

function doGetCaretPosition (ctrl) {
	var CaretPos = 0;
	// IE Support
	if (document.selection) {
		ctrl.focus ();
		var Sel = document.selection.createRange ();
		Sel.moveStart ('character', -ctrl.value.length);
		CaretPos = Sel.text.length;
	}
	// Firefox support
	else if (ctrl.selectionStart || ctrl.selectionStart == '0')
		CaretPos = ctrl.selectionStart;
	return (CaretPos);
}

function setCaretPosition(ctrl, pos)
{
	if(ctrl.setSelectionRange)
	{
		ctrl.focus();
		ctrl.setSelectionRange(pos,pos);
	}
	else if (ctrl.createTextRange) {
		var range = ctrl.createTextRange();
		range.collapse(true);
		range.moveEnd('character', pos);
		range.moveStart('character', pos);
		range.select();
	}
}</p> ]]></description>
<pubDate>Thu, 21 Feb 2008 07:27:52 GMT</pubDate>
<guid>http://snipplr.com/view/5144/getset-cursor-in-html-textarea/</guid>
</item>
<item>
<title>(JavaScript) ext js BorderLayout</title>
<link>http://snipplr.com/view/4213/ext-js-borderlayout/</link>
<description><![CDATA[ <p>version ext-2.0-rc1.
Dependencies
   ext-all-debug.js
   ext-yui-adapter.js
   ext-all.css</p> ]]></description>
<pubDate>Thu, 29 Nov 2007 07:11:05 GMT</pubDate>
<guid>http://snipplr.com/view/4213/ext-js-borderlayout/</guid>
</item>
<item>
<title>(JavaScript) Detecting Browser Version</title>
<link>http://snipplr.com/view/3661/detecting-browser-version/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Sep 2007 20:32:32 GMT</pubDate>
<guid>http://snipplr.com/view/3661/detecting-browser-version/</guid>
</item>
</channel>
</rss>