<?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>Rey Bango &#187; DHTML</title>
	<atom:link href="http://blog.reybango.com/category/dhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.reybango.com</link>
	<description>JavaScript, HTML, CSS &#38; Random Stuff...</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:46:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>40-60% of Yahoo&apos;s Users Have an Empty Cache Experience</title>
		<link>http://blog.reybango.com/2007/08/29/40-60-of-yahoos-users-have-an-empty-cache-experience/</link>
		<comments>http://blog.reybango.com/2007/08/29/40-60-of-yahoos-users-have-an-empty-cache-experience/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 16:19:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Yahoo User Interface Library]]></category>

		<guid isPermaLink="false">http://www.intoajax.com/index.cfm/2007/8/29/4060-of-Yahoos-Users-Have-an-Empty-Cache-Experience</guid>
		<description><![CDATA[I&apos;m re-submitting this post since I had to blow away the original one when I had the HTTP compression issues. The original, posted on August 19, 2007, can be found via Google cache: With RIA&apos;s becoming so pervasive and developers just going full tilt in embracing toolkits that help build these wonderful apps, its still [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&apos;m re-submitting this post since I had to blow away the original one when I had the HTTP compression issues. The original, posted on August 19, 2007, can be found via <a href="http://209.85.165.104/search?q=cache:Dk7SsRjlOJwJ:www.reybango.com/index.cfm/2007/8/19/4060-of-Yahoos-Users-Have-an-Empty-Cache-Experience+yahoo+empty+cache&#038;hl=en&#038;ct=clnk&#038;cd=1&#038;gl=us">Google cache</a>:</p>
<p>With RIA&apos;s becoming so pervasive and developers just going full tilt in embracing toolkits that help build these wonderful apps, its still extremely important to take into consideration site optimizations that actually make your site usable.</p>
<p>Take for example the age old adage of the &#8220;files are cached on the user&apos;s computer&#8221;. Well, Yahoo seems to have done a good job of dispelling that thinking by doing some research that shows that:
<ul>
<li>40-60% of Yahoo&apos;s users have an empty cache experience</li>
<li>~20% of all page views are done with an empty cache</li>
</ul>
<p>Holy crap! 40-60%!!! Yahoo&apos;s audience is so distinct that these figures really are compelling and should be considered when designing your site. Here&apos;s the link for the full article:</p>
<p><a href="http://yuiblog.com/blog/2007/01/04/performance-research-part-2/">Performance Research, Part 2: Browser Cache Usage &#8211; Exposed!</a></p>
<p>It really is enlightening.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2007/08/29/40-60-of-yahoos-users-have-an-empty-cache-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion 8 Ajax Controls: A Little Thought Can Save Your Butt</title>
		<link>http://blog.reybango.com/2007/06/03/coldfusion-8-ajax-controls-a-little-thought-can-save-your-butt/</link>
		<comments>http://blog.reybango.com/2007/06/03/coldfusion-8-ajax-controls-a-little-thought-can-save-your-butt/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 04:49:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[DHTML]]></category>

		<guid isPermaLink="false">http://www.intoajax.com/index.cfm/2007/6/3/ColdFusion-8-Ajax-Controls-A-Little-Thought-Can-Save-Your-Butt</guid>
		<description><![CDATA[ColdFusion 8 is looking very hot and its gotten a tremendous amount of much deserved attention. Having done Ajax development with other tools, I&apos;m obviously very interested in the Ajax widget tags included in CF8. Dan Vega had a nice, straightforward example of using CFWINDOW to build a very sweet looking dynamic window. When I [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>ColdFusion 8 is looking very hot and its gotten a tremendous amount of much deserved attention. Having done Ajax development with other tools, I&apos;m obviously very interested in the Ajax widget tags included in CF8.</p>
<p><a href="http://www.danvega.org/blog/index.cfm/2007/6/1/Tip-of-The-Day-using-CFWindow">Dan Vega</a> had a nice, straightforward example of using CFWINDOW to build a very <a href="http://h127408.cf8beta.com/ajax/tipoftheday.cfm">sweet looking dynamic window</a>. When I did a &#8220;view source&#8221;, I was kind of shocked by the amount of javascript libs being included. You had files from Yahoo User Interface (YUI), Ext, and some others which seemed specific to Adobe (Spry maybe?). There were a total of 12 javascript files loaded automatically by CF 8 in order to popup the dynamic window.<br />
So I whipped out FireBug and did a quick analysis and noticed that the libraries totaled ~330KB! Holy cow! There&apos;s a lotta library in that page. Now you might say, &#8220;whats the big deal? Customers have broadband!&#8221;. Um, sorta. While broadband continues to grow steadily, its still important to consider those visitors on the low end of the spectrum (eg: dial-up).</p>
<p>This got me thinking about some of the things that I&apos;ve had to contend with as I got involved with client-side development; especially Ajax.</p>
<p>Using these new tags is definitely enticing and its going to give CF developers a great way to get introduced to client-side dynamic effects including Ajax, without the headaches of hand-coding so much stuff. Shoot, <a href="http://www.forta.com">Ben Forta</a> has posted 3 CF8/Ajax tutorials that have stunned me due to the power and simplicity of the implementation.</p>
<p>But for those just jumping into this whole DOM/JS/Ajax thing, it is <b><em>REALLY</em></b> important to evaluate your visitor expectations not only from a business perspective but a technology perspective. Don&apos;t make the assumption that every visitor you have has broadband or, even tougher to deal with, JavaScript-enabled. If you&apos;re targetting customers who traditionally are not the most &#8220;wired&#8221;, you may be in for a big surprise when they encounter a site thats not as responsive as <b><em>you</em></b> thought. This could equal lost customers and/or lost sales.</p>
<p>So my point is to tell you to definitely embrace the new Ajax widgets in CF8 (and those of any library) with a little forethought. By doing so, you need to start rethinking your approach to how your target audience will be affected. Everything from bandwidth to accessibility to security will now need to be thought through to make sure your apps work for your visitors.</p>
<p>To get you started with CF8&apos;s Ajax capabilities, here are a couple of tutorials from Guru Ben Forta:</p>
<p><a href="http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-1-AutoSuggest">ColdFusion Ajax Tutorial 1: Auto-Suggest</a><br />
<a href="http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-2-Related-Selects">ColdFusion Ajax Tutorial 2: Related Selects</a><br />
<a href="http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-3-Live-Data-Grids">ColdFusion Ajax Tutorial 3: Live Data Grids</a></p>
<p>I would also HIGHLY recommend this posting to get to understand progressive enhancement.</p>
<p><a href="http://adactio.com/journal/959">Progressive enhancement with Ajax</a></p>
<p>If you don&apos;t know what progressive enhancement is and you&apos;re planning on implementing DHTML and Ajax, you&apos;re doing yourself and especially your site visitors a disservice.</p>
<p>Welcome to Ajax fellow CF&apos;ers!</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2007/06/03/coldfusion-8-ajax-controls-a-little-thought-can-save-your-butt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Ajax AutoComplete Redone by Dan G. Switzer</title>
		<link>http://blog.reybango.com/2007/01/16/jquery-ajax-autocomplete-redone-by-dan-g-switzer/</link>
		<comments>http://blog.reybango.com/2007/01/16/jquery-ajax-autocomplete-redone-by-dan-g-switzer/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 21:03:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.intoajax.com/index.cfm/2007/1/16/jQuery-Ajax-AutoComplete-Redone-by-Dan-G-Switzer</guid>
		<description><![CDATA[Dan G. Switzer of qForms fame has recently been cranking up code using the jQuery Ajax/JS library. He&apos;s released a refactored version of Dylan Verheul&apos;s jQuery Autcomplete plug-in which: Supports local data array (can now use w/out AJAX). Limit dropdown to XX number of results (good for limiting the results to users) Autofill pre-populates text [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pengoworks.com">Dan G. Switzer</a> of <a href="http://www.pengoworks.com/index.cfm?action=get:qforms">qForms</a> fame has recently been cranking up code using the <a href="http://jquery.com">jQuery Ajax/JS library</a>.</p>
<p>He&apos;s released a refactored version of <a href="http://www.dyve.net/jquery/?autocomplete">Dylan Verheul&apos;s jQuery Autcomplete plug-in</a> which:</p>
<ul>
<li>Supports local data array (can now use w/out AJAX).</p>
<li>Limit dropdown to XX number of results (good for limiting the results to users)
<li>Autofill pre-populates text box as you type
<li>New findValue() method can be used to programmatically determine if the value in the box is a valid option. (Useful for verifying the text entered is an existing value option.)
<li>Dropdown options now correctly re-position themselves on each display (which means they adjust for changing to the DOM)
<li>Dropdown box defaults to the width of the input field its attached to(you can manually specify a larger width as well)
<li>Better emulates Windows autocomplete boxes (for example: hitting delete and retyping the same box will now bring back the dropdown menu)
<li>Miscellaneous bug fixes
</ul>
<p>You can see the demo and download the code here:<br />
<a href="http://www.pengoworks.com/workshop/jquery/autocomplete.htm">Dan G. Switzer&apos;s AutoComplete Mod</a></p>
<p>Great work Dan!</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2007/01/16/jquery-ajax-autocomplete-redone-by-dan-g-switzer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding an Ajax Indicator Image in AjaxCFC</title>
		<link>http://blog.reybango.com/2006/08/16/adding-an-ajax-indicator-image-in-ajaxcfc/</link>
		<comments>http://blog.reybango.com/2006/08/16/adding-an-ajax-indicator-image-in-ajaxcfc/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 02:45:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[DHTML]]></category>

		<guid isPermaLink="false">http://www.intoajax.com/index.cfm/2006/8/16/Adding-an-Ajax-Indicator-Image-in-AjaxCFC</guid>
		<description><![CDATA[I&apos;ve been using Rob Ghonda&apos;s AjaxCFC more and more and the one thing that I wanted was the ability to define an Ajax indicator image. So I looked into the util.js and found a link to the online DWR reference. In there, Joe Walker shows a snippet of code that can do exactly what I [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&apos;ve been using Rob Ghonda&apos;s AjaxCFC more and more and the one thing that I wanted was the ability to define an Ajax indicator image. </p>
<p>So I looked into the util.js and found a link to the online DWR reference. In there, Joe Walker shows a snippet of code that can do exactly what I wanted; display one of those animated Ajax indicator images! So, I figured I&apos;d share the code with all of your guys &#038; gals. Here it is:</p>
<p><code><br />
/**<br />
 * Setup a AJAX image indicator.<br />
 * Added by Rey Bango (8/16/06) based on code in the URL below<br />
 * @see http://getahead.ltd.uk/dwr/browser/util/useloadingmessage<br />
 */<br />
DWRUtil.useLoadingImage  = function(imageSrc) {<br />
  var loadingImage;<br />
  if (imageSrc)<br />
  	loadingImage = imageSrc;<br />
  else loadingImage = "ajax-loader.gif";<br />
  DWREngine.setPreHook(function() {<br />
    var disabledImageZone = $(&apos;disabledImageZone&apos;);<br />
    if (!disabledImageZone) {<br />
      disabledImageZone = document.createElement(&apos;div&apos;);<br />
      disabledImageZone.setAttribute(&apos;id&apos;, &apos;disabledImageZone&apos;);<br />
      disabledImageZone.style.position = "absolute";<br />
      disabledImageZone.style.zIndex = "1000";<br />
      disabledImageZone.style.left = "0px";<br />
      disabledImageZone.style.top = "0px";<br />
      disabledImageZone.style.width = "100%";<br />
      disabledImageZone.style.height = "100%";<br />
      var imageZone = document.createElement(&apos;img&apos;);<br />
      imageZone.setAttribute(&apos;id&apos;,&apos;imageZone&apos;);<br />
      imageZone.setAttribute(&apos;src&apos;,imageSrc);<br />
      imageZone.style.position = "absolute";<br />
      imageZone.style.top = "0px";<br />
      imageZone.style.right = "0px";<br />
      disabledImageZone.appendChild(imageZone);<br />
      document.body.appendChild(disabledImageZone);<br />
    }<br />
    else {<br />
      $(&apos;imageZone&apos;).src = imageSrc;<br />
      disabledImageZone.style.visibility = &apos;visible&apos;;<br />
    }<br />
  });<br />
  DWREngine.setPostHook(function() {<br />
    $(&apos;disabledImageZone&apos;).style.visibility = &apos;hidden&apos;;<br />
  });<br />
}</p>
<p></code><br />
Just drop that into util.js, clear your cache and reload your page. It should then be accessible.</p>
<p>All you have to do now is change your code to call the new function right before executing your Ajax call (like this):</p>
<p><code><br />
DWRUtil.useLoadingImage("/images/ajax-loader.gif"); </p>
<p>DWREngine._execute(_ajaxConfig._cfscriptLocation, null, &apos;publishFeed&apos;, fid, doEchoResult);<br />
</code></p>
<p>If you simply specify it like that, the function will create a DIV with an ID of &#8220;disabledImageZone&#8221; and an image with an ID of &#8220;imageZone&#8221; and will display the indicator in the upper right hand corner of the browser. If you want to have some flexibility in where your Ajax indicator will display, then just create your own DIV with a child image inside wherever you want the indicator to appear (like this):</p>
<p><code></p>
<div id="disabledImageZone" style="visibility: hidden; float: left;"><img id="imageZone" src=""></div>
<div id="echoFeedPublishResult" style=" float: left; font-style: italic; margin-bottom: 10px; font-size: 10pt; font-weight: bold;"></div>
<p></code></p>
<p>I hope this helps someone out and thanks again Rob, for building AjaxCFC. Its awesome.</p>
<p>Rey&#8230;</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2006/08/16/adding-an-ajax-indicator-image-in-ajaxcfc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAX Framework from Adobe!!</title>
		<link>http://blog.reybango.com/2006/05/11/ajax-framework-from-adobe/</link>
		<comments>http://blog.reybango.com/2006/05/11/ajax-framework-from-adobe/#comments</comments>
		<pubDate>Thu, 11 May 2006 16:06:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[BlueDragon]]></category>
		<category><![CDATA[CF Community]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[DHTML]]></category>

		<guid isPermaLink="false">http://www.intoajax.com/index.cfm/2006/5/11/AJAX-Framework-from-Adobe</guid>
		<description><![CDATA[AJAX is definite hot when it comes to the web but it takes some know-how to navigate Cascading Style Sheets, DHTML, the DOM, JSON and all of the other things that go into the whole Web 2.0 experience Adobe has jumped onto the AJAX bandwagon by releasing a new AJAX framework called Spry along with [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>AJAX is definite hot when it comes to the web but it takes some know-how to navigate Cascading Style Sheets, DHTML, the DOM, JSON and all of the other things that go into the whole Web 2.0 experience</p>
<p>Adobe has jumped onto the AJAX bandwagon by releasing a new <a href="http://labs.adobe.com/technologies/spry/" target="_blank">AJAX framework</a> called <a href="http://labs.adobe.com/technologies/spry/" target="_blank">Spry</a> along with several demos that show how to use it.</p>
<p>I&apos;m not sure how it compares to <a href="http://script.aculo.us/" target="_blank">script.aculo.us</a> or <a href="http://prototype.conio.net/" target="_blank">prototype</a> but if they build hooks into CFML that make it even easier to build RIAs, they&apos;ll have me sold.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2006/05/11/ajax-framework-from-adobe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New to CSS &amp; DHTML? Check this out!</title>
		<link>http://blog.reybango.com/2006/05/11/new-to-css-dhtml-check-this-out/</link>
		<comments>http://blog.reybango.com/2006/05/11/new-to-css-dhtml-check-this-out/#comments</comments>
		<pubDate>Thu, 11 May 2006 04:27:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[DHTML]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.intoajax.com/index.cfm/2006/5/11/New-to-CSS--DHTML-Check-this-out</guid>
		<description><![CDATA[I&apos;ve used Dynamic Drive on several occasions when I&apos;ve needed some nice JavaScript code to get me out of a bind. And I have to say that its one heck of a JavaScript resource. Well, Dynamic Drive just came out a new site that is catering to Cascading Style Sheets and DHTML!! Its called the [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&apos;ve used <a href="http://www.dynamicdrive.com/" target="_blank">Dynamic Drive</a> on several occasions when I&apos;ve needed some nice JavaScript code to get me out of a bind. And I have to say that its one heck of a JavaScript resource.</p>
<p>Well, Dynamic Drive just came out a new site that is catering to Cascading Style Sheets and DHTML!! Its called the <a href="http://www.dynamicdrive.com/style/" target="_blank">Dynamic Drive CSS Library</a> and it is hella cool. You get free code for everything from arrow comment boxes like NetFlix uses to cool CSS Tab menus!</p>
<p>This is really a cool find and I highly recommend it to new and experienced web developers.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2006/05/11/new-to-css-dhtml-check-this-out/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! -->
