<?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/"
	>

<channel>
	<title>AJAX24</title>
	<atom:link href="http://www.flash-free.org/en/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flash-free.org</link>
	<description>Componentes y Efectos AJAX</description>
	<pubDate>Sat, 23 Jan 2010 10:57:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mootools Idle Spy - Detecting the idle status</title>
		<link>http://www.flash-free.org/en/2010/01/22/idle-spy-para-mootools-detectando-la-ausencia-de-interaccionmootools-idle-spy-detecting-the-idle-status/</link>
		<comments>http://www.flash-free.org/en/2010/01/22/idle-spy-para-mootools-detectando-la-ausencia-de-interaccionmootools-idle-spy-detecting-the-idle-status/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 00:03:15 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Componentes]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[class]]></category>

		<category><![CDATA[idle]]></category>

		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/?p=170</guid>
		<description><![CDATA[
Our mission as programmers is to take care of our users and our server resources. Ajax applications tend to make constant requests to the server, and even if you change to another window or tab often the apps continue to run wasting CPU, bandwidth and other server resources.
Imagine an application like  Gmail, that is [...]]]></description>
			<content:encoded><![CDATA[
<p>Our mission as programmers is to take care of our users and our server resources. <strong>Ajax</strong> applications tend to make constant requests to the server, and even if you change to another window or tab often the apps continue to run wasting CPU, bandwidth and other server resources.</p>
<p>Imagine an application like  <a href="http://gmail.com">Gmail</a>, that is constantly checking if there are new mails on the server for display, plus updating every minute the <a href="http://www.sajithmr.me/php-time-ago-calculation/">dates in time ago format</a> to show the elapsed time since the receipt of mail. If we change to other tab, many of these actions should stop until you get back. If like me you use to open dozens of tabs at once and in a browser such as Firefox(memory greedy), be sure that the apps that do not optimize their resources will eventually saturate the browser.</p>
<p>Today I bring <strong>IdleSpy a Mootools class</strong> that monitors mouse and keyboard events to determine whether the user is interacting with the page and establish a <strong>state of idle</strong> to stop certain actions or send a message and alert the user.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p170code3'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1703"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
</pre></td><td class="code" id="p170code3"><pre class="javascript" style="font-family:monospace;">  <span style="color: #003366; font-weight: bold;">var</span> IdleSpy <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> <span style="color: #003366; font-weight: bold;">Class</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    Implements<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span>Options<span style="color: #339933;">,</span> Events<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
&nbsp;
    options<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
      idleTime<span style="color: #339933;">:</span> <span style="color: #CC0000;">60000</span> <span style="color: #006600; font-style: italic;">//1 min</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
&nbsp;
    initialize<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">setOptions</span><span style="color: #009900;">&#40;</span>options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idle</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
&nbsp;
      document.<span style="color: #660066;">id</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">body</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #3366CC;">'mousemove'</span><span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">doBack</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        <span style="color: #3366CC;">'mousewheel'</span><span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">doBack</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        <span style="color: #3366CC;">'keydown'</span><span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">doBack</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
&nbsp;
    start<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>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idleTimer</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">doIdle</span>.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">options</span>.<span style="color: #660066;">idleTime</span><span style="color: #339933;">,</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
&nbsp;
    doBack<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>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idleTimer</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $clear<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idleTimer</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idle</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idle</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">fireEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'back'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
&nbsp;
    doIdle<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>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idle</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">fireEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'idle'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">idleTimer</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">doIdle</span>.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">options</span>.<span style="color: #660066;">idleTime</span><span style="color: #339933;">,</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The class is simple to use, create an instance by passing as parameter the time in milliseconds to consider the state of <strong>idle</strong> and we can hear the events <strong>back and idle</strong> or be notified when the user returns to interact with the page.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p170code4'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1704"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p170code4"><pre class="javascript" style="font-family:monospace;"> <span style="color: #003366; font-weight: bold;">var</span> idleSpy <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> IdleSpy<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
   idleTime<span style="color: #339933;">:</span> <span style="color: #CC0000;">300000</span>
 <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
 idleSpy.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
   <span style="color: #3366CC;">'idle'</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> <span style="color: #009966; font-style: italic;">/* on user idle code here */</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
   <span style="color: #3366CC;">'back'</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> <span style="color: #009966; font-style: italic;">/* on user back code here */</span> <span style="color: #009900;">&#125;</span>
 <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
 idleSpy.<span style="color: #660066;">start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>For other AJAX frameworks:</p>
<ul>
<li>YUI: <a href="http://www.nczonline.net/blog/2009/06/02/detecting-if-the-user-is-idle-with-javascript-and-yui-3/">Detecting if the user is idle with JavaScript and YUI 3</a></li>
<li>jQuery: <a href="http://paulirish.com/2009/jquery-idletimer-plugin/">jQuery idleTimer plugin</a></li>
<li>Prototype: <a href="http://www.andrewsellick.com/67/simple-javascript-idle-state-using-prototype">Simple JavaScript Idle State using Prototype</a></li>
</ul>
<p>I haven’t tested it enough yet, so I wait for your comments <img src='http://www.flash-free.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Update 1: Added mousewheel event to the spy<br />
Update 2: Fixed bug pointed by eneko, added this.start() to the onBack<br />
If you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2010/01/22/idle-spy-para-mootools-detectando-la-ausencia-de-interaccionmootools-idle-spy-detecting-the-idle-status/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PNG Fix for IE6 with Mootools - e24PNGFix</title>
		<link>http://www.flash-free.org/en/2009/06/22/png-fix-para-ie6-con-mootools-e24pngfixpng-fix-for-ie6-with-mootools-e24pngfix/</link>
		<comments>http://www.flash-free.org/en/2009/06/22/png-fix-para-ie6-con-mootools-e24pngfixpng-fix-for-ie6-with-mootools-e24pngfix/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 08:00:01 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Componentes]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[png fix]]></category>

		<category><![CDATA[png ie]]></category>

		<category><![CDATA[png transparente]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/?p=143</guid>
		<description><![CDATA[
I use to lost about 2-3 hours a day fixing bugs at Internet Explorer 6. IE6 puts us in the disyuntiva of limit our creativity or lost the IE6 users quote.
One of the main problems of IE6 is its incompatibility with transparent PNGs. This is solved by one of its filters, so far I had [...]]]></description>
			<content:encoded><![CDATA[
<p>I use to lost about 2-3 hours a day fixing bugs at Internet Explorer 6. IE6 puts us in the disyuntiva of limit our creativity or lost the IE6 users quote.</p>
<p>One of the main problems of IE6 is its incompatibility with transparent PNGs. This is solved by one of its filters, so far I had used <a href="http://www.clientcide.com/docs/Browser/FixPNG">FixPNG of ClientCide</a>, but I found a limitation when applying an opacity transition effect to a transparent PNG in IE6 or IE7, either with or Tween Morph.</p>
<p>FixPNG fixes the PNG transparency  problem adding this css filter:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p143code10'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p14310"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code" id="p143code10"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> replacement <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Element<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'span'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>
	id<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span>el.<span style="color: #660066;">id</span><span style="color: #339933;">:</span><span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">'class'</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">className</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span>el.<span style="color: #660066;">className</span><span style="color: #339933;">:</span><span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>
	title<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">title</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span>el.<span style="color: #660066;">title</span><span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">alt</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span>el.<span style="color: #660066;">alt</span><span style="color: #339933;">:</span><span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>
	styles<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
		display<span style="color: #339933;">:</span> vis<span style="color: #339933;">?</span><span style="color: #3366CC;">'inline-block'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'none'</span><span style="color: #339933;">,</span>
		width<span style="color: #339933;">:</span> dim.<span style="color: #660066;">x</span><span style="color: #339933;">,</span>
		height<span style="color: #339933;">:</span> dim.<span style="color: #660066;">y</span><span style="color: #339933;">,</span>
		filter<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;progid:DXImageTransform.Microsoft.AlphaImageLoader (src='&quot;</span> 
			<span style="color: #339933;">+</span> el.<span style="color: #660066;">src</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;', sizingMethod='scale');&quot;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	src<span style="color: #339933;">:</span> el.<span style="color: #660066;">src</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That is OK, but the problem is that when we change the opacity of an element in Internet Explorer with Mootools, this making it through the same filter CSS property.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p143code11'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p14311"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p143code11"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Browser.<span style="color: #660066;">Engine</span>.<span style="color: #660066;">trident</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">filter</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>opacity <span style="color: #339933;">==</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'alpha(opacity='</span> <span style="color: #339933;">+</span> opacity <span style="color: #339933;">*</span> <span style="color: #CC0000;">100</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">')'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>I have developed my own FixPNG to solve some of my animations while Mootools as ClientCide fixes the yours.</p>
<p>To use e24PNGFix, the images should be placed as a background using css, ie:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p143code12'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p14312"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p143code12"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;myimg&quot;  style=&quot;background: url(img/myimg.png) no-repeat&quot;&gt;&lt;/div&gt;</pre></td></tr></table></div>

<p>And then we can fix the PNG adding the following javascript sentence:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p143code13'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p14313"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p143code13"><pre class="javascript" style="font-family:monospace;">Browser.<span style="color: #660066;">fixPNG</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myimg'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The script at least meets my needs, you are free to use it or not, here I leave with you the e24FixPNG source code:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p143code14'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p14314"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
</pre></td><td class="code" id="p143code14"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/*
 e24PNGFix
	- MooTools version required: 1.2.2
	Changelog:
		- 1.0: First release
*/</span>
&nbsp;
<span style="color: #006600; font-style: italic;">/*Based on the fixPNG module from MooTools, My Object Oriented Javascript Tools. Copyright (c) 2006-2007 Valerio Proietti, &lt;http://mad4milk.net&gt;, MIT Style License.||Clientcide Copyright (c) 2006-2008, http://www.clientcide.com/wiki/cnet-libraries#license*/</span>
<span style="color: #006600; font-style: italic;">/* Copyright: equipo24 S.L.N.E &lt;http://equipo24.com/&gt; - Distributed under MIT License - Keep this message! */</span>
&nbsp;
$extend<span style="color: #009900;">&#40;</span>Browser<span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>
	fixPNG<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Browser.<span style="color: #660066;">Engine</span>.<span style="color: #660066;">trident</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			el <span style="color: #339933;">=</span> document.<span style="color: #660066;">id</span><span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #003366; font-weight: bold;">var</span> w <span style="color: #339933;">=</span> el.<span style="color: #660066;">getStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'width'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #003366; font-weight: bold;">var</span> h <span style="color: #339933;">=</span> el.<span style="color: #660066;">getStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'height'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #003366; font-weight: bold;">var</span> imgURL <span style="color: #339933;">=</span> el.<span style="color: #660066;">getStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'background'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>imgURL.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/\((.+)\)/</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				el.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'background'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #003366; font-weight: bold;">var</span> subEl <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Element<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>
					<span style="color: #3366CC;">'style'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'width: '</span> <span style="color: #339933;">+</span> w <span style="color: #339933;">+</span> <span style="color: #3366CC;">';'</span> <span style="color: #339933;">+</span>
					<span style="color: #3366CC;">'height: '</span> <span style="color: #339933;">+</span> h <span style="color: #339933;">+</span> <span style="color: #3366CC;">';'</span> <span style="color: #339933;">+</span>
					<span style="color: #3366CC;">&quot;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='&quot;</span> <span style="color: #339933;">+</span> imgURL.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/\((.+)\)/</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;');&quot;</span>							
				<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
				el.<span style="color: #660066;">grab</span><span style="color: #009900;">&#40;</span>subEl<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>							
			<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>In the next post going to introduce e24WalkerFx effect, which uses e24PNGFix to fix transparent PNGs on Internet Explorer.</p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2009/06/22/png-fix-para-ie6-con-mootools-e24pngfixpng-fix-for-ie6-with-mootools-e24pngfix/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mootools 1.2.3 and Clientcide 2.1.0 Released Today</title>
		<link>http://www.flash-free.org/en/2009/06/20/mootools-123-y-clientcide-210-lanzados-hoymootools-123-and-clientcide-210-released-today/</link>
		<comments>http://www.flash-free.org/en/2009/06/20/mootools-123-y-clientcide-210-lanzados-hoymootools-123-and-clientcide-210-released-today/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 23:29:27 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[Noticias]]></category>

		<category><![CDATA[clientcide]]></category>

		<category><![CDATA[compatibilidad]]></category>

		<category><![CDATA[frameworkds]]></category>

		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/?p=133</guid>
		<description><![CDATA[
Today have been released mootools 1.2.3, the last step before release the 2.0 version. It is mainly a set of bug fixes, but have a new great feature for frameworks compatibility.
Although it is not recommended to use different frameworks at the same page, it is true that there are cases that we can&#8217;t control that, [...]]]></description>
			<content:encoded><![CDATA[
<p>Today have been released <a href="http://mootools.net">mootools 1.2.3</a>, the last step before release the 2.0 version. It is mainly a set of bug fixes, but have a new great feature for frameworks compatibility.</p>
<p>Although it is not recommended to use different frameworks at the same page, it is true that there are cases that we can&#8217;t control that, like plug-in developers that don&#8217;t use to know where their plug-ins will be used. The solution is very simple, just change the $ by document.id().</p>
<p>Before:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p133code17'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p13317"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p133code17"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> el <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myid'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>And now can be:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p133code18'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p13318"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p133code18"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> el <span style="color: #339933;">=</span> document.<span style="color: #660066;">id</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myid'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Today have been also release <a href="http://www.clientcide.com/">Clientcide 2.1.0</a>, which main change is the deprecation of $ for compatibility with other frameworks.</p>
<p>So, now i will need 15 minutes to upgrade all my plug-ins.</p>
<p>Source: <a href="http://mootools.net/blog/2009/06/19/mootools-123-released/">mootools blog</a></p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2009/06/20/mootools-123-y-clientcide-210-lanzados-hoymootools-123-and-clientcide-210-released-today/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Monitor the scroll with e24ScrollEvents for mootools</title>
		<link>http://www.flash-free.org/en/2009/06/17/monitoriza-el-scroll-con-e24scrollevents-para-mootoolsmonitor-the-scroll-with-e24scrollevents-for-mootools/</link>
		<comments>http://www.flash-free.org/en/2009/06/17/monitoriza-el-scroll-con-e24scrollevents-para-mootoolsmonitor-the-scroll-with-e24scrollevents-for-mootools/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 12:00:15 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Componentes]]></category>

		<category><![CDATA[Galería]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[componente]]></category>

		<category><![CDATA[events]]></category>

		<category><![CDATA[Gallery]]></category>

		<category><![CDATA[scroll]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/?p=107</guid>
		<description><![CDATA[

Introduction
David Walsh released his ScrollSpy plug-in some days ago. It have almost the same objectives as e24ScrollEvents. By then i had e24ScrollEvents almost finished for one of my projects. I didn&#8217;t stop working on it since it have some added values that makes it very easy to use. So, you are free to compare both [...]]]></description>
			<content:encoded><![CDATA[
<p><img style="border:1px solid black;"src="http://www.flash-free.org/wp-content/uploads/2009/06/e24scrollevents.jpg" alt="Scroll Events for mootools" title="Scroll Events for mootools" width="533" height="264" class="alignnone size-full wp-image-109" /></p>
<p><strong>Introduction</strong><br />
<a href="http://twitter.com/davidwalshblog">David Walsh</a> released his <a href="http://davidwalsh.name/scrollspy">ScrollSpy</a> plug-in some days ago. It have almost the same objectives as e24ScrollEvents. By then i had e24ScrollEvents almost finished for one of my projects. I didn&#8217;t stop working on it since it have some added values that makes it very easy to use. So, you are free to compare both plug-ins and use the one that best fits your needs.</p>
<p>e24ScrollEvents is a plug-in for Mootools that lets detect which elements are visible inside an scrolling area. To accomplish this it adds two new events to the Element core class. Theses events get fired when the elements are visible or hidden. </p>
<p><strong>Demos</strong><br />
Demo1: <a href="http://www.flash-free.org/wp-content/files/e24scrollevents/demo3.html">Ajax Photo Gallery</a><br />
Demo2: <a href="http://www.flash-free.org/wp-content/files/e24scrollevents/demo.html">Basic Demo</a></p>
<p><strong>Usage</strong><br />
Include Mootools 1.2.2 Core inside the HTML header. Remember that you can generate an optimum version of the mootools library selecting only the required components at <a href="http://mootools.net/core">Mootools Core Builder</a>. The required components are DOMReady, Element.Dimensions,  Element.Style, Element.Events, Class.Extras and all its dependencies. Also include e24ScrollEvents library:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p107code22'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p10722"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p107code22"><pre class="html" style="font-family:monospace;">&lt;script src=&quot;js/mootools-1.2.2-core-nc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/e24scrollevents-1.0.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>Now write the necessary HTML code to begin to listen the scroll position. First we have to add the &#8220;visible&#8221; and &#8220;hidden&#8221; event handlers. Lets say that we have two elements &#8220;el1&#8243; and &#8220;el2&#8243; that we want to get notified whenever appear or disappear in the scrolling area.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p107code23'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p10723"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code" id="p107code23"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> el1 <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'el1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
el1.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #3366CC;">'visible'</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>
		el1.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'4px solid #000'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">'hidden'</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>
		el1.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'none'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> el2 <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'el2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
el2.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #3366CC;">'visible'</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>
		el2.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'4px solid #000'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">'hidden'</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>
		el2.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'none'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>After that we have to create an e24ScrollEvents instance passing an options object as param.  The options are: the container element (if we want to monitor the whole page the use &#8220;window&#8221;), the mode (vertical or horizontal) and an array with elements that we want to subscribe to the &#8220;visible&#8221; and &#8220;hidden&#8221; events.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p107code24'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p10724"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p107code24"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">new</span> e24ScrollEvents<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	container<span style="color: #339933;">:</span> window<span style="color: #339933;">,</span>
	mode<span style="color: #339933;">:</span> <span style="color: #3366CC;">'vertical'</span><span style="color: #339933;">,</span>
	elements<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'el1'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'el2'</span><span style="color: #009900;">&#93;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Options</strong></p>
<ul>
<li><em>container</em>: The id of the scrolling area. If we want to monitor the page scroll, then we have to set it as <em>window</em>.</li>
<li><em>mode</em>: The scroll bar that we want to monitor: <em>vertical</em> or <em>horizontal</em>.</li>
<li><em>elements</em>: An array with the elements that we want to subscribe to the <em>visible</em> y <em>hidden</em> events. <a href="http://mootools.net/docs/core/Utilities/Selectors">The mootools selectors</a> can help you a lot with this task. ie. $$(&#8217;.myelements&#8217;).</li>
</ul>
<p><strong>Methos</strong></p>
<ul>
<li><em>listenScroll</em>: Fires the &#8220;visible&#8221; and &#8220;hidden&#8221; events depending of the elements visibility inside the scrolling area. This method is useful only if we want to check the elements visibility before you begin to move the scroll, for example, just after you add the new event handlers.</li>
</ul>
<p><strong>New Element Events</strong></p>
<ul>
<li><em>visible</em>: Fires when the element appear inside the visible area. Gets as params the element itself and the scroll position.</li>
<li><em>hidden</em>: Fires when the element disappear from the visible area. Gets as params the element itself and the scroll position.</li>
</ul>
<p><strong>Known Issues</strong></p>
<ul>
<li>Monitor the horizontal scroll and the vertical scroll at the same time. I didn&#8217;t need that for my project, but i can be useful.</li>
</ul>
<p><strong>License</strong><br />
Distributed under MIT License</p>
<p><strong>Download</strong><br />
<a href="http://www.flash-free.org/wp-content/files/e24scrollevents/e24scrollevents-1.0.zip">e24ScrollEvents 1.0</a> (38.8 KB, includes the demos)</p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2009/06/17/monitoriza-el-scroll-con-e24scrollevents-para-mootoolsmonitor-the-scroll-with-e24scrollevents-for-mootools/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Attract the user&#8217;s attention using e24SpotLight for mootools</title>
		<link>http://www.flash-free.org/en/2009/06/08/capta-la-atencion-de-un-objeto-con-e24spotlight-para-mootoolsattract-the-users-attention-using-e24spotlight-for-mootools/</link>
		<comments>http://www.flash-free.org/en/2009/06/08/capta-la-atencion-de-un-objeto-con-e24spotlight-para-mootoolsattract-the-users-attention-using-e24spotlight-for-mootools/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 08:37:00 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Componentes]]></category>

		<category><![CDATA[Efectos]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[componente]]></category>

		<category><![CDATA[efecto]]></category>

		<category><![CDATA[spotlight]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/?p=84</guid>
		<description><![CDATA[
Introduction
e24SpotLight is a plug-in for Mootools that lets attract the user&#8217;s attention over a region. The effect simulates a lights off letting only the desired region illuminated.
Demos
Demo1: Selecting an object
Demo2: Selecting a region
Demo3: e24Presenter + e24SpotLight
Usage
Include Mootools 1.2.2 Core inside the HTML header. Remember that you can generate an optimum version of the mootools library [...]]]></description>
			<content:encoded><![CDATA[
<p><img src="http://www.flash-free.org/wp-content/uploads/2009/06/e24spotlight.jpg" alt="e24spotlight" title="e24spotlight" width="505" class="alignnone size-full wp-image-91" /><strong>Introduction</strong><br />
e24SpotLight is a plug-in for Mootools that lets attract the user&#8217;s attention over a region. The effect simulates a lights off letting only the desired region illuminated.</p>
<p><strong>Demos</strong><br />
Demo1: <a href="http://www.flash-free.org/wp-content/files/e24spotlight/demo.html">Selecting an object</a><br />
Demo2: <a href="http://www.flash-free.org/wp-content/files/e24spotlight/demo2.html">Selecting a region</a><br />
Demo3: <a href="http://www.flash-free.org/wp-content/files/e24spotlight/demo3.html">e24Presenter + e24SpotLight</a></p>
<p><strong>Usage</strong><br />
Include Mootools 1.2.2 Core inside the HTML header. Remember that you can generate an optimum version of the mootools library selecting only the required components at <a href="http://mootools.net/core">Mootools Core Builder</a>. The required components are  DOMReady, Element.Dimensions, Fx.Transitions, Fx.Morph and all its dependencies. Also include e24SpotLight library:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p84code29'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p8429"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p84code29"><pre class="html" style="font-family:monospace;">&lt;script src=&quot;js/mootools-1.2.2-core-nc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/e24spotlight-1.0.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>Now write the necessary HTML code to init the spotlight. We need to pass an options object. We will see the rest of the options in detail below.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p84code30'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p8430"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code" id="p84code30"><pre class="javascript" style="font-family:monospace;">	<span style="color: #003366; font-weight: bold;">var</span> spotLight <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> e24SpotLight<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
		transition<span style="color: #339933;">:</span> <span style="color: #3366CC;">'quad:in'</span><span style="color: #339933;">,</span>
		duration<span style="color: #339933;">:</span> <span style="color: #CC0000;">200</span><span style="color: #339933;">,</span>
		zindex<span style="color: #339933;">:</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">,</span>
		bgcolor<span style="color: #339933;">:</span> <span style="color: #3366CC;">'#000000'</span><span style="color: #339933;">,</span>
		opacity<span style="color: #339933;">:</span> <span style="color: #CC0000;">0.7</span><span style="color: #339933;">,</span>
		margin<span style="color: #339933;">:</span> <span style="color: #CC0000;">8</span><span style="color: #339933;">,</span>
		delay<span style="color: #339933;">:</span> <span style="color: #CC0000;">2000</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>If we want to activate a DOM element given its Id or object reference then use this code:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p84code31'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p8431"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p84code31"><pre class="javascript" style="font-family:monospace;">  spotLight.<span style="color: #660066;">lightOn</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'mydiv'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>If we want to activate a region given its coordinates and dimensions then use this code:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p84code32'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p8432"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p84code32"><pre class="javascript" style="font-family:monospace;">  spotLight.<span style="color: #660066;">lightOn</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>left<span style="color: #339933;">:</span> <span style="color: #CC0000;">100</span><span style="color: #339933;">,</span> top<span style="color: #339933;">:</span> <span style="color: #CC0000;">150</span><span style="color: #339933;">,</span> width<span style="color: #339933;">:</span> <span style="color: #CC0000;">300</span><span style="color: #339933;">,</span> height<span style="color: #339933;">:</span> <span style="color: #CC0000;">300</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Options</strong></p>
<ul>
<li><em>transition</em>: The effect transition name, like: ‘quad-out’, ‘bounce-in’, ‘elastic-in’, etc.</li>
<li><em>duration</em>: The duration in milliseconds of spotlight effect.</li>
<li><em>zindex</em>: The overlays layer&#8217;s z-index.</li>
<li><em>bgcolor</em>: The overlays layer&#8217;s color.</li>
<li><em>opacity</em>: The overlays layer&#8217;s  opacity.</li>
<li><em>margin</em>: The ligth region desired margin.</li>
<li><em>delay</em>: The delay in milliseconds to hide the overlays layer. If the delay is zero the overlay layer never will be hidden, only will be hidden if you click the overlay.</li>
</ul>
<p><strong>Methods</strong></p>
<ul>
<li><em>lightOn</em>: Lights the region or DOM object. If we want to light a DOM object then we have to pass the element ID or the DOM object reference. If we want to illuminate a region then we have to pass the region coordinates and dimensions in this  {left: 100, top: 150, width: 300, height: 300}.</li>
<li><em>lightOff</em>: Hides the overlay.</li>
</ul>
<p><strong>Known Issues</strong><br />
I can&#8217;t see nothing to improve for now, but i am open to hear your feedback.</p>
<p><strong>License</strong><br />
Distributed under MIT License</p>
<p><strong>Download</strong><br />
<a href="http://www.flash-free.org/wp-content/files/e24spotlight/e24spotlight1.0.zip">e24SpotLight 1.0</a> (27 KB, includes the demos)</p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2009/06/08/capta-la-atencion-de-un-objeto-con-e24spotlight-para-mootoolsattract-the-users-attention-using-e24spotlight-for-mootools/feed/</wfw:commentRss>
		</item>
		<item>
		<title>e24BubbleFx - Photo bubble transition effect</title>
		<link>http://www.flash-free.org/en/2009/05/28/e24bubblefx-photo-bubble-transition-effect/</link>
		<comments>http://www.flash-free.org/en/2009/05/28/e24bubblefx-photo-bubble-transition-effect/#comments</comments>
		<pubDate>Thu, 28 May 2009 08:45:32 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Animaciones]]></category>

		<category><![CDATA[Componentes]]></category>

		<category><![CDATA[Efectos]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[animacion]]></category>

		<category><![CDATA[efecto]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[transicion]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/?p=54</guid>
		<description><![CDATA[

Introduction
e24BubbleFx is a plugin for Mootools that makes a transition between two photos. The transition comes in form of a bubble that move around the back picture discovering it.
But better we see it in action with the following demos.
Demos
Demo1: Basic
Demo2: Advanced
Usage
Include Mootools 1.2.2 Core inside the HTML header. Remember that you can generate an optimum [...]]]></description>
			<content:encoded><![CDATA[
<p><img src="http://www.flash-free.org/wp-content/uploads/2009/05/e24bubblefx-eng.jpg" alt="e24BubbleFx - Image transition effect" title="e24BubbleFx - Image transition effect" width="500" height="155" class="alignnone size-full wp-image-77" /><br />
<strong>Introduction</strong><br />
e24BubbleFx is a plugin for Mootools that makes a transition between two photos. The transition comes in form of a bubble that move around the back picture discovering it.<br />
But better we see it in action with the following demos.</p>
<p><strong>Demos</strong><br />
Demo1: <a href="http://www.flash-free.org/wp-content/files/e24bubblefx/basic-demo.html">Basic</a><br />
Demo2: <a href="http://www.flash-free.org/wp-content/files/e24bubblefx/advanced-demo.html">Advanced</a></p>
<p><strong>Usage</strong><br />
Include Mootools 1.2.2 Core inside the HTML header. Remember that you can generate an optimum version of the mootools library selecting only the required components at <a href="http://mootools.net/core">Mootools Core Builder</a>. The required components are  DOMReady, Fx.Transitions, Fx.Tween and all its dependencies. Also include e24BubbleFx library:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p54code37'); return false;">View Code</a> HTLM</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5437"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p54code37"><pre class="htlm" style="font-family:monospace;">&lt;script src=&quot;js/mootools-1.2.2-core-nc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/e24bubblefx-1.0rc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>Now write the necessary HTML code to define the effect container. We will need a container layer (“visor” in this case). This layer will have the image background that will appear while the animation executes. You must take into account that this background image will appear directly in case that javascript is disabled, so that this effect will degrade gracefully.</p>
<p>Then we have to add a very basic CSS rules for the container layer. We just have to define the dimensions and the background image.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p54code38'); return false;">View Code</a> CSS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5438"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p54code38"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#visor</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">1000px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">250px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span>img/back1.jpg<span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Next we have to write the necessary javascript code. We need to pass an options object. The main option is the &#8220;container&#8221; that has to point to the container layer id, “visor” in this case. We will see the rest of the options in detail below.<br />
Finally we have to call the <em>start</em> method with an array of coordinates that will describe the bubble steps.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p54code39'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5439"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code" id="p54code39"><pre class="javascript" style="font-family:monospace;">	<span style="color: #003366; font-weight: bold;">var</span> bubbleFx <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> e24BubbleFx<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
		container<span style="color: #339933;">:</span> <span style="color: #3366CC;">'visor'</span><span style="color: #339933;">,</span>
		width<span style="color: #339933;">:</span> <span style="color: #CC0000;">1000</span><span style="color: #339933;">,</span>
		height<span style="color: #339933;">:</span> <span style="color: #CC0000;">250</span><span style="color: #339933;">,</span>
		initStep<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		img<span style="color: #339933;">:</span> <span style="color: #3366CC;">'img/back2.jpg'</span><span style="color: #339933;">,</span>
		transition<span style="color: #339933;">:</span> <span style="color: #3366CC;">'quad:out'</span><span style="color: #339933;">,</span>
		infinite<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	discoverFx.<span style="color: #660066;">start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">200</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">520</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">350</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">270</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">230</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">250</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">530</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">300</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">700</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Options</strong></p>
<ul>
<li><em>container</em>: The container layer id</li>
<li><em>backImg</em>: The background image, the same that you have to define with a css rule for the container layer</li>
<li><em>frontImg</em>: The front image</li>
<li><em>width</em>: The visor&#8217;s width</li>
<li><em>height</em>: The visor&#8217;s height</li>
<li><em>transition</em>: The effect transition name, like: &#8216;quad-out&#8217;, &#8216;bounce-in&#8217;, &#8216;elastic-in&#8217;, etc.</li>
<li><em>stepDuration</em>: The duration in milliseconds of each step. Note that you can overwrite that value at step level with the <em>start</em> method</li>
<li><em>infinity</em>: (true/false) If is true the animation will repeat infinitely.</li>
<li><em>infiniteDelay</em>: The delay in milliseconds to restart the animation in case that the <em>infinity</em> option be active</li>
<li><em>initStep</em>: {x:0, w:0} The initial setting for the effect, where x is the bubble position and w is the bubble width</li>
</ul>
<p><strong>Events</strong></p>
<ul>
<li><em>onStep</em>: function(index). This event fires at each animation step and gets the step index a the unique param. The first index is zero</li>
<li><em>onComplete</em>: function(). This event fires at the end of the animation. In case of <em>infinity</em> be set to true the event will fires at each cycle</li>
</ul>
<p><strong>Methods</strong></p>
<ul>
<li><em>start</em>: Begin the animation. Recives an array of coordinates a param. You should to take into account that this effect is about a bubble moving that lets discover the back image, then these coordinates define the position and width for the bubble at each step. Also you can define the steps duration for each bubble&#8217;s wall.
<ul>
<li><em>x</em>: the bubble distance from the left side of the container layer</li>
<li><em>w</em>: the bubble&#8217;s width</li>
<li><em>d1</em>: the duration in milliseconds of the bubble&#8217;s left wall</li>
<li><em>d2</em>: the duration in milliseconds of the bubble&#8217;s right wall</li>
</ul>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p54code40'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5440"><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code" id="p54code40"><pre class="javascript" style="font-family:monospace;">	discoverFx.<span style="color: #660066;">start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">200</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">520</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">350</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">270</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">230</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">250</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">530</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>x<span style="color: #339933;">:</span><span style="color: #CC0000;">300</span><span style="color: #339933;">,</span> w<span style="color: #339933;">:</span><span style="color: #CC0000;">700</span><span style="color: #339933;">,</span> d1<span style="color: #339933;">:</span><span style="color: #CC0000;">800</span><span style="color: #339933;">,</span> d2<span style="color: #339933;">:</span><span style="color: #CC0000;">1100</span><span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

</li>
<li><em>safeStart</em>: Similar to <em>start</em> but begins the effect after all the required images are preloaded. NOTE: This method require to include <a href="http://mootools.net/more">mootools-1.2.2.1-more.js</a> with the component <em>Asset</em></li>
<li><em>cancel</em>: Cancels the effect</li>
</ul>
<p><strong>Known Issues</strong></p>
<ul>
<li>Ability to make the transition between more than two images</li>
<li>To make the effect vertical</li>
</ul>
<p><strong>License</strong><br />
Distributed under MIT License</p>
<p><strong>Download</strong><br />
<a href="http://www.flash-free.org/wp-content/files/e24bubblefx/e24bubblefx1.0rc.zip">e24BubbleFx 1.0RC</a> (218 KB, includes the demos)</p>
<p>Remember that the heart of this effect is the bubble&#8217;s step coordinates, so a creative combination of steps can result in a cool effect. I invite you to share your steps combination.</p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2009/05/28/e24bubblefx-photo-bubble-transition-effect/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Monperla.es  – Web totalmente Ajax desarrollada con prototype y scriptaculous</title>
		<link>http://www.flash-free.org/en/2008/08/02/monperlaes-%e2%80%93-web-totalmente-ajax-desarrollada-con-prototype-y-scriptaculous/</link>
		<comments>http://www.flash-free.org/en/2008/08/02/monperlaes-%e2%80%93-web-totalmente-ajax-desarrollada-con-prototype-y-scriptaculous/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 19:31:07 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Ejemplos]]></category>

		<category><![CDATA[Prototype]]></category>

		<category><![CDATA[Scriptaculous]]></category>

		<category><![CDATA[Site Reviews]]></category>

		<category><![CDATA[caso de estudio]]></category>

		<category><![CDATA[e24squares]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/2008/08/02/monperlaes-%e2%80%93-web-totalmente-ajax-desarrollada-con-prototype-y-scriptaculous/</guid>
		<description><![CDATA[
Since we began to post in this blog, we have been offering components and techniques to develop a site using Ajax. Today we are going to put everything together and we see how to get results that some time age was only possible using Flash.
The study case is Monperla, an online shop that sells pearl [...]]]></description>
			<content:encoded><![CDATA[
<p><img src="http://www.flash-free.org/wp-content/uploads/2008/08/monperla21.jpg" alt="Monperla, tienda de artículos de joyería de la perla" align="left" style="border:4px solid white;margin-right:5px;" />Since we began to post in this blog, we have been offering components and techniques to develop a site using Ajax. Today we are going to put everything together and we see how to get results that some time age was only possible using Flash.</p>
<p>The study case is <a href="http://www.monperla.es" target="_blank">Monperla, an online shop that sells pearl jewelry</a>, now we only going to see the main corporate web since the new store is still under development.</p>
<p>If you have read this blog before you will note that the main aspect on this web is our <a href="http://www.flash-free.org/en/2008/05/04/e24squares-efecto-ajax-de-transicion-de-imagenes/">e24Squares Ajax gallery component</a>. This effect have been integrated in a way that each page is related to one image on the gallery and then when you load a new page the related image loads trough the e24Squares effect.</p>
<p>As you see each page loads asynchronically appearing with a fade effect. One important thing on this site is that we have <a href="http://www.flash-free.org/en/2008/04/13/degradar-correctamente-en-ajax/">take care of it to degrade gracefully when javascript is disable</a>, then it going to be indexed by the search engines correctly. To accomplish that we have use the techniques explained in the post where we commented about the <a href="http://www.flash-free.org/en/2008/05/03/degradar-con-prototype-el-evento-ondomready/">onDomReady event</a>.</p>
<p>As we have remarked on previous posts, the ajax web sites use to have problems with the back button, then we have used the <a href="http://www.flash-free.org/en/2008/07/05/history-manager-para-ajax-solucion-al-boton-back/">protoHistoryManager component</a> released some days ago.</p>
<p>This site has other traditional Ajax effects like lighboxes, image rollovers, Font size increaser for accessibility, etc.</p>
<p>I hope this help to all of you that asked for practical examples of our components and tricks. Be free to notify me if you found any problem on the web site and let me know the browser version.</p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/08/02/monperlaes-%e2%80%93-web-totalmente-ajax-desarrollada-con-prototype-y-scriptaculous/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ajaxigg - All the news about the AJAX&#8217;s world</title>
		<link>http://www.flash-free.org/en/2008/07/29/ajaxigg-red-social-sobre-novedades-del-mundo-ajax/</link>
		<comments>http://www.flash-free.org/en/2008/07/29/ajaxigg-red-social-sobre-novedades-del-mundo-ajax/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 15:56:12 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[ajaxigg]]></category>

		<category><![CDATA[red social]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/2008/07/29/ajaxigg-red-social-sobre-novedades-del-mundo-ajax/</guid>
		<description><![CDATA[
equipo24 is glad to announce the release of  Ajaxigg. Ajaxigg is project similar to digg.com and meneame.es where the users can share news, components and resources about the Ajax&#8217;s world. On Ajaxigg the users decide which news are more relevant trough its vote system.
In this moment it is only available in Spanish but will be [...]]]></description>
			<content:encoded><![CDATA[
<p>equipo24 is glad to announce the release of  <a href="http://ajaxigg.flash-free.org">Ajaxigg</a>. Ajaxigg is project similar to <a href="http://digg.com">digg.com</a> and <a href="http://meneame.es">meneame.es</a> where the users can share news, components and resources about the Ajax&#8217;s world. On Ajaxigg the users decide which news are more relevant trough its vote system.</p>
<p>In this moment it is only available in Spanish but will be in English very soon.</p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/07/29/ajaxigg-red-social-sobre-novedades-del-mundo-ajax/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Async ajax calls, the key for the web2.0 search engines</title>
		<link>http://www.flash-free.org/en/2008/07/24/las-llamadas-asyncronicas-de-ajax-la-clave-de-los-buscadores-web20/</link>
		<comments>http://www.flash-free.org/en/2008/07/24/las-llamadas-asyncronicas-de-ajax-la-clave-de-los-buscadores-web20/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 23:17:55 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Ejemplos]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[buscadores]]></category>

		<category><![CDATA[llamadas asyncronicas]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/2008/07/24/las-llamadas-asyncronicas-de-ajax-la-clave-de-los-buscadores-web20/</guid>
		<description><![CDATA[
The Ajax’s main feature is the async call possibility, it lets serve results without interrupt the user experience on the page. This is the main key for today&#8217;s web2.0 search engines.
Here you have some good examples that make our life easy:

Minube - Fly search engine
Shopall
AjaxLookup Domain Whois

If  you want to check what I am [...]]]></description>
			<content:encoded><![CDATA[
<p>The Ajax’s main feature is the async call possibility, it lets serve results without interrupt the user experience on the page. This is the main key for today&#8217;s web2.0 search engines.<br />
Here you have some good examples that make our life easy:</p>
<ul>
<li><a href="http://www.minube.com/ ">Minube - Fly search engine</a></li>
<li><a href="http://www.shopall.es">Shopall</a></li>
<li><a href="http://www.ajaxlookup.com/">AjaxLookup Domain Whois</a></li>
</ul>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/07/24/las-llamadas-asyncronicas-de-ajax-la-clave-de-los-buscadores-web20/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AJAX History Manager, back button fix</title>
		<link>http://www.flash-free.org/en/2008/07/05/history-manager-para-ajax-solucion-al-boton-back/</link>
		<comments>http://www.flash-free.org/en/2008/07/05/history-manager-para-ajax-solucion-al-boton-back/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 17:05:56 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[Prototype]]></category>

		<category><![CDATA[back button]]></category>

		<category><![CDATA[history manager]]></category>

		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/2008/07/05/history-manager-para-ajax-solucion-al-boton-back/</guid>
		<description><![CDATA[
One of the major issues on AJAX web applications is the accesibility and usability lacks. Many users have manies and don¡t undestands about AJAX, they only expects that if they click the back button then it must works as always and get them back to the previous screen.
Digitarald.de have developed a solution HistoryManager - The [...]]]></description>
			<content:encoded><![CDATA[
<p>One of the major issues on AJAX web applications is the accesibility and usability lacks. Many users have manies and don¡t undestands about AJAX, they only expects that if they click the back button then it must works as always and get them back to the previous screen.</p>
<p>Digitarald.de have developed a solution <a href="http://digitarald.de/project/history-manager/" title="HistoryManager - The Ajax Back-Button (v1.0)HistoryManager - The Ajax Back-Button (v1.0)">HistoryManager - The Ajax Back-Button (v1.0)</a> for  <a href="http://mootools.net/" title="Mootools AJAX Library">Mootools </a>  developers. You can test some samples there and also I have implementerd it on my company web <a href="http://www.equipo24.com" title="equipo24 - Desarrollo AJAX Avanzado">www.equipo24.com</a></p>
<p>But I also use to develop using <a href="http://www.prototypejs.org/" title="Prototype Ajax Library">Prototype</a> so I have rewritten that library using Prototype, the usage is very similar to the original library.</p>
<p>Download <a href="http://www.flash-free.org/wp-content/files/prototypehistoryManager/prototype.historyManager.js" title="History Manager for Prototype AJAX Library">prototype.historyManager.js</a></p>
<p>If  you want to check what I am working on now, then follow me at twitter <a href="http://twitter.com/aartiles24">@aartiles24</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/07/05/history-manager-para-ajax-solucion-al-boton-back/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
