<?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; jquery</title>
	<atom:link href="http://www.sajithmr.me/tag/jquery/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>Facebook Styles from jQuery</title>
		<link>http://www.sajithmr.me/facebook-styles-from-jquery</link>
		<comments>http://www.sajithmr.me/facebook-styles-from-jquery#comments</comments>
		<pubDate>Sat, 08 May 2010 10:22:22 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook design]]></category>
		<category><![CDATA[facebook layout]]></category>
		<category><![CDATA[facebook style edit]]></category>
		<category><![CDATA[facebox]]></category>
		<category><![CDATA[facybox]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=655</guid>
		<description><![CDATA[A wide range of jQuery plugin which help us to create Facebook style designs are follows: I got this huge collection from this website. I am just rewriting that post here. 1) Facybox Website here 2) Facebox http://famspam.com/facebox 3) FCBKComplete Go to webstie 4) Facebook style registration Go to website 5) Gmail/Facebook style jQuery chat [...]]]></description>
			<content:encoded><![CDATA[<p>A wide range of jQuery plugin which help us to create Facebook style designs are follows:</p>
<p>I got this huge collection from <a href="http://www.jquery.wisdomplug.com" target="_blank">this</a> website. I am just rewriting that post here.</p>
<p>1) Facybox</p>
<p><a href="http://bitbonsai.com/facybox/" target="_blank"><img class="alignnone size-full wp-image-658" title="logo-facybox" src="http://www.sajithmr.me/wp-content/uploads/2010/05/logo-facybox.png" alt="logo-facybox" width="264" height="90" /></a></p>
<p>Website <a href="http://bitbonsai.com/facybox/" target="_blank">here</a></p>
<p>2) Facebox</p>
<p><a title="Facebox" href="http://famspam.com/facebox" target="_blank"><img class="alignnone size-full wp-image-656" title="facebox" src="http://www.sajithmr.me/wp-content/uploads/2010/05/facebox.jpg" alt="facebox" width="245" height="121" /></a></p>
<p><a href="http://famspam.com/facebox" target="_blank">http://famspam.com/facebox</a></p>
<p>3) FCBKComplete</p>
<p><img class="alignnone size-medium wp-image-659" title="15ee246.jpg" src="http://www.sajithmr.me/wp-content/uploads/2010/05/15ee246.jpg-300x210.png" alt="15ee246.jpg" width="300" height="210" /></p>
<p>Go to <a href="http://www.emposha.com/javascript/fcbkcomplete.html" target="_blank">webstie</a></p>
<p>4) Facebook style registration</p>
<p><img class="alignnone size-full wp-image-657" title="297" src="http://www.sajithmr.me/wp-content/uploads/2010/05/297.jpg" alt="297" width="434" height="238" /></p>
<p>Go to <a href="http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery" target="_blank">website</a></p>
<p>5) Gmail/Facebook style jQuery chat</p>
<p><img class="alignnone size-full wp-image-660" title="facechat" src="http://www.sajithmr.me/wp-content/uploads/2010/05/facechat.png" alt="facechat" width="210" height="204" /></p>
<p>Go to <a href="http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/" target="_blank">website</a></p>
<p>6) Facebook style comment using jQuery</p>
<p><img class="alignnone size-medium wp-image-661" title="facecomment" src="http://www.sajithmr.me/wp-content/uploads/2010/05/facecomment-300x101.png" alt="facecomment" width="300" height="101" /></p>
<p>Go to <a href="http://www.9lessons.info/2009/11/facebook-style-application-with-jquery.html" target="_blank">website</a></p>
<p>7) Facebook style auto complete</p>
<p><img class="alignnone size-full wp-image-662" title="search" src="http://www.sajithmr.me/wp-content/uploads/2010/05/search.png" alt="search" width="394" height="153" /></p>
<p>Go to <a href="http://www.web2ajax.fr/examples/facebook_searchengine/" target="_blank">website</a></p>
<p> <img src='http://www.sajithmr.me/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Facebook style picture edit</p>
<p><img class="alignleft size-full wp-image-663" title="tag" src="http://www.sajithmr.me/wp-content/uploads/2010/05/tag.png" alt="tag" width="376" height="201" /></p>
<p>Go to <a href="http://netindonesia.net/blogs/cipto/archive/2009/10/24/jquery-plugin-edit-image-facebook-style.aspx" target="_blank">website</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/facebook-styles-from-jquery/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Carousels with jQuery</title>
		<link>http://www.sajithmr.me/carousels-with-jquery</link>
		<comments>http://www.sajithmr.me/carousels-with-jquery#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:40:14 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[carousels]]></category>
		<category><![CDATA[circular]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sliding]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=632</guid>
		<description><![CDATA[jCarousel is a simple jQuery plugin to create continuous sliding effect.  I like the way they created the plugin. http://sorgalla.com/jcarousel/ jCarousel uses both javascript array and structured html  for inputing data. The data can be modified with html using post callback functions. For example, you can show flicker images using jCarousel by importing the images [...]]]></description>
			<content:encoded><![CDATA[<p><strong>jCarousel</strong> is a simple jQuery plugin to create continuous sliding effect.  I like the way they created the plugin.</p>
<p><a href="http://sorgalla.com/jcarousel/" target="_blank">http://sorgalla.com/jcarousel/</a></p>
<p><img class="alignnone size-full wp-image-633" title="jcarousel" src="http://www.sajithmr.me/wp-content/uploads/2010/04/jcarousel.tiff" alt="jcarousel" /></p>
<p>jCarousel uses both javascript array and structured html  for inputing data. The data can be modified with html using post callback functions. For example, you can show flicker images using jCarousel by importing the images as an javascript array. To format the appearance and style , you can use html in callback function.</p>
<p>If you need to you fully html based Carousel, use  <a href="http://plugins.jquery.com/project/jCarouselLite" target="_blank">jCarouselLite</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/carousels-with-jquery/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQtouch &#8211; amazing jQuery for iPhone</title>
		<link>http://www.sajithmr.me/jqtouch-amazing-jquery-for-iphone</link>
		<comments>http://www.sajithmr.me/jqtouch-amazing-jquery-for-iphone#comments</comments>
		<pubDate>Sun, 25 Apr 2010 20:24:40 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[jqtouch]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=635</guid>
		<description><![CDATA[I think, i am becoming jQuery fan day by day. If you have an iPhone or iPod Touch or iPad, try this url in your browser: http://sajithmr.me/jqtouch/demos/main/ You will wonder for some minutes. Yes, it is not a application, it is a website and every action is created by our dearest jQuery using jQTouch library [...]]]></description>
			<content:encoded><![CDATA[<p>I think, i am becoming jQuery fan day by day. If you have an iPhone or iPod Touch or iPad, try this url in your browser:</p>
<p><a href="http://sajithmr.me/jqtouch/demos/main/" target="_blank">http://sajithmr.me/jqtouch/demos/main/</a></p>
<p>You will wonder for some minutes. Yes, it is not a application, it is a website and every action is created by our dearest jQuery using jQTouch library</p>
<p>This is the official site of jQTouch: <a href="http://www.jqtouch.com/" target="_blank">http://www.jqtouch.com/</a></p>
<p><img class="alignnone size-full wp-image-636" title="jqtouch" src="http://www.sajithmr.me/wp-content/uploads/2010/04/jqtouch.jpg" alt="jqtouch" width="270" height="500" /></p>
<p>Wait for my post about integrating jQtouch in <a href="http://www.phonegap.com/" target="_blank">PhoneGap</a> to create iPhone applications within minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jqtouch-amazing-jquery-for-iphone/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>JBar &#8211; Jquery Bar</title>
		<link>http://www.sajithmr.me/jbar-jquery-bar</link>
		<comments>http://www.sajithmr.me/jbar-jquery-bar#comments</comments>
		<pubDate>Sun, 27 Dec 2009 11:47:33 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webworld]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[jbar]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=545</guid>
		<description><![CDATA[Flash messages or notification messages are very essential part of every update/edit or delete operations. We either use ajax update messages like &#8220;You account has been updated&#8221; or &#8220;Your photo has been successfully deleted&#8221; Here, a new plugin of jQuery can be used to display the flash messages like twitter. (see twitter&#8217;s settings page) I [...]]]></description>
			<content:encoded><![CDATA[<p>Flash messages or notification messages are very essential part of every update/edit or delete operations. We either use ajax update messages like &#8220;You account has been updated&#8221; or &#8220;Your photo has been successfully deleted&#8221;</p>
<p>Here, a new plugin of jQuery can be used to display the flash messages like twitter. (see twitter&#8217;s settings page)</p>
<p>I added some more functions to this plugin to display the notification in different context, say information, warning or error message. The function show_flash(&#8216;message here&#8217;); can be used for this purpose. Second parameter is the type of message. For example, show_flash(&#8216;Error in deleting file&#8217;, &#8216;error&#8217;) OR  show_flash(&#8216;Email address entered is invalid&#8217;, &#8216;warning&#8217;)</p>
<p>If you use sessions to save flash message , for example in codeigniter $this-&gt;session-&gt;set_flashdata(&#8216;message&#8217;,'hello&#8217;); you can use this plugin to display them by adding a php code in the footer  (or header) of every page</p>
<p>&lt;?php if($this-&gt;session-&gt;flashdata(&#8216;message&#8217;) != &#8221; )  : ?&gt;</p>
<p>&lt;script&gt;show_flash(&#8216;&lt;?= $this-&gt;session-&gt;flashdata(&#8216;message&#8217;) ?&gt;&#8217;)&lt;/script&gt;</p>
<p>&lt;?php endif; ?&gt;</p>
<p>Here you can download the full source code:  <a href="http://www.sajithmr.me/downloads/jbar.zip">http://www.sajithmr.me/downloads/jbar.zip</a></p>
<p><img class="alignnone size-large wp-image-566" title="Screen shot 2009-12-27 at 11.30.12" src="http://www.sajithmr.me/wp-content/uploads/2009/12/Screen-shot-2009-12-27-at-11.30.12-1024x182.png" alt="Screen shot 2009-12-27 at 11.30.12" width="717" height="127" /></p>
<p>Thanks</p>
<p>Sajith</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jbar-jquery-bar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just a second with Iframe</title>
		<link>http://www.sajithmr.me/just-a-second-with-iframe</link>
		<comments>http://www.sajithmr.me/just-a-second-with-iframe#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:07:59 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=490</guid>
		<description><![CDATA[IF you are facing problem with layout issues inside iframe (which is normally not there in normal pages) just test these things. Iframe is considered as a separate html page. So it needs all the basic tags, from html, head, body. It does not get styles from parent, so you need to add manually in [...]]]></description>
			<content:encoded><![CDATA[<p>IF you are facing problem with layout issues inside iframe (which is normally not there in normal pages) just test these things.</p>
<p><img class="alignnone size-full wp-image-493" title="flex-iframe-logo-128" src="http://www.sajithmr.me/wp-content/uploads/2009/11/flex-iframe-logo-128.png" alt="flex-iframe-logo-128" width="128" height="128" /></p>
<ul>
<li>Iframe is considered as a separate html page. So it needs all the basic tags, from html, head, body.</li>
<li>It does not get styles from parent, so you need to add manually in the header</li>
<li>Take care of javascript calls  separated with parent and local (if anything related with parent , use parent. , for example, to access a jQuery script from parent use, parent.$.function_name)</li>
<li>Avoid define styles inside body tag with &lt;style&gt; tags, place them in &lt;head&gt; tag</li>
<li>To solve the layout issues, you must use the DOCTYPE tag at the beginning</li>
<li>If you are using any autoheight scripts to control iframe height dynamically, remember, it may not work as expected in all browser. (jQuery autoheight plugin sometimes fails in OPERA)</li>
</ul>
<pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt;</pre>
<p>There is a saying that using iframe is a bad practise. I don&#8217;t know the fact, anyway gmail uses more than 5 iframes to implement all the features and works well. (See<a href="http://www.sajithmr.me/gmail-architecture/" target="_blank"> Gmail Architecture</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/just-a-second-with-iframe/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fancy box</title>
		<link>http://www.sajithmr.me/fancy-box</link>
		<comments>http://www.sajithmr.me/fancy-box#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:58:16 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[fancybox]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=471</guid>
		<description><![CDATA[Finally I found a good light-box which really matches the name &#8220;Light box&#8221; in FancyBox.  It is a jQuery based light window. It has very less features while compare with any other light box, but simple to use. Compatible with all browsers. Go here to find it : http://fancybox.net/ You need to add the below [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I found a good light-box which really matches the name &#8220;Light box&#8221; in FancyBox.  It is a jQuery based light window. It has very less features while compare with any other light box, but simple to use. Compatible with all browsers.</p>
<p><img class="alignnone size-medium wp-image-472" title="bg_logo" src="http://www.sajithmr.me/wp-content/uploads/2009/11/bg_logo-300x81.gif" alt="bg_logo" width="300" height="81" /></p>
<p>Go here to find it : <a href="http://fancybox.net/" target="_blank">http://fancybox.net/</a></p>
<p>You need to add the below javascript in addition to the jquery js file.</p>
<p><code>&lt;script type="text/javascript" src="path-to-file/jquery.fancybox.js"&gt;&lt;/script&gt; </code></p>
<p>To create a link to open in fancybox, call the function fancybox. For example, if you have a link pointing an image &lt;a href=&#8221;myimage.gif&#8221; id=&#8221;imglink&#8221; /&gt;</p>
<p>Call</p>
<p>&lt;script&gt;</p>
<p>$(&#8220;#imglink&#8221;).fancybox();</p>
<p>&lt;/script&gt;</p>
<p>The window automatically resize with image. If you put <strong>title</strong> attribute, it shows the title below with the light window.</p>
<p>Instead of image, you can point a file. If you need to open that file in iframe, use <span style="color: #008000;"><strong>class</strong></span>=<span style="color: #3366ff;"><em><strong>&#8220;iframe&#8221;</strong></em></span></p>
<p>Visit<a href="http://fancybox.net/howto" target="_blank"> http://fancybox.net/howto</a> for more usability.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/fancy-box/feed</wfw:commentRss>
		<slash:comments>0</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>
	</channel>
</rss>

