<?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>Ajax Updates &#187; Enhancement</title>
	<atom:link href="http://www.ajaxupdates.com/tag/enhancement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxupdates.com</link>
	<description>Latest Ajax Scripts, Examples, News and other Ajax related stuff</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:46:54 +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>Ajax Suggestions Script</title>
		<link>http://www.ajaxupdates.com/ajax-suggestions-script/</link>
		<comments>http://www.ajaxupdates.com/ajax-suggestions-script/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 14:37:37 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax Search]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax suggest]]></category>
		<category><![CDATA[Class Names]]></category>
		<category><![CDATA[Conjunction]]></category>
		<category><![CDATA[Copyright]]></category>
		<category><![CDATA[Creative Commons Deed]]></category>
		<category><![CDATA[E Mail]]></category>
		<category><![CDATA[Element]]></category>
		<category><![CDATA[Enhancement]]></category>
		<category><![CDATA[Global Address Book]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Init Method]]></category>
		<category><![CDATA[Input Elements]]></category>
		<category><![CDATA[Javascript Files]]></category>
		<category><![CDATA[Js]]></category>
		<category><![CDATA[Mail Application]]></category>
		<category><![CDATA[Robert Nyman]]></category>
		<category><![CDATA[Suggestion]]></category>
		<category><![CDATA[Url]]></category>
		<category><![CDATA[Web Page]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1967</guid>
		<description><![CDATA[JAX Suggestions is pretty much what you might have seen with Google Suggest. The basic idea is, through AJAX, to give the user an immediate response to what they&#8217;re typing and displaying the search results their input would generate. AJAX Suggestions is an unobtrusive JavaScript to add that progressive enhancement to your web page, by [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/fancy-apple-com-style-search-suggestion/' rel='bookmark' title='Permanent Link: Fancy Apple.com Style Search Suggestion'>Fancy Apple.com Style Search Suggestion</a> <small>Apple is known to create beautiful products (next to the...</small></li>
<li><a href='http://www.ajaxupdates.com/twitter-like-search-with-jquery-and-ajax/' rel='bookmark' title='Permanent Link: Twitter like Search with jQuery and Ajax'>Twitter like Search with jQuery and Ajax</a> <small>Learn how to display twitter like search results with jQuery...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>JAX Suggestions is pretty much what you might have seen with Google Suggest. The basic idea is, through AJAX, to give the user an immediate response to what they&#8217;re typing and displaying the search results their input would generate. AJAX Suggestions is an unobtrusive JavaScript to add that progressive enhancement to your web page, by the usage of two CSS class names to the desired
<pre class="brush: php">input</pre>
<p> elements.</p>
<p>It could also be used, for instance, in an online e-mail application where you would want to check a name in a global address book and return the related matches, with the possibility to then adding them to the field element.</p>
<p>AJAX Suggestions is available either as stand-alone, or in conjunction with the DOMAssistant library.</p>
<p>AJAX Suggestions is released under a <a href="http://creativecommons.org/licenses/GPL/2.0/">Creative Commons Deed license</a>. Basically, it means that it&#8217;s free to use and improve, and that the JavaScript files keep their reference to its creator. Like this:</p>
<blockquote>
<pre>
<pre class="brush: php">&lt;strong&gt;Copyright:&lt;/strong&gt;
/*
	AJAX Suggestions is developed by Robert Nyman, http://www.robertnyman.com, and it is released according to the
	Creative Commons Deed license (http://creativecommons.org/licenses/GPL/2.0/)
	For more information, please see http://www.robertnyman.com/ajax-suggestions
*/
</pre>
</pre>
</blockquote>
<p><strong>Usage:</strong><br />
What you need to do is to first include the JavaScript file; ajaxSuggestions.js for a stand-alone version, or ajaxSuggestions-DOMAssistant.js together with the other DOMAssistant modules (Note: remember to call the init() method of the ajaxSuggestions object, with the approach you find suitable, when using the DOMAssistant version).</p>
<p>Then, just add two CSS classes to the input elements you want to add the AJAX Suggestions functionality to, ajax-suggestion and url-the-actual-URL, where you should replace the-actual-URL with your desired URL. The HTML code will look something like this:</p>
<pre class="brush: html">&lt;input type=&quot;text&quot; class=&quot;ajax-suggestion url-ajax-demo.php&quot;/&gt;</pre>
<p>It is also recommended to have the HTML code for the elements that will present the suggestions in your original HTML code. For example:</p>
<pre class="brush: html">&lt;div id=&quot;search-result-suggestions&quot;&gt;
	&lt;h4&gt;Top 5 results&lt;/h4&gt;
	&lt;div id=&quot;search-results&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Please note that AJAX Suggestions supports multiple elements in the same web page, who can also use different URLs for their AJAX calls. The same element is used for presenting the results, so it will only show you the results/suggestions for the latest search.<br />
An example reply can look any way you want; only your imagination will hold you back! Below is just a simple code example of a list with suggestions:</p>
<pre class="brush: html">&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;1&quot; class=&quot;item&quot;&gt;Suggestion #1&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;2&quot; class=&quot;item&quot;&gt;Suggestion #2&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;3&quot; class=&quot;item&quot;&gt;Suggestion #3&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;4&quot; class=&quot;item&quot;&gt;Suggestion #4&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;5&quot; class=&quot;item&quot;&gt;Suggestion #5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;/&quot; class=&quot;item&quot;&gt;&lt;b&gt;Search for all items&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;
</pre>
<p><strong>Settings</strong></p>
<p>AJAX Suggestions gives you a number of settings for you to get the most out of your usage. The different settings, available at the top of the ajaxSuggestions JavaScript file, are described below. Here are the default settings:<br />
Default settings</p>
<pre class="brush: javascript">elmIdToPresentResultsIn : &quot;search-results&quot;,
elmIdResultsContainer : &quot;search-result-suggestions&quot;,
charactersBeforeSearch : 2,
timeBeforeSuggest : 200, // In milliseconds
sameWidthAsInputElm : false,
offsetLeft: 0,
offsetTop : 0,
urlExt : &quot;search=&quot;,
addSearchTermToQueryString : true,
addKeyNavigationEvents : true,
hideResultsOnDocumentClick : true,
itemClassName : &quot;item&quot;,
itemSelectedClassName : &quot;selected&quot;,
itemInsertValueIntoInputClassName : &quot;choose-value&quot;,
itemInsertValueSetFocusToInput : true,
hideResultsWhenInsertValueIsSelected : true,
itemSeparator : &quot;;&quot;,
turnAutoCompleteOff : true,
</pre>
<p>Demo: <a href="http://www.robertnyman.com/ajax-suggestions/demo.htm">http://www.robertnyman.com/ajax-suggestions/demo.htm</a><br />
Download: <a href="http://www.robertnyman.com/ajax-suggestions/AJAX-Suggestions-demo.zip">http://www.robertnyman.com/ajax-suggestions/AJAX-Suggestions-demo.zip</a><br />
Source: <a href="http://www.robertnyman.com/ajax-suggestions/implementation.htm">http://www.robertnyman.com/ajax-suggestions/implementation.htm</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fajax-suggestions-script%2F', 'Ajax+Suggestions+Script')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fajax-suggestions-script%2F', title: '+Ajax+Suggestions+Script+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/fancy-apple-com-style-search-suggestion/' rel='bookmark' title='Permanent Link: Fancy Apple.com Style Search Suggestion'>Fancy Apple.com Style Search Suggestion</a> <small>Apple is known to create beautiful products (next to the...</small></li>
<li><a href='http://www.ajaxupdates.com/twitter-like-search-with-jquery-and-ajax/' rel='bookmark' title='Permanent Link: Twitter like Search with jQuery and Ajax'>Twitter like Search with jQuery and Ajax</a> <small>Learn how to display twitter like search results with jQuery...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/ajax-suggestions-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Image Gallery using Spry</title>
		<link>http://www.ajaxupdates.com/image-gallery-using-spry/</link>
		<comments>http://www.ajaxupdates.com/image-gallery-using-spry/#comments</comments>
		<pubDate>Wed, 06 May 2009 13:46:33 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Attributes]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Demos]]></category>
		<category><![CDATA[Enhancement]]></category>
		<category><![CDATA[Gallery Index]]></category>
		<category><![CDATA[Gallery Photo]]></category>
		<category><![CDATA[Gallery Photos]]></category>
		<category><![CDATA[Graceful Degradation]]></category>
		<category><![CDATA[Html Source]]></category>
		<category><![CDATA[image gallery]]></category>
		<category><![CDATA[Product Source]]></category>
		<category><![CDATA[Progressive]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Source View]]></category>
		<category><![CDATA[View Source]]></category>
		<category><![CDATA[Xml]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1533</guid>
		<description><![CDATA[These versions use various coding techniques like, from inline Spry attributes to progressive enhancement for graceful degradation. DIfferent coders have different goals and these sample show various ways to accomplish the same end product..

Source code:
&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; xmlns:spry=&#34;http://ns.adobe.com/spry&#34;&#62;
&#60;head&#62;
&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=ISO-8859-1&#34; /&#62;
&#60;title&#62;Gallery&#60;/title&#62;
&#60;link href=&#34;../css/screen.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;../../includes/xpath.js&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;../../includes/SpryData.js&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;../../includes/SpryEffects.js&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34;&#62;
var dsGalleries = new [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/dynamic-image-gallery-with-slideshow/' rel='bookmark' title='Permanent Link: Dynamic Image Gallery with Slideshow'>Dynamic Image Gallery with Slideshow</a> <small>This extremely lightweight JavaScript image gallery and slideshow script clocks...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>These versions use various coding techniques like, from inline Spry attributes to progressive enhancement for graceful degradation. DIfferent coders have different goals and these sample show various ways to accomplish the same end product..</p>
<div><img src="http://labs.adobe.com/technologies/spry/demos/images/gallery.gif" border="1" alt="Gallery Demo" width="300" height="200" /></div>
<p><strong>Source code:</strong></p>
<pre class="brush: php">&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xmlns:spry=&quot;http://ns.adobe.com/spry&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot; /&gt;
&lt;title&gt;Gallery&lt;/title&gt;
&lt;link href=&quot;../css/screen.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;../../includes/xpath.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;../../includes/SpryData.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;../../includes/SpryEffects.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var dsGalleries = new Spry.Data.XMLDataSet(&quot;galleries/galleries.xml&quot;, &quot;galleries/gallery&quot;);
var dsGallery = new Spry.Data.XMLDataSet(&quot;galleries/{dsGalleries::@base}{dsGalleries::@file}&quot;, &quot;gallery&quot;);
var dsPhotos = new Spry.Data.XMLDataSet(&quot;galleries/{dsGalleries::@base}{dsGalleries::@file}&quot;, &quot;gallery/photos/photo&quot;);
&lt;/script&gt;
&lt;script src=&quot;gallery.js&quot;  type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body id=&quot;gallery&quot;&gt;
&lt;noscript&gt;&lt;h1&gt;This page requires JavaScript. Please enable JavaScript in your browser and reload this page.&lt;/h1&gt;&lt;/noscript&gt;
&lt;div id=&quot;wrap&quot;&gt;
	&lt;h1 id=&quot;albumName&quot; spry:region=&quot;dsGallery&quot;&gt;{sitename} &lt;span class=&quot;return&quot;&gt;&lt;a href=&quot;../index.html&quot;&gt;Back to Demos&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;source&quot;&gt;&lt;a href=&quot;source.html&quot;&gt;View Source &lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;
	&lt;div id=&quot;previews&quot;&gt;
		&lt;div id=&quot;galleries&quot; spry:region=&quot;dsGalleries&quot;&gt;
		&lt;label for=&quot;gallerySelect&quot;&gt;View:&lt;/label&gt;
			&lt;select spry:repeatchildren=&quot;dsGalleries&quot; id=&quot;gallerySelect&quot; onchange=&quot;dsGalleries.setCurrentRowNumber(this.selectedIndex);&quot;&gt;
				&lt;option spry:if=&quot;{ds_RowNumber} == {ds_CurrentRowNumber}&quot; selected=&quot;selected&quot;&gt;{sitename}&lt;/option&gt;
				&lt;option spry:if=&quot;{ds_RowNumber} != {ds_CurrentRowNumber}&quot;&gt;{sitename}&lt;/option&gt;
			&lt;/select&gt;
		&lt;/div&gt;
		&lt;div id=&quot;controls&quot;&gt;
			&lt;ul id=&quot;transport&quot;&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot; onclick=&quot;StopSlideShow(); AdvanceToNextImage(true);&quot; title=&quot;Previous&quot;&gt;Previous&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;pausebtn&quot;&gt;&lt;a href=&quot;#&quot; onclick=&quot;if (gSlideShowOn) StopSlideShow(); else StartSlideShow();&quot; title=&quot;Play/Pause&quot; id=&quot;playLabel&quot;&gt;Play&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot; onclick=&quot;StopSlideShow(); AdvanceToNextImage();&quot; title=&quot;Next&quot;&gt;Next&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/div&gt;
		&lt;div id=&quot;thumbnails&quot; spry:region=&quot;dsPhotos dsGalleries dsGallery&quot;&gt;
			&lt;div spry:repeat=&quot;dsPhotos&quot; onclick=&quot;HandleThumbnailClick(&#039;{ds_RowID}&#039;);&quot; onmouseover=&quot;GrowThumbnail(this.getElementsByTagName(&#039;img&#039;)[0], &#039;{@thumbwidth}&#039;, &#039;{@thumbheight}&#039;);&quot; onmouseout=&quot;ShrinkThumbnail(this.getElementsByTagName(&#039;img&#039;)[0]);&quot;&gt;
				&lt;img id=&quot;tn{ds_RowID}&quot; alt=&quot;thumbnail for {@thumbpath}&quot; src=&quot;galleries/{dsGalleries::@base}{dsGallery::thumbnail/@base}{@thumbpath}&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;left: 0px; right: 0px;&quot; /&gt;
			&lt;/div&gt;
			&lt;p class=&quot;ClearAll&quot;&gt;&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div id=&quot;picture&quot;&gt;
		&lt;div id=&quot;mainImageOutline&quot; style=&quot;width: 0px; height: 0px;&quot;&gt;&lt;img id=&quot;mainImage&quot; alt=&quot;main image&quot; /&gt;&lt;/div&gt;
	&lt;/div&gt;
	&lt;p class=&quot;clear&quot;&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Demo</strong>: <a href="http://labs.adobe.com/technologies/spry/demos/gallery/index.html"> http://labs.adobe.com/technologies/spry/demos/gallery/index.html</a></p>
<p align="left"><em>Source: <a href="http://labs.adobe.com/technologies/spry/demos/pe_gallery.html"> http://labs.adobe.com/technologies/spry/demos/pe_gallery.html</a></em></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fimage-gallery-using-spry%2F', 'Image+Gallery+using+Spry')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fimage-gallery-using-spry%2F', title: '+Image+Gallery+using+Spry+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/dynamic-image-gallery-with-slideshow/' rel='bookmark' title='Permanent Link: Dynamic Image Gallery with Slideshow'>Dynamic Image Gallery with Slideshow</a> <small>This extremely lightweight JavaScript image gallery and slideshow script clocks...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/image-gallery-using-spry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->