<?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>Lacisoft&#039;s &#187; javascript</title>
	<atom:link href="http://www.lacisoft.com/blog/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lacisoft.com/blog</link>
	<description>SELECT * FROM lacisoft</description>
	<lastBuildDate>Thu, 09 Sep 2010 18:29:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to make a drag and drop sorted list with jQuery Sortable</title>
		<link>http://www.lacisoft.com/blog/2009/04/10/how-to-make-a-drag-and-drop-sorted-list-with-jquery-sortable/</link>
		<comments>http://www.lacisoft.com/blog/2009/04/10/how-to-make-a-drag-and-drop-sorted-list-with-jquery-sortable/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 12:21:28 +0000</pubDate>
		<dc:creator>lacisoft</dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[sortable]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.lacisoft.com/blog/?p=28</guid>
		<description><![CDATA[A while ago i wanted to build a functionality where some blocks of html had to be sortable (with drag and drop). After searching a little i found jQuery&#8217;s Sortable plugin. With the help of this nice little plugin i could build the functionality i required in no time. I will show you below how [...]


Related posts:<ol><li><a href='http://www.lacisoft.com/blog/2008/09/19/6-books-for-developers-working-with-drupal-6-and-jquery/' rel='bookmark' title='Permanent Link: 6 books for developers working with Drupal 6 and Jquery'>6 books for developers working with Drupal 6 and Jquery</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/04/09/how-to-build-a-clickmap-using-php-and-jquery/' rel='bookmark' title='Permanent Link: How to build a clickmap using PHP and jQuery'>How to build a clickmap using PHP and jQuery</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/06/04/how-to-use-post-for-json-instead-of-jquerys-getjson/' rel='bookmark' title='Permanent Link: How to use post for JSON instead of jQuery&#8217;s getJSON'>How to use post for JSON instead of jQuery&#8217;s getJSON</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A while ago i wanted to build a functionality where some blocks of html had to be sortable (with drag and drop). After searching a little i found jQuery&#8217;s Sortable plugin. With the help of this nice little plugin i could build the functionality i required in no time. I will show you below how to do it if you need to do this yourself.</p>
<p>For start we need jQuery, ui.core and ui.sortable, make sure you download them and include them in the header of your application:</p>
<p><em>&lt;script src=&#8221;jquery-latest.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;ui.core.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;ui.sortable.js&#8221;&gt;&lt;/script&gt;</em></p>
<p>after that we use this little code snippet to make the magic:</p>
<p><em>&lt;script&gt;</em></p>
<p><em>$(document).ready(function(){</em></p>
<p><em>$(&#8220;.thelist&#8221;).sortable({</em></p>
<p><em>cursor: &#8216;.handle&#8217;,</em></p>
<p><em>update : function () {</em></p>
<p><em>serial=$(&#8216;.thelist&#8217;).sortable(&#8216;serialize&#8217;,'id&#8217;);</em></p>
<p><em>$(&#8220;#target&#8221;).load(&#8220;load.php&#8221;, { list: serial } );</em></p>
<p><em>}</em></p>
<p><em>});</em></p>
<p><em>});</em></p>
<p><em>&lt;/script&gt;</em></p>
<p><em><br />
</em></p>
<p>In the html we have a div with the class <strong>thelist</strong>, this is the div that contains the sortable elements, each having a unique id.</p>
<p><em>&lt;div class=&#8221;thelist&#8221;&gt;</em></p>
<p><em>&lt;div class=&#8221;divo&#8221; id=&#8221;el_1&#8243;&gt;Item 1&lt;/div&gt;</em></p>
<p><em>&lt;div class=&#8221;divo&#8221; id=&#8221;el_2&#8243;&gt;Item 2&lt;/div&gt;</em></p>
<p><em>&lt;div class=&#8221;divo&#8221; id=&#8221;el_3&#8243;&gt;Item 3&lt;/div&gt;</em></p>
<p><em>&lt;div class=&#8221;divo&#8221; id=&#8221;el_4&#8243;&gt;Item 4&lt;/div&gt;</em></p>
<p><em>&lt;div class=&#8221;divo&#8221; id=&#8221;el_5&#8243;&gt;Item 5&lt;/div&gt;</em></p>
<p><em>&lt;/div&gt;</em></p>
<p><em><br />
</em></p>
<p>After each drag and drop operation in load.php will receive a string with the order of the divs, the result will be something like this:</p>
<p><strong><em>el[]=3&amp;el[]=4&amp;el[]=5&amp;el[]=2&amp;el[]=1</em></strong></p>
<p>This data is sent to load.php with POST, beeing contained in the list variable: <strong>$_POST['list']</strong></p>
<p>This is only a basic demonstration, you can do much advanced functionality with jQuery Sortable, you just need a little time and a little coffee.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lacisoft.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.lacisoft.com/blog/2008/09/19/6-books-for-developers-working-with-drupal-6-and-jquery/' rel='bookmark' title='Permanent Link: 6 books for developers working with Drupal 6 and Jquery'>6 books for developers working with Drupal 6 and Jquery</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/04/09/how-to-build-a-clickmap-using-php-and-jquery/' rel='bookmark' title='Permanent Link: How to build a clickmap using PHP and jQuery'>How to build a clickmap using PHP and jQuery</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/06/04/how-to-use-post-for-json-instead-of-jquerys-getjson/' rel='bookmark' title='Permanent Link: How to use post for JSON instead of jQuery&#8217;s getJSON'>How to use post for JSON instead of jQuery&#8217;s getJSON</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lacisoft.com/blog/2009/04/10/how-to-make-a-drag-and-drop-sorted-list-with-jquery-sortable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome Experiments and Extensions</title>
		<link>http://www.lacisoft.com/blog/2009/03/19/chrome-experiments-and-extensions/</link>
		<comments>http://www.lacisoft.com/blog/2009/03/19/chrome-experiments-and-extensions/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 08:27:24 +0000</pubDate>
		<dc:creator>lacisoft</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[The future]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[v8]]></category>

		<guid isPermaLink="false">http://www.lacisoft.com/blog/?p=165</guid>
		<description><![CDATA[Or could i call this post just Javascript is the future ? It seems that Google indeed has big plans with Chrome. That&#8217;s why they built in a very advanced and fast Javascript engine called V8. This Javascript engine will allow developers to create highly advanced applications that run directly in the browser without any [...]


Related posts:<ol><li><a href='http://www.lacisoft.com/blog/2008/11/07/the-5-best-firefox-extensions-for-web-developers/' rel='bookmark' title='Permanent Link: The 5 best Firefox extensions for web developers'>The 5 best Firefox extensions for web developers</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/08/04/popup-management-in-the-new-google-chrome/' rel='bookmark' title='Permanent Link: Popup management in the new Google Chrome'>Popup management in the new Google Chrome</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/09/22/google-chrome-in-internet-explorer/' rel='bookmark' title='Permanent Link: Google Chrome in Internet Explorer!'>Google Chrome in Internet Explorer!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Or could i call this post just Javascript is the future ?</p>
<p>It seems that Google indeed has big plans with Chrome. That&#8217;s why they built in a very advanced and fast Javascript engine called V8. This Javascript engine will allow developers to create highly advanced applications that run directly in the browser without any other plugins, giving Chrome a huge advantage over Internet Explorer and Firefox.</p>
<p>To demonstrate Chrome&#8217;s abilites <a href="http://googleblog.blogspot.com/2009/03/chrome-experiments-are-here.html">Google announced</a> the so called <a href="http://www.chromeexperiments.com/">Chrome Experiments</a>, a handful of applications designed for Chrome. For example there is a Tetris game made entirely with the use of Javascript and CSS, without any other plugin. But the DOM Tetris is just one of many experiments.</p>
<p>Experiments that work very well on Chrome. Google advises us that they may work on other browsers too, but much slower. And i tried to run them on Firefox, some of them worked, some of them not.</p>
<p>Back to Chrome. My opinion is that this is the future, this is how applications will be done. I think that as soon as Chrome is mature enough, even more desktop software will move online so users will just need an operating systems and a browser.</p>
<p>Chrome&#8217;s abilities are powerful indeed, most of those who didn&#8217;t adopt Chrome yet, did this because of the lack of extensions (Firebug is a killer,  you can&#8217;t live whitout it). But Google is working on this too, the proof is that there is alredy an <a href="http://dev.chromium.org/developers/design-documents/extensions/howto">extension howto</a> page and i think extensions will land for regular users (easy setup and so on) not later then the middle of this year. Matt Cutts <a href="http://www.mattcutts.com/blog/write-chrome-extension/">posted already</a> a an example and a short description on howto setup your first Chrome extension if you can&#8217;t wait till then.</p>
<p>But when extensions will become something usual for Chrome, the speed and the abilities of the browser will make very hard for the competition, especially for Microsoft to catch up with Google.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lacisoft.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.lacisoft.com/blog/2008/11/07/the-5-best-firefox-extensions-for-web-developers/' rel='bookmark' title='Permanent Link: The 5 best Firefox extensions for web developers'>The 5 best Firefox extensions for web developers</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/08/04/popup-management-in-the-new-google-chrome/' rel='bookmark' title='Permanent Link: Popup management in the new Google Chrome'>Popup management in the new Google Chrome</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/09/22/google-chrome-in-internet-explorer/' rel='bookmark' title='Permanent Link: Google Chrome in Internet Explorer!'>Google Chrome in Internet Explorer!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lacisoft.com/blog/2009/03/19/chrome-experiments-and-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JsMag &#8211; a new javascript magazine</title>
		<link>http://www.lacisoft.com/blog/2009/03/10/jsmag-a-new-javascript-magazine/</link>
		<comments>http://www.lacisoft.com/blog/2009/03/10/jsmag-a-new-javascript-magazine/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 10:37:58 +0000</pubDate>
		<dc:creator>lacisoft</dc:creator>
				<category><![CDATA[Media]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jsmag]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[publishing]]></category>

		<guid isPermaLink="false">http://www.lacisoft.com/blog/?p=134</guid>
		<description><![CDATA[A new javascript magazine has been launched: http://www.jsmag.com/ Headlines from the first issue Debugging JavaScript without alert() Introduction to ExtJS Community News Unit testing with YUI What&#8217;s new in jQuery 1.3 Functional Programming in JavaScript Seems rather good but its interesting to see if a subscription based magazine it will have success in these times. Related [...]


Related posts:<ol><li><a href='http://www.lacisoft.com/blog/2009/04/11/html-and-javascript-code-to-crash-ie6/' rel='bookmark' title='Permanent Link: HTML and Javascript code to crash IE6'>HTML and Javascript code to crash IE6</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/03/12/powermail-javascript-bug/' rel='bookmark' title='Permanent Link: Powermail javascript bug'>Powermail javascript bug</a></li>
<li><a href='http://www.lacisoft.com/blog/2008/11/18/tips-for-improving-your-php-programming-skills/' rel='bookmark' title='Permanent Link: Tips for improving your PHP programming skills'>Tips for improving your PHP programming skills</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A new javascript magazine has been launched: <a href="http://www.jsmag.com/">http://www.jsmag.com/</a></p>
<p>Headlines from the first issue</p>
<ul>
<li>Debugging JavaScript without alert()</li>
<li>Introduction to ExtJS</li>
<li>Community News</li>
<li>Unit testing with YUI</li>
<li>What&#8217;s new in jQuery 1.3</li>
<li>Functional Programming in JavaScript</li>
</ul>
<p>Seems rather good but its interesting to see if a subscription based magazine it will have success in these times.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.lacisoft.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://www.lacisoft.com/blog/2009/04/11/html-and-javascript-code-to-crash-ie6/' rel='bookmark' title='Permanent Link: HTML and Javascript code to crash IE6'>HTML and Javascript code to crash IE6</a></li>
<li><a href='http://www.lacisoft.com/blog/2009/03/12/powermail-javascript-bug/' rel='bookmark' title='Permanent Link: Powermail javascript bug'>Powermail javascript bug</a></li>
<li><a href='http://www.lacisoft.com/blog/2008/11/18/tips-for-improving-your-php-programming-skills/' rel='bookmark' title='Permanent Link: Tips for improving your PHP programming skills'>Tips for improving your PHP programming skills</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lacisoft.com/blog/2009/03/10/jsmag-a-new-javascript-magazine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
