<?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>VT's Tech Blog &#187; Javascript</title>
	<atom:link href="http://blogs.vinuthomas.com/category/programming/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.vinuthomas.com</link>
	<description>My Tech Discovery Blog on PHP, Ajax, Security and Web 2.0</description>
	<lastBuildDate>Thu, 04 Mar 2010 06:39:53 +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>jQuery TOOLS</title>
		<link>http://blogs.vinuthomas.com/2009/06/04/jquery-tools/</link>
		<comments>http://blogs.vinuthomas.com/2009/06/04/jquery-tools/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 16:02:40 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Libraries]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=828</guid>
		<description><![CDATA[
jQuery Tools provides some UI addons to the basic jQuery Library. You can create Tabs, Accordions, Tooltips, Overlays and more using this library. The whole library fits in less than 6Kb, so you can replace all the separate libraries you are using for these functionalities by using this library.
The library has an easy to use [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-medium wp-image-829" title="jQuery TOOLS" src="http://blogs.vinuthomas.com/wp-content/uploads/2009/06/jquery_tools-300x143.jpg" alt="jQuery TOOLS" width="300" height="143" /></p>
<p>jQuery Tools provides some UI addons to the basic jQuery Library. You can create Tabs, Accordions, Tooltips, Overlays and more using this library. The whole library fits in less than 6Kb, so you can replace all the separate libraries you are using for these functionalities by using this library.</p>
<p>The library has an easy to use API, which both beginners and advanced developers can use to integrate. To show you how easy it is to setup tabs in this library, here&#8217;s an example from their site. The HTML code looks like this:</p>

<div class="wp_codebox"><table><tr id="p8283"><td class="code" id="p828code3"><pre class="html" style="font-family:monospace;">&lt;!-- the tabs --&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Tab 1&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Tab 2&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Tab 3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- tab &quot;panes&quot; --&gt;
&lt;div class=&quot;panes&quot;&gt;
&lt;div&gt;pane 1 content&lt;/div&gt;
&lt;div&gt;pane 2 content&lt;/div&gt;
&lt;div&gt;pane 3 content&lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>The Javascript which powers the tabs is simply :</p>

<div class="wp_codebox"><table><tr id="p8284"><td class="code" id="p828code4"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// setup ul.tabs to work as tabs for each div directly under div.panes</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul.tabs&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tabs</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div.panes &amp;gt; div&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>To see this in action and more information on the code, check this link out:<br />
<a href="http://flowplayer.org/tools/tabs.html">http://flowplayer.org/tools/tabs.html</a></p>
<p>You can also check out the other functionalities which this library provides :</p>
<ul>
<li><a href="http://flowplayer.org/tools/demos/tooltip/form.html">Tooltips</a> ( this example shows tooltips working on form fields)</li>
<li><a href="http://flowplayer.org/tools/overlay.html">Overlays </a></li>
<li><a href="http://flowplayer.org/tools/demos/tabs/accordion.html">Accordians</a></li>
<li><a href="http://flowplayer.org/tools/demos/index.html">Other Demos</a></li>
</ul>
<p>Learn more about jQuery Tools over at: <a href="http://flowplayer.org/tools/index.html">http://flowplayer.org/tools/index.html</a></p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/anisniit/jquery-from-the-very-beginning"> jQuery from the very beginning </a> (slideshare.net)</li>
<li class="zemanta-article-ul-li"><a href="http://blogs.msdn.com/stevecla01/archive/2009/05/01/glimmer-jquery-made-easy.aspx"> Glimmer &#8211; jQuery Made Easy </a> (blogs.msdn.com)</li>
<li class="zemanta-article-ul-li"><a href="http://ajaxian.com/archives/jquery-ui-17-released-new-css-framework-dramatic-updates-to-controls">jQuery UI 1.7 Released: New CSS Framework &amp; Dramatic Updates to Controls</a> (ajaxian.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/5825795a-8259-486d-ba08-fa130cdba7d2/"><img class="zemanta-pixie-img" style="border: medium none ; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=5825795a-8259-486d-ba08-fa130cdba7d2" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2009/06/04/jquery-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP functions in Javascript using PHP.JS</title>
		<link>http://blogs.vinuthomas.com/2009/01/08/php-functions-in-javascript-using-phpjs/</link>
		<comments>http://blogs.vinuthomas.com/2009/01/08/php-functions-in-javascript-using-phpjs/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 15:41:33 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=739</guid>
		<description><![CDATA[
PHP programmers usually have to handle HTML &#38; Javascript front-end coding as well and I&#8217;m sure a lot of us have been frustrated with the lack of those easy to use PHP functions in Javascript like those array, encode/decode and string functions. Here&#8217;s a Javascript project which provides you just that.
PHP.JS is an open source [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-740" title="PHP.JS Logo" src="http://blogs.vinuthomas.com/wp-content/uploads/2009/01/logosmall.jpg" alt="PHP.JS Logo" width="120" height="54" /></p>
<p>PHP programmers usually have to handle HTML &amp; Javascript front-end coding as well and I&#8217;m sure a lot of us have been frustrated with the lack of those easy to use PHP functions in Javascript like those array, encode/decode and string functions. Here&#8217;s a Javascript project which provides you just that.</p>
<p>PHP.JS is an open source project started by which aims at providing the standard PHP functions for Javascript development. This eases up programming in Javascript for PHP developers as they can use functions they are familiar with. Currently the project has ported around <a href="http://phpjs.org/functions/index">230+ PHP functions</a>.</p>
<p>To use this library all you need to do is to <a href="http://phpjs.org/packages/index">download</a> the php.js file and include it in your page:</p>

<div class="wp_codebox"><table><tr id="p7397"><td class="code" id="p739code7"><pre class="html" style="font-family:monospace;">&lt;script src=&quot;/pathto/php.js&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>Then use use the function as you would in PHP. For example if you want to use the urlencode function in Javascript, just use it like this in Javascript</p>

<div class="wp_codebox"><table><tr id="p7398"><td class="code" id="p739code8"><pre class="javascript" style="font-family:monospace;">urlencode<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'http://blogs.vinuthomas.com/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>This should return &#8216;http%3A%2F%2Fblogs.vinuthomas.com%2F&#8217;. As easy as that !</p>
<p><strong><em>Edit:</em></strong> As Kevin mentioned in the <a href="#comments">comments</a> below, don&#8217;t use the entire php.js file in your projects, just use the function you need. </p>
<p><strong>History of PHP.JS from (<a href="http://phpjs.org">phpjs.org</a>):</strong></p>
<blockquote><p>A developer called Kevin van Zonneveld was once working on a project with a lot of client(JS) / server(PHP) interaction, and he found himself coding PHP functions (like base64_decode &amp; urldecode) in JavaScript to smoothen communication between the two languages.</p>
<p>He stored the stored the functions in a file called php.js which was included in the project. But even when the project was done, it remained fun trying to port PHP functions to JavaScript and so the library grew.</p>
<p>Kevin decided to share the little library online, which triggered the enthusiasm of a lot of PHP developers longing for PHP functionality in JavaScript. The project was open sourced in 2008, and many people contributed their own functions in the comments sections of Kevin&#8217;s blog.</p>
<p>It was decided that the library deserved a bigger home, and a face of its own, and so the PHP.JS core team (which at that time also consisted of Michael White, Felix GeisendÃ¶rfer, Philip Peterson) developed the phpjs.org website</p></blockquote>
<p>Links:<br />
<a href="http://phpjs.org/">PHP.JS Home Page</a><br />
<a href="http://phpjs.org/functions/index">List of Functions available in PHP.JS</a><br />
<a href="http://phpjs.org/packages/index">Download PHP.JS</a></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/65d217d5-fcdd-494c-bdb5-84fcf697b711/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=65d217d5-fcdd-494c-bdb5-84fcf697b711" alt="Reblog this post [with Zemanta]" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2009/01/08/php-functions-in-javascript-using-phpjs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Focus &#8211; Improving Form usability using jQuery</title>
		<link>http://blogs.vinuthomas.com/2008/08/23/focus-improving-form-usability-using-jquery/</link>
		<comments>http://blogs.vinuthomas.com/2008/08/23/focus-improving-form-usability-using-jquery/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 15:49:57 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=593</guid>
		<description><![CDATA[Janko Jovanovic&#8217;s got an excellent tutorial which shows you how to highlight the current active form area to improve usability of forms. He achieves this using jQuery.
He shows how to construct the form, style it and uses jQuery magic to get this functionality working for the form. He mentions that this improves the usability of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-594" title="form-jquery-select" src="http://blogs.vinuthomas.com/wp-content/uploads/2008/08/form-jquery-select.png" alt="" width="199" height="171" />Janko Jovanovic&#8217;s got an excellent tutorial which shows you how to highlight the current active form area to improve usability of forms. He achieves this using <a class="zem_slink" title="JQuery" rel="homepage" href="http://jquery.com/">jQuery</a>.</p>
<p>He shows how to construct the form, style it and uses jQuery magic to get this functionality working for the form. He mentions that this improves the usability of large forms by focusing the user on the current action on the form.</p>
<p>You can see a demo of this over at:<br />
<a href="http://www.jankoatwarpspeed.com/examples/ContextHighlighting/">http://www.jankoatwarpspeed.com/examples/ContextHighlighting/</a></p>
<p>Head over to the tutorial over at: <a href="http://www.jankoatwarpspeed.com/post/2008/06/09/Building-a-better-web-forms-Context-highlighting-using-jQuery.aspx">Context highlighting using jQuery</a></p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://ajaxian.com/archives/chainjs-jquery-data-binding-service">Chain.js: jQuery Data Binding Service</a></li>
<li class="zemanta-article-ul-li"><a href="http://www.stylegala.com/news/200807/1488.htm">Designing Your Page Around a jQuery UI Theme</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/83fee66c-0342-4d06-a4c7-7e6bc3215802/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=83fee66c-0342-4d06-a4c7-7e6bc3215802" alt="Reblog this post [with Zemanta]" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2008/08/23/focus-improving-form-usability-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RaphaÃ«l JS &#8211; Vector Graphics for the Web</title>
		<link>http://blogs.vinuthomas.com/2008/08/12/raphael-js-vector-graphics-for-the-web/</link>
		<comments>http://blogs.vinuthomas.com/2008/08/12/raphael-js-vector-graphics-for-the-web/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 11:25:35 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=583</guid>
		<description><![CDATA[
RaphaÃ«l is a small JavaScript libraryÂ  released under the MIT License that helps with creating and playing with vector graphics on the web.
RaphaÃ«l uses SVG and VML as a base for graphics creation. Because of that every created object is a DOM object so you can attach JavaScript event handlers or modify objects later. RaphaÃ«lâ€™s [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; float: right; display: block;"><a href="http://commons.wikipedia.org/wiki/Image:Svg_example3.svg"><img style="border: medium none ; display: block;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/Svg_example3.svg/202px-Svg_example3.svg.png" alt="The SVG markup below as rendered by a capable ..." /></a></div>
<p>RaphaÃ«l is a small JavaScript libraryÂ  released under the <a title="MIT License" href="http://www.opensource.org/licenses/mit-license.php">MIT License</a> that helps with creating and playing with <a class="zem_slink" title="Vector graphics" rel="wikipedia" href="http://en.wikipedia.org/wiki/Vector_graphics">vector graphics</a> on the web.</p>
<blockquote><p>RaphaÃ«l uses <a class="zem_slink" title="Scalable Vector Graphics" rel="homepage" href="http://www.w3.org/Graphics/SVG/">SVG</a> and <a class="zem_slink" title="Vector Markup Language" rel="wikipedia" href="http://en.wikipedia.org/wiki/Vector_Markup_Language">VML</a> as a base for graphics creation. Because of that every created object is a DOM object so you can attach JavaScript event handlers or modify objects later. RaphaÃ«lâ€™s goal is to provide an adapter that will make drawing cross-browser and easy. Currently library supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+.</p></blockquote>
<p class="not-prime">Once you include <a href="https://labs.atlassian.com/source/browse/%7Eraw,r=577/RPHL/trunk/raphael.js">raphael.js</a> in your HTML file, try the following example. Once that displays on screen, click on the black box which shows up to see how the onclick function on box1 works.</p>

<div class="wp_codebox"><table><tr id="p58310"><td class="code" id="p583code10"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// Creates canvas 320 Ã— 200 at 1, 1</span>
<span style="color: #003366; font-weight: bold;">var</span> paper <span style="color: #339933;">=</span> Raphael<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">320</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// Create a regular rectangle</span>
<span style="color: #003366; font-weight: bold;">var</span> box1 <span style="color: #339933;">=</span> paper.<span style="color: #660066;">rect</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">15</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">15</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">30</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">//Set the box fill to black</span>
box1.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;fill&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;#000&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// Set the box stroke color to white</span>
box1.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;stroke&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;#fff&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// create a rounded rectangle</span>
<span style="color: #003366; font-weight: bold;">var</span> box2 <span style="color: #339933;">=</span> paper.<span style="color: #660066;">rect</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">10</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">10</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">100</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">50</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// set box2's fill to grey</span>
box2.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;fill&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;#ddd&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Bring Box1 to the foreground</span>
box1.<span style="color: #660066;">toFront</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Attach a onclick function to box1 to change the color of the box</span>
<span style="color: #006600; font-style: italic;">// to blue when clicked</span>
box1<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">onclick</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> box1.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;fill&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;blue&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Links:<br />
<a href="http://raphaeljs.com/index.html">RaphaÃ«l Home Page</a><br />
<a href="http://raphaeljs.com/reference.html#Raphael">Documentation</a></p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://ajaxian.com/archives/raphael-simple-graphics-wrapper-on-top-of-svg-and-vml">RaphaÃ«l: Simple graphics wrapper on top of SVG and VML</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/26f7b850-915e-45c1-b1d6-a7edee41d4b2/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=26f7b850-915e-45c1-b1d6-a7edee41d4b2" alt="Zemanta Pixie" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2008/08/12/raphael-js-vector-graphics-for-the-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google: Ajax Libraries API</title>
		<link>http://blogs.vinuthomas.com/2008/05/28/google-ajax-libraries-api/</link>
		<comments>http://blogs.vinuthomas.com/2008/05/28/google-ajax-libraries-api/#comments</comments>
		<pubDate>Wed, 28 May 2008 15:07:15 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=512</guid>
		<description><![CDATA[Here&#8217;s some cool stuff &#8211; Google&#8217;s Hosting some popular Javascript Ajax libraries like jQuery, prototype and the likes on their servers. You use this service to serve the supported libraries straight off Google. They also provide you with the option to load a particular version of the library so you won&#8217;t have to keep checking [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some cool stuff &#8211; Google&#8217;s Hosting some popular Javascript Ajax libraries like jQuery, prototype and the likes on their servers. You use this service to serve the supported libraries straight off Google. They also provide you with the option to load a particular version of the library so you won&#8217;t have to keep checking your code everytime a latest release is made.</p>
<p>Here&#8217;s how you would load jQuery version 1.2.3 using this API:</p>

<div class="wp_codebox"><table><tr id="p51212"><td class="code" id="p512code12"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://www.google.com/jsapi&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
  <span style="color: #006600; font-style: italic;">// Load jQuery </span>
  google.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;jquery&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;1.2.3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #006600; font-style: italic;">//Continue using jQuery</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>The AJAX Libraries API is a content distribution network and loading architecture for the most popular open source JavaScript libraries. By using the <a href="http://code.google.com/apis/ajax/documentation/">Google AJAX API Loader&#8217;s</a> <code>google.load()</code> method, your application has high speed, globaly available access to a growing list of the most popular JavaScript open source libraries including:</p>
<ul>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery">jQuery</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#prototype">prototype</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#script_aculo_us">script.aculo.us</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#mootools">MooTools</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#dojo">dojo</a></li>
</ul>
<p>Google works directly with the key stake holders for each library effort and accept the latest stable versions as they are released. Once we host a release of a given library, we are committed to hosting that release indefinitely.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="425" height="355"><param name="wmode" value="transparent"></param><param name="src" value="http://www.youtube.com/v/sHMeTbkFuIk&amp;color1=d6d6d6&amp;color2=f0f0f0"><embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/sHMeTbkFuIk&amp;color1=d6d6d6&amp;color2=f0f0f0" wmode="transparent" width="425" height="355"></embed></param></object></p>
<p>Links:</p>
<p><a href="http://code.google.com/apis/ajaxlibs/">Google Ajax Libraries</a></p>
<p><a href="http://http://code.google.com/apis/ajaxlibs/documentation/">Documentation</a></p>
<fieldset class="zemanta-related" style="margin: 0.5em 0pt 1em; padding: 0pt;">
<legend class="zemanta-title">Related articles</legend>
<ul class="zemanta-article-ul" style="margin: 1em 0pt 1.5em; padding: 0pt;">
<li class="zemanta-article" style="margin: 0.5em 2em;"><a title="Open in new window" href="http://googlesystem.blogspot.com/2008/05/google-hosts-popular-javascript.html" target="_blank">Google Hosts Popular JavaScript Libraries</a> [via Zemanta]</li>
<li class="zemanta-article" style="margin: 0.5em 2em;"><a title="Open in new window" href="http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure" target="_blank">Announcing AJAX Libraries API: Speed up your Ajax apps with Google&#8217;s infrastructure</a> [via Zemanta]</li>
<li class="zemanta-article" style="margin: 0.5em 2em;"><a title="Open in new window" href="http://code.google.com/apis/ajaxlibs/" target="_blank">Google Ajax Libraries API</a> [via Zemanta]</li>
</ul>
</fieldset>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/86805db0-4109-4409-ac97-7f149d591c94/" title="Zemified by Zemanta"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=86805db0-4109-4409-ac97-7f149d591c94" alt="Zemanta Pixie"/></a></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2008/05/28/google-ajax-libraries-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PersistJS: Cross Browser Client-Side Persistent Storage</title>
		<link>http://blogs.vinuthomas.com/2008/05/27/persistjs-cross-browser-client-side-persistent-storage/</link>
		<comments>http://blogs.vinuthomas.com/2008/05/27/persistjs-cross-browser-client-side-persistent-storage/#comments</comments>
		<pubDate>Tue, 27 May 2008 03:30:50 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=509</guid>
		<description><![CDATA[
PersistJS is a simple to use Javascript to store persistent data on the client Browser. This library supports multiple back-ends which are listed later. The following example will show you how easy it is to store and retrieve data using PersistJS.
To Store Data:
// create a new client-side persistent data store
var store = new Persist.Store('My Data [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; float: right;"><a href="http://commons.wikipedia.org/wiki/Image:Firefox_Cookie_Manager.png" target="_blank" rel="lightbox[509]"><img style="border: medium none; display: block;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Firefox_Cookie_Manager.png/202px-Firefox_Cookie_Manager.png" alt="The Firefox Cookie Manager, showing the details of various cookies by domain" /></a></div>
<p>PersistJS is a simple to use Javascript to store persistent data on the client Browser. This library supports multiple back-ends which are listed later. The following example will show you how easy it is to store and retrieve data using PersistJS.</p>
<p>To Store Data:</p>
<pre><code>// create a new client-side persistent data store
var store = new Persist.Store('My Data Store');

// pretend data
var data = "pretend this is really long data that won't fit in a cookie";

// save data in store
store.set('saved_data', data);</code></pre>
<p>To Retreive Data:</p>
<pre><code>// get data back from store, and prompt user with it
store.get('saved_data', function(ok, val) {
  if (ok)
    alert('saved data = ' + val);
});</code></pre>
<p>PersistJS addresses all of the issues above. It currently supports persistent client-side storage through the following backends:</p>
<p>* flash: Flash 8 persistent storage.<br />
* gears: <a class="zem_slink" title="Google Gears" rel="homepage" href="http://gears.google.com/" target="_blank">Google Gears</a>-based persistent storage.<br />
* localstorage: <a class="zem_slink" title="HTML 5" rel="wikipedia" href="http://en.wikipedia.org/wiki/HTML_5" target="_blank">HTML5</a> draft storage.<br />
* whatwg_db: HTML5 draft database storage.<br />
* globalstorage: HTML5 draft storage (old spec).<br />
* ie: Internet Explorer userdata behaviors.<br />
* cookie: Cookie-based persistent storage.</p>
<p>You can also remove storage engines you don&#8217;t want to use in PersistJS by removing that storage engine by code:</p>
<pre class="code"><code>// never use cookies for persistent storage
Persist.remove('cookie');</code></pre>
<p>Links:<br />
<a href="http://pablotron.org/?cid=1557">PersistJS Project Home Page</a><br />
<a href="http://pablotron.org/files/persist-js-0.1.0.tar.gz">Download PersistJS</a></p>
<fieldset class="zemanta-related" style="margin: 0.5em 0pt 1em; padding: 0pt;">
<legend class="zemanta-title">Related articles</legend>
<ul class="zemanta-article-ul" style="margin: 1em 0pt 1.5em; padding: 0pt;">
<li class="zemanta-article" style="margin: 0.5em 2em;"><a title="Open in new window" href="http://www.masternewmedia.org/news/2008/04/02/work_offline_even_when_not.htm" target="_blank">Work Offline, Even When Not Connected To The Net With Google Docs Offline New Feature &#8211; Video Intro</a> [via Zemanta]</li>
<li class="zemanta-article" style="margin: 0.5em 2em;"><a title="Open in new window" href="http://ajaxian.com/archives/dojo-storage-updated-for-10" target="_blank">Dojo Storage updated for 1.0</a> [via Zemanta]</li>
<li class="zemanta-article" style="margin: 0.5em 2em;"><a title="Open in new window" href="http://ajaxian.com/archives/browser-cookie-restriction-research" target="_blank">Browser cookie restriction research</a> [viaÂ Zemanta]</li>
</ul>
</fieldset>
<div class="zemanta-pixie" style="margin: 5px 0pt; width: 100%;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixie.png?x-id=8554612c-b3bf-4d0e-bd6e-6e259843dc80" alt="" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2008/05/27/persistjs-cross-browser-client-side-persistent-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DamnIT &#8211; Find Javascript Errors</title>
		<link>http://blogs.vinuthomas.com/2008/04/07/damnit-find-javascript-errors/</link>
		<comments>http://blogs.vinuthomas.com/2008/04/07/damnit-find-javascript-errors/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 04:45:16 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[debug]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/?p=461</guid>
		<description><![CDATA[
How would you like to get an email with the javascript error and debug info about that error as soon as a visitor on your site encounters it? DamnIT provides you just that service:
DamnIT is a free service that emails you when a user encounters a JavaScript error in your webpages.
To get DamnIT installed for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-462" title="DamnIT Notification" src="http://blogs.vinuthomas.com/wp-content/uploads/2008/04/damnitnotification.png" alt="DamnIT Notification" width="380" height="47" /></p>
<p>How would you like to get an email with the javascript error and debug info about that error as soon as a visitor on your site encounters it? DamnIT provides you just that service:</p>
<blockquote><p>DamnIT is a free service that emails you when a user encounters a JavaScript error in your webpages.</p></blockquote>
<p>To get DamnIT installed for your site, just signup for an account and call a JS script &#8211; this works fine for IE and Firefox. If you want to install DamnIT on other browsers, you&#8217;ll need to place try&#8230;catch blocks. Learn more about DamnIT over at: <a href="http://damnit.jupiterit.com/home/learn">http://damnit.jupiterit.com/home/learn</a></p>
<p>Link : <a href="http://damnit.jupiterit.com/">DamnIT: Javascript Error Handling</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2008/04/07/damnit-find-javascript-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageFlow &#8211; Javascript Image Gallery</title>
		<link>http://blogs.vinuthomas.com/2008/01/06/imageflow-javascript-image-gallery/</link>
		<comments>http://blogs.vinuthomas.com/2008/01/06/imageflow-javascript-image-gallery/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 04:19:26 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[gallery]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2008/01/06/imageflow-javascript-image-gallery/</guid>
		<description><![CDATA[Here&#8217;s a cool image gallery script written in Javascript. It&#8217;s quite easy to integrate into your site. This is how the author describes ImageFlow:
ImageFlow is a picture gallery, which allows an intuitive image handling. The basic idea is to digitally animate the thumbing through a physical image stack. That intuitive handling is automatically caused by [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Here&#8217;s a cool image gallery script written in Javascript. It&#8217;s quite easy to integrate into your site. This is how the author describes ImageFlow:</p>
<blockquote><p>ImageFlow is a picture gallery, which allows an intuitive image handling. The basic idea is to digitally animate the thumbing through a physical image stack. That intuitive handling is automatically caused by the metaphorical use of the well known process of thumbing through.</p></blockquote>
<p align="left">The script is compatible with the browsers on Windows, OSX and Linux:</p>
<ul>
<li>IE 6.0+</li>
<li>Firefox 2.0.0.9+</li>
<li>Opera 6.0+</li>
<li>Safari 1.3.2+</li>
<li>KonquerorÂ  3.5.7</li>
</ul>
<p align="center">
<p style="text-align: center"><img src="http://blogs.vinuthomas.com/wp-content/uploads/2008/01/imageflow.jpg" alt="ImageFlow" /></p>
<p align="left">The current version of ImageFlow&#8217;s features are listed below :</p>
<ul>
<li>Supports most image formats</li>
<li>Supports large amounts of images (&gt;100)</li>
<li>100% JavaScript</li>
<li>Scroll bar</li>
<li>Mouse wheel support</li>
<li>Arrow-key support</li>
<li>Loading bar</li>
<li>Captions</li>
<li>Supports image links</li>
<li>Scales 100% dynamically</li>
<li>Implemented using div Tags</li>
</ul>
<p>Links:<br />
<a href="http://finnrudolph.de/ImageFlow/Download">Download ImageFlow 0.8</a><br />
<a href="http://imageflow.finnrudolph.de/">ImageFlow Site</a><br />
<a href="http://finnrudolph.de/ImageFlow/Documentation">ImageFlow Documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2008/01/06/imageflow-javascript-image-gallery/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>240 jQuery plugins</title>
		<link>http://blogs.vinuthomas.com/2007/12/04/240-jquery-plugins/</link>
		<comments>http://blogs.vinuthomas.com/2007/12/04/240-jquery-plugins/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 03:42:47 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2007/12/04/240-jquery-plugins/</guid>
		<description><![CDATA[Â 
Here&#8217;s a blog which lists out 240 plugins for jQuery. The list of plugins there covers almost everything you&#8217;d need to do with Javascript. If you haven&#8217;t yet heard of jQuery, head over to jquery.com and check that out. Once you&#8217;ve jQueried, you&#8217;ll never want to return to regular Javascript !  
To check out [...]]]></description>
			<content:encoded><![CDATA[<p align="center">Â <img src="http://blogs.vinuthomas.com/wp-content/uploads/2007/12/jquery.jpg" alt="jquery logo" /></p>
<p>Here&#8217;s a blog which lists out 240 plugins for jQuery. The list of plugins there covers almost everything you&#8217;d need to do with Javascript. If you haven&#8217;t yet heard of jQuery, head over to <a href="http://jquery.com/">jquery.com</a> and check that out. Once you&#8217;ve jQueried, you&#8217;ll never want to return to regular Javascript ! <img src='http://blogs.vinuthomas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To check out the list of jQuery plugins, head over to <a href="http://www.sastgroup.com/jquery/240-plugins-jquery">http://www.sastgroup.com/jquery/240-plugins-jquery</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2007/12/04/240-jquery-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Record mouse movement using AJAX</title>
		<link>http://blogs.vinuthomas.com/2007/10/22/record-mouse-movement-using-ajax/</link>
		<comments>http://blogs.vinuthomas.com/2007/10/22/record-mouse-movement-using-ajax/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 14:14:40 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[tracking]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2007/10/22/record-mouse-movement-using-ajax/</guid>
		<description><![CDATA[Instead of eyeball tracking for usability professionals, here&#8217;s a way to track the mouse movements and click events of a user on a page.
 The â€œmoveloggerâ€? records the mouse movement a users does on a web site. Just before the user leaves the current page, the recorded data get posted back to the server using [...]]]></description>
			<content:encoded><![CDATA[<p>Instead of eyeball tracking for usability professionals, here&#8217;s a way to track the mouse movements and click events of a user on a page.</p>
<blockquote><p> The â€œmoveloggerâ€? records the mouse movement a users does on a web site. Just before the user leaves the current page, the recorded data get posted back to the server using AJAX.<br />
The cool thing is that you can â€œreplayâ€? these movements afterwards.</p></blockquote>
<p>Want to try out a demo ? Check this link: <a href="http://pure.rednoize.com/movelogger/">http://pure.rednoize.com/movelogger/</a><br />
Link: <a href="http://pure.rednoize.com/2007/10/18/record-mouse-movement-using-javascript-and-ajax/">puRe aka Marcel Oelke Â» Record mouse movement using Javascript and AJAX</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2007/10/22/record-mouse-movement-using-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JSView &#8211; Firefox plugin</title>
		<link>http://blogs.vinuthomas.com/2006/06/15/jsview-firefox-plugin/</link>
		<comments>http://blogs.vinuthomas.com/2006/06/15/jsview-firefox-plugin/#comments</comments>
		<pubDate>Thu, 15 Jun 2006 06:19:08 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2006/06/15/jsview-firefox-plugin/</guid>
		<description><![CDATA[Here&#8217;s a cool extension for Firefox which gives you a quick look at the javascripts which are linked within the HTML page. No more hunting for JS includes in the HTML source !
&#8220;All browsers include a &#8220;View Source&#8221; option, but none of them offer the ability to view the source code of external files. Most [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a cool extension for Firefox which gives you a quick look at the javascripts which are linked within the HTML page. No more hunting for JS includes in the HTML source !</p>
<p>&#8220;<em>All browsers include a &#8220;View Source&#8221; option, but none of them offer the ability to view the source code of external files. Most websites store their javascripts and style sheets in external files and then link to them within a web page&#8217;s source code. Previously if you wanted to view the source code of an external javascript/css you would have to manually look through the source code to find the url and then type that into your browser. </em>&#8221;</p>
<p>Link: <a href="https://addons.mozilla.org/firefox/2076/">JSView :: Mozilla Add-ons :: Add Features to Mozilla Software</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2006/06/15/jsview-firefox-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSON and PHP: More Than Web Services</title>
		<link>http://blogs.vinuthomas.com/2006/05/30/json-and-php-more-than-web-services/</link>
		<comments>http://blogs.vinuthomas.com/2006/05/30/json-and-php-more-than-web-services/#comments</comments>
		<pubDate>Tue, 30 May 2006 03:21:07 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2006/05/30/json-and-php-more-than-web-services/</guid>
		<description><![CDATA[In the midst of all the wonderful AJAX libraries in the wild, many today still don&#8217;t understand the underlying technologies of AJAX that make it so powerful. In this article php&#124;architect&#8217;s publisher Marco Tabini covers JSON, the magic format that makes serializing data between Javascript and other languages (often server-side) a breeze. Simplicity, velocity and [...]]]></description>
			<content:encoded><![CDATA[<p>In the midst of all the wonderful AJAX libraries in the wild, many today still don&#8217;t understand the underlying technologies of AJAX that make it so powerful. In this article php|architect&#8217;s publisher Marco Tabini covers JSON, the magic format that makes serializing data between Javascript and other languages (often server-side) a breeze. Simplicity, velocity and power are the gifts of JSON.</p>
<p>Link: <a href="http://hades.phparch.com/ceres/public/article/index.php/art::ajax::json_and_php">JSON and PHP: More Than Web Services â€” a/r/t by php|architect</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2006/05/30/json-and-php-more-than-web-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript: Serialize JS array into PHP</title>
		<link>http://blogs.vinuthomas.com/2006/05/19/javascript-serialize-js-array-into-php/</link>
		<comments>http://blogs.vinuthomas.com/2006/05/19/javascript-serialize-js-array-into-php/#comments</comments>
		<pubDate>Fri, 19 May 2006 04:19:47 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2006/05/19/javascript-serialize-js-array-into-php/</guid>
		<description><![CDATA[Here&#8217;s a JavaScript function that serializes a JavaScript array into a form that PHP can later unserialize:
function js_array_to_php_array (a)
// This converts a javascript array to a string in PHP serialized format.
// This is useful for passing arrays to PHP. On the PHP side you can
// unserialize this string from a cookie or request variable. For [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a <a target="_blank" href="http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/414334">JavaScript function</a> that serializes a JavaScript array into a form that PHP can later unserialize:</p>
<p><code>function js_array_to_php_array (a)<br />
// This converts a javascript array to a string in PHP serialized format.<br />
// This is useful for passing arrays to PHP. On the PHP side you can<br />
// unserialize this string from a cookie or request variable. For example,<br />
// assuming you used javascript to set a cookie called "php_array"<br />
// to the value of a javascript array then you can restore the cookie<br />
// from PHP like this:<br />
//    &lt;?php<br />
//    session_start();<br />
//    $my_array = unserialize(urldecode(stripslashes($_COOKIE['php_array'])));<br />
//    print_r ($my_array);<br />
//    ?&gt;<br />
// This automatically converts both keys and values to strings.<br />
// The return string is not URL escaped, so you must call the<br />
// Javascript "escape()" function before you pass this string to PHP.<br />
{<br />
var a_php = "";<br />
var total = 0;<br />
for (var key in a)<br />
{<br />
total;<br />
a_php = a_php   "s:"<br />
String(key).length   ":\""   String(key)   "\";s:"<br />
String(a[key]).length   ":\""   String(a[key])   "\";";<br />
}<br />
a_php = "a:"   total   ":{"   a_php   "}";<br />
return a_php;<br />
}</code></p>
<p><a target="_blank" href="http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/414334">Read the article</a> for more details on this function&#8217;s usage.</p>
<p>via <a href="http://farm.tucows.com/blog/SourceCode">Tucows Farm: The Tucows Developers&#8217; Hangout :: Source Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2006/05/19/javascript-serialize-js-array-into-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ActiveWidgets &#8211; Javascript library</title>
		<link>http://blogs.vinuthomas.com/2006/05/02/activewidgets-javascript-library/</link>
		<comments>http://blogs.vinuthomas.com/2006/05/02/activewidgets-javascript-library/#comments</comments>
		<pubDate>Tue, 02 May 2006 15:26:02 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2006/05/02/activewidgets-javascript-library/</guid>
		<description><![CDATA[Here&#8217;s a cool set of Javascript Widgets, unfortunately the library is not free, but a good place to see what Javascript can actually acomplish on the client side.  
ActiveWidgets is a powerful javascript component library which makes web application development (especially AJAX-style apps) a lot easier and more productive. ActiveWidgets provides you with a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a cool set of Javascript Widgets, unfortunately the library is not free, but a good place to see what Javascript can actually acomplish on the client side. <img src='http://blogs.vinuthomas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>ActiveWidgets is a powerful javascript component library which makes web application development (especially AJAX-style apps) a lot easier and more productive. ActiveWidgets provides you with a set of common visual elements (like datagrid, tabs, tree, combo) sharing professional look-and-feel and simple programming model.</p>
<p>Link: <a href="http://www.activewidgets.com/grid/">ActiveWidgets â€¢ Ajax Grid â€¢ #1 Javascript Datagrid Control and Component Library.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2006/05/02/activewidgets-javascript-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightbox JS</title>
		<link>http://blogs.vinuthomas.com/2006/02/27/lightbox-js/</link>
		<comments>http://blogs.vinuthomas.com/2006/02/27/lightbox-js/#comments</comments>
		<pubDate>Mon, 27 Feb 2006 04:13:45 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[CMS]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2006/02/27/lightbox-js/</guid>
		<description><![CDATA[Here&#8217;s a cool piece of Javascript code which allows you to overlay an image zoom over the current page, without having to open a pop-up window to show the zoomed image.

&#8220;Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It&#8217;s a snap to setup and works on all modern [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a cool piece of Javascript code which allows you to overlay an image zoom over the current page, without having to open a pop-up window to show the zoomed image.<br />
<em><br />
&#8220;Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It&#8217;s a snap to setup and works on all modern browsers.</em>&#8221;<br />
Link: <a href="http://www.huddletogether.com/projects/lightbox/">Lightbox JS</a></p>
<p>Here&#8217;s a link to a Wordpress Plugin which uses the same feature:<br />
&#8220;<em>It scans your posts for linked images and makes a nice overlay popup out of them. This is much better then linking to a new window oder even open a fullblown javascript popup. The Lighbox Popup shows a small preloader animation before showing the full image. Before i continue to talk about what it is, i better put on some example.</em>&#8221;<br />
Word Press Plugin: <a href="http://www.m3nt0r.de/blog/lightbox-wordpress-plugin/">m3nt0r.de &#8211; beyond the net Â» Plugin: Lightbox</a></p>
<p>To see how it works, click on the image below:</p>
<p><a href="http://www.vinuthomas.com/modules/coppermine/albums/userpics/10002/unreal2.jpg" rel="lightbox[93]"><img width="200" border="0" align="bottom" alt="test" title="test" src="http://www.vinuthomas.com/modules/coppermine/albums/userpics/10002/unreal2.jpg" /></a></p>
<p>[tags]Javascript, Wordpress, Plugin, image, zoom, overlay[/tags]</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2006/02/27/lightbox-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drag &amp; Drop Sortable Lists</title>
		<link>http://blogs.vinuthomas.com/2006/02/26/drag-drop-sortable-lists/</link>
		<comments>http://blogs.vinuthomas.com/2006/02/26/drag-drop-sortable-lists/#comments</comments>
		<pubDate>Sun, 26 Feb 2006 05:08:36 +0000</pubDate>
		<dc:creator>vinu</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Designs]]></category>

		<guid isPermaLink="false">http://blogs.vinuthomas.com/2006/02/26/drag-drop-sortable-lists/</guid>
		<description><![CDATA[Various implementations of Drag &#038; Drop sortable lists using JS and CSS.
&#8220;In Web applications I&#8217;ve seen numerous â€” and personally implemented a few â€” ways to rearrange items in a list. All of those were indirect interactions typically involving something like up/down arrows next to each item.  Then I came across Simon Cozens&#8217; example [...]]]></description>
			<content:encoded><![CDATA[<p>Various implementations of Drag &#038; Drop sortable lists using JS and CSS.</p>
<p>&#8220;<em>In Web applications I&#8217;ve seen numerous â€” and personally implemented a few â€” ways to rearrange items in a list. All of those were indirect interactions typically involving something like up/down arrows next to each item.  Then I came across Simon Cozens&#8217; example of rearranging a list via drag &#038; drop. I was so inspired I had to try it out myself.</em>&#8221;</p>
<p>Link: <a href="http://tool-man.org/examples/sorting.html">Drag &#038; Drop Sortable Lists with JavaScript and CSS</a></p>
<p>[tags]Javascript, CSS[/tags]</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.vinuthomas.com/2006/02/26/drag-drop-sortable-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
