<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>AJAX24 - Componentes y Efectos en AJAX, Javascript y DHTML</title>
	<link>http://www.flash-free.org</link>
	<description>por equipo24</description>
	<pubDate>Sat, 02 Aug 2008 19:31:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Monperla.es – Web totally developed using Ajax with prototype and 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>

		<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>
]]></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 - 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[General]]></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>
]]></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&#8217;s calls, the key for 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[General]]></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
p2pFinder - Torrents files and eDonkey links search engine
Shopall
AjaxLookup Domain Whois

]]></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.p2pfinder.com">p2pFinder - Torrents files and eDonkey links 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>
]]></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>History Manager for AJAX. Fix the back button on AJAX</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[Components]]></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>
]]></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>
		<item>
		<title>Validate target attribute XHTML Strict or HTML 4.0 Strict</title>
		<link>http://www.flash-free.org/en/2008/05/17/validar-atributo-target-xhtml-strict-o-html-40-strict/</link>
		<comments>http://www.flash-free.org/en/2008/05/17/validar-atributo-target-xhtml-strict-o-html-40-strict/#comments</comments>
		<pubDate>Sat, 17 May 2008 20:58:11 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Estándares]]></category>

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

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

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

		<guid isPermaLink="false">http://www.flash-free.org/2008/05/17/validar-atributo-target-xhtml-strict-o-html-40-strict/</guid>
		<description><![CDATA[For the standards lovers here we have a trick to simulate the “target” attribute behavior without break HTML 4.0 Strict o XHTML 1.0 Strict standards.
We will use the  “rel”attribute with the ”external” value that validates correctly with the above standards. We will make an script that will look for all “&#60;a&#62;” elements with “rel” [...]]]></description>
			<content:encoded><![CDATA[<p>For the standards lovers here we have a trick to simulate the “target” attribute behavior without break HTML 4.0 Strict o XHTML 1.0 Strict standards.</p>
<p>We will use the  “rel”attribute with the ”external” value that validates correctly with the above standards. We will make an script that will look for all “&lt;a&gt;” elements with “rel” attribute equals to “external” and then will assign a new “onclick” event to it that open in a new window the URL stored on the “href” attribute .</p>
<p><pre class="chili-all"><code class="html">&lt;a href=&quot;http://www.equipo24.com&quot; rel=&quot;external&quot;&gt;Nice site developed with mootools&lt;/a&gt;</code></pre></p>
<p>Here we have the javascript for Mootools and another general solution without need of externals libraries.</p>
<p><strong>Mootools</strong></p>
<p><pre class="chili-all"><code class="javascript">function fix_external_links() {
	$ES('a').each(function(el) {
		if (el.getProperty('rel') == 'external') {
			el.addEvent('click', function(e) {
				e = new Event(e);
				e.stop();	
				window.open(this.getProperty('href'));
			}.bind(el));
		}	
	});
}

window.addEvent('domready', function() { 
	fix_external_links();
});</code></pre></p>
<p><strong>Without external libraries</strong><br />
<pre class="chili-all"><code class="javascript">function fix_external_links() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName(&quot;a&quot;);
	for (var i = 0; i &lt; anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute(&quot;rel&quot;) &amp;&amp; anchor.getAttribute(&quot;rel&quot;) == &quot;external&quot;) {
			anchor.target = &quot;_blank&quot;;
		} 
	}
}
window.onload = fix_external_links;</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/05/17/validar-atributo-target-xhtml-strict-o-html-40-strict/feed/</wfw:commentRss>
		</item>
		<item>
		<title>e24Squares - AJAX Pictures transition effect</title>
		<link>http://www.flash-free.org/en/2008/05/04/e24squares-efecto-ajax-de-transicion-de-imagenes/</link>
		<comments>http://www.flash-free.org/en/2008/05/04/e24squares-efecto-ajax-de-transicion-de-imagenes/#comments</comments>
		<pubDate>Sun, 04 May 2008 17:49:31 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[Galería]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.flash-free.org/2008/05/04/e24squares-efecto-ajax-de-transicion-de-imagenes/</guid>
		<description><![CDATA[Intro
e24Squares is an extension written for scriptaculous  to make transitions between images with an original effect. This effect randomly generates squares that appear on different positions on the current image while the next image appears behind with a fade effect. The extension can be used as photo gallery, as slideshow, or as decorative animation [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Intro</strong></p>
<p><img src="http://www.flash-free.org/wp-content/uploads/2008/05/e2squares.jpg" alt="e24Squares - Galeria de fotos" align="left" hspace="5" vspace="5" />e24Squares is an extension written for <a href="http://script.aculo.us/" target="_blank">scriptaculous</a> <span></span> to make transitions between images with an original effect. This effect randomly generates squares that appear on different positions on the current image while the next image appears behind with a fade effect. The extension can be used as photo gallery, as slideshow, or as decorative animation in our web page.</p>
<p class="MsoNormal"><strong>Demos</strong></p>
<ul>
<li>
<a href="http://www.flash-free.org/wp-content/files/e24squares/index2.html" class="lightwindow page-options" params="lightwindow_type=external" title="Manual Transitions" caption="Manual Transitions with javascript">Manual Transitions</a>
</li>
<li>
<a href="http://www.flash-free.org/wp-content/files/e24squares/index.html" class="lightwindow page-options" params="lightwindow_type=external" title="Slideshow" caption="Javascript Slideshow">Slideshow</a>
</li>
</ul>
<p class="MsoNormal"><o:p> </o:p><strong>Usage</strong></p>
<p class="MsoNormal">Include <a href="http://www.prototypejs.org/" title="Prototype" target="_blank">Prototype 1.6.0.2</a> and <a href="http://script.aculo.us/" target="_blank" title="scriptaculous">Scriptaculous 1.8.1</a> in the HTML code header. Also include e24Squares after both:</p>
<p><pre class="chili-all"><code class="javascript">&lt;script type='text/javascript' src='js/prototype.js'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='js/scriptaculous.js?load=effects'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='js/e24squares.js'&gt;&lt;/script&gt;</code></pre></p>
<p class="MsoNormal">Next, write the necessary HTML code to define the gallery. We will need a container layer (&#8221;visor&#8221; on the example) and inside the container we will have an image for the first image in the gallery. Example below:</p>
<p><pre class="chili-all"><code class="html">&lt;!--e24Squares container --&gt;
&lt;div id=&quot;visor&quot; &gt;
	&lt;img src=&quot;img/liberty.jpg&quot; alt=&quot;imagen 1&quot; /&gt;
&lt;/div&gt;
&lt;!-- End of e24Squares container --&gt;</code></pre></p>
<p>Finally, we write the necessary javascript code. As first param we will provide the container layer id (&#8221;visor&#8221;), and as second param an images filenames array and as the last one an option&#8217;s array.<script><!-- D(["mb","\u003cbr\u003e\u003cbr\u003eoe24Writer \u003d new e24Writer( \u0026#39;letters\u0026#39;, { autostart: true, duration: 1.0, interval: 0.3 });\u003cbr\u003e\n\u003cbr\u003eOptions\u003cbr\u003e\u003cbr\u003e    * autostart: Boolean, if set to \u0026quot;true\u0026quot; the animation starts automatically, if set to \u0026quot;false\u0026quot; then we will need to call start() method to initialize the animation. Default value: false\u003cbr\u003e    * duration: Decimal, representing the time in seconds that each element transition will take. Default value: 1.0\u003cbr\u003e\n    * interval: Decimal, representing the time in seconds that will take between each element transition. Default value: 0.3\u003cbr\u003e    * callback: callback function that will be called once the animation is complete. It is useful to concatenate animations\u003cbr\u003e\n\u003cbr\u003eMethods\u003cbr\u003e\u003cbr\u003e    * start: No params needed. Initialize the animation if the effect object was created with the autostart option set to false.\u003cbr\u003e\u003cbr\u003eKnown Issues\u003cbr\u003e\u003cbr\u003e    * Add more direction options, like right-left.\u003cbr\u003e\n    * Ability to restart the animation.\u003cbr\u003e\u003cbr\u003eDownload\u003cbr\u003e\u003cbr\u003ee24Writer 0.4.1 beta (71.33 KB)\u003cbr\u003e",1] );  //--></script></p>
<p><pre class="chili-all"><code class="javascript">oe24Squares = new e24Squares( 'visor', 
			    [ 'liberty.jpg', 'newyork2.jpg', 'mexico.jpg', 'newyork.jpg' ],
				{ 
					base: 'img/', 
					width: 640, 
					height: 300, 
					rows: 3, 
					cols: 5, 
					hideonfinish: true, 
					autostart: true, 
					duration: 1.0, 
					interval: 1.0 
				}
			);</code></pre></p>
<p class="MsoNormal"><strong>Options</strong></p>
<ul>
<li><span></span><em>base</em>: Relative path to the image directory. Default is the same directory as the web page</li>
<li><span> </span><em>width</em>: Width in pixels for the gallery visor.</li>
<li><span> </span><em>height</em>: Height  in pixels for the gallery visor.</li>
<li><span> </span><em>rows</em>: Rows quantity in which the effect will divide the visor to form the random squares. Default value: 3</li>
<li><span> </span><em>cols</em>: Columns quantity in which the effect will divide the visor to form the random squares. Default value:5</li>
<li><span> </span><em>duration</em>: Decimal, representing the time in seconds that each transition between the current image and the next one will take. Default value: 1.0</li>
<li><span> </span><em>interval</em>: Decimal, representing the time in seconds that will take to begin the next image transition. Default value: 0.3</li>
<li><span></span><em>color</em>: Represents the random squares color. Default value: #ffffff</li>
<li><em>autostart</em>: Boolean, if set to &#8220;true&#8221; the animation starts automatically, if set to &#8220;false&#8221; then we will need to call start() method to initiate the animation or to call the <em>transition()</em> method to go to an specific image. Default value: &#8220;false&#8221;</li>
<li><em>hideonfinish</em>: Boolean, if set to &#8220;true&#8221; then the visor will be hidden after showed the last photo, else the last photo will keep visible. Valor por defecto: false</li>
<li><span></span><em>callback</em>: callback function that will be processed once the animation is complete.  It is useful to concatenate animations.</li>
</ul>
<p class="MsoNormal"><strong>Methods</strong></p>
<ul>
<li><span></span><em>start</em>: No params needed. Initiates the slideshow if the effect object was created with the autostart option set to &#8220;false&#8221;.</li>
<li><span></span><em>transition((int)index, (function)pCallback)</em>: <span>The first param is the picture index to show(the first is zero)</span>, the second param is a callback function that will be called once finished the transition.</li>
</ul>
<p><pre class="chili-all"><code class="javascript">oe24Squares.transition(2);</code></pre></p>
<p class="MsoNormal"><strong>Known Issues</strong></p>
<ul>
<li><span></span>Ability to make the slideshow to play infinitely.</li>
</ul>
<p class="MsoNormal"><strong>Download</strong></p>
<p class="MsoNormal"><a href="http://www.flash-free.org/wp-content/files/e24squares/e24squares.zip">e24Squares 0.2 beta</a> (218 KB, including the demos)</p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/05/04/e24squares-efecto-ajax-de-transicion-de-imagenes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gracefully degrade with Prototype.  The onDomReady event</title>
		<link>http://www.flash-free.org/en/2008/05/03/degradar-con-prototype-el-evento-ondomready/</link>
		<comments>http://www.flash-free.org/en/2008/05/03/degradar-con-prototype-el-evento-ondomready/#comments</comments>
		<pubDate>Fri, 02 May 2008 23:18:04 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<category><![CDATA[gracefully degrade]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/2008/05/03/degradar-con-prototype-el-evento-ondomready/</guid>
		<description><![CDATA[Following up on the previous post, we saw how important is to take care about our AJAX scripts to degrade gracefully. Today we will see how to do it in the practice using  prototype.
We will take as example the e24Writer described on previous posts. The e24Writer gradually display a group of elements using a [...]]]></description>
			<content:encoded><![CDATA[<p>Following up on the <a href="http://www.flash-free.org/en/2008/04/13/degradar-correctamente-en-ajax/">previous post</a>, we saw how important is to take care about our AJAX scripts to degrade gracefully. Today we will see how to do it in the practice using  <a href="http://www.prototypejs.org">prototype</a>.</p>
<p class="MsoNormal">We will take as example the <a href="http://www.flash-free.org/2008/03/20/e24writer-efecto-de-aparicion-progresiva/" title="e24Writer">e24Writer</a> described on previous posts. The e24Writer gradually display a group of elements using a chained opacity transition, for that reason we need that those elements be hidden before the event run. <span></span>For example if we going to animate the text “AJAX”, in the way that appear letter-by-letter. If we initially hide that text using the CSS <em>display</em> property setting it to <em>none</em>, then if due to any of the reasons described on the <a href="http://www.flash-free.org/en/2008/04/13/degradar-correctamente-en-ajax/">last post</a> we don&#8217;t have javascript then the web won&#8217;t degrade gracefully because the text “AJAX” never will appear.</p>
<p class="MsoNormal">But if we initially leave the text visible then we will need to hide it before the page renders, to accomplish this we need an event that fires when we have total access to the DOM and before the page renders. That event is the “domReady”.</p>
<p class="MsoNormal">Some AJAX libraries like <a href="http://mootools.net/" title="Mootools">Mootools</a>, <a href="http://developer.yahoo.com/yui/">YUI</a> o <a href="http://extjs.com/">ExtJs</a> natively have the &#8220;domReady&#8221;event, <a href="http://www.prototypejs.org">Prototype</a> don&#8217;t.<span> But if we look on</span> Google by the term “prototype domReady” then we will find some extensions <a href="http://clientside.cnet.com/code-snippets/event-scripting/a-dom-ready-extension-for-prototype/">like this one</a> <span> </span></p>
<p><pre class="chili-all"><code class="javascript">Event.onDOMReady(function() {
  $('text').hide();
  oe24Writer = new e24Writer( 'text', { autostart: true, duration: 1.0, interval: 0.3 });
});</code></pre></p>
<p class="MsoNormal">In this way the text can be read even when the javascript is disabled.</p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/05/03/degradar-con-prototype-el-evento-ondomready/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gracefully Degrade with AJAX</title>
		<link>http://www.flash-free.org/en/2008/04/13/degradar-correctamente-en-ajax/</link>
		<comments>http://www.flash-free.org/en/2008/04/13/degradar-correctamente-en-ajax/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 03:21:27 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<category><![CDATA[gracefully degrade]]></category>

		<guid isPermaLink="false">http://www.flash-free.org/2008/04/13/degradar-correctamente-en-ajax/</guid>
		<description><![CDATA[
With each new browser’s version we found new programming features that let us make more advanced AJAX effects. Even when most of these improvements are present at the major browsers that are more standard every day, there are always many reasons to found different users configurations:

Users that keep using old browser’s versions.
Users that use less [...]]]></description>
			<content:encoded><![CDATA[</p>
<p class="MsoNormal"><span lang="EN-US">With each new browser’s version we found new programming features that let us make more advanced AJAX effects. Even when most of these improvements are present at the major browsers that are more standard every day, there are always many reasons to found different users configurations:</span></p>
<ul>
<li><span lang="EN-US"></span><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal"></span></span></span><!--[endif]--><span lang="EN-US">Users that keep using old browser’s versions.</span></li>
<li><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span></span></span><span lang="EN-US">Users that use less popular and less standard browsers.<o:p></o:p></span></li>
<li><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span></span></span><span lang="EN-US">User that disable javascript or make other restrictions for security reasons.<o:p></o:p></span></li>
<li><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span></span></span><span lang="EN-US">Search engine’s spiders that do not use to parse javascript and then some texts can leave hidden.<o:p></o:p></span></li>
<li><!--[if !supportLists]--><span style="font-family: Symbol" lang="EN-US"><span></span></span><span lang="EN-US">Users with accessibility limitations that use other ways to read the pages.<o:p></o:p></span></li>
</ul>
<p class="MsoNormal"><span lang="EN-US">In order to reach all these users we need that those pages that use javascript to make advanced AJAX effects gracefully degrade, that means that the page must be able to work even when javascript or another special features are disabled.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In the next post we will see a real case and how to solve it using Prototype.<o:p></o:p></span></p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/04/13/degradar-correctamente-en-ajax/feed/</wfw:commentRss>
		</item>
		<item>
		<title>e24TabMenu – AJAX Dropdown Tab Menu</title>
		<link>http://www.flash-free.org/en/2008/04/05/e24tabmenu-%e2%80%93-menu-desplegable-ajax/</link>
		<comments>http://www.flash-free.org/en/2008/04/05/e24tabmenu-%e2%80%93-menu-desplegable-ajax/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 01:14:43 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<category><![CDATA[Menú]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.flash-free.org/2008/04/05/e24tabmenu-%e2%80%93-menu-desplegable-ajax/</guid>
		<description><![CDATA[Introdution
e24TabMenu is a plugin written for scriptaculous. It is a tab menu that expands collapse smoothly.
Demos

All tabs hidden

One tab expanded

Usage
Include Prototype 1.6.0.2 and Scriptaculous 1.8.1 in the HTML code header. Also include e24TabMenu after both:
&#60;script type='text/javascript' src='js/prototype.js'&#62;&#60;/script&#62;
&#60;script type='text/javascript' src='/js/scriptaculous.js?load=effects'&#62;&#60;/script&#62;
&#60;script type='text/javascript' src='js/e24tabmenu.js'&#62;&#60;/script&#62;
Next, write the necesary HTML code to define de menu. We will need a container [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introdution</strong></p>
<p>e24TabMenu is a plugin written for <a href="http://script.aculo.us/" target="_blank">scriptaculous</a>. It is a tab menu that expands collapse smoothly.</p>
<p><strong>Demos</strong></p>
<ul>
<li><a href="http://www.flash-free.org/wp-content/files/e24tabmenu/index.html" class="lightwindow page-options" params="lightwindow_type=external" title="All tabs hidden" caption="Drop down ajax tab menu demo">All tabs hidden</a>
</li>
<li><a href="http://www.flash-free.org/wp-content/files/e24tabmenu/index2.html" class="lightwindow page-options" params="lightwindow_type=external" title="One tab expanded" caption="Drop down ajax tab menu demo">One tab expanded</a></li>
</ul>
<p><strong>Usage</strong></p>
<p>Include <a href="http://www.prototypejs.org/" target="_blank">Prototype 1.6.0.2</a> and <a href="http://script.aculo.us/" target="_blank">Scriptaculous 1.8.1</a> in the HTML code header. Also include e24TabMenu after both:</p>
<p><pre class="chili-all"><code class="javascript">&lt;script type='text/javascript' src='js/prototype.js'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='/js/scriptaculous.js?load=effects'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='js/e24tabmenu.js'&gt;&lt;/script&gt;</code></pre></p>
<p>Next, write the necesary HTML code to define de menu. We will need a container layer (“menu” on the example) and inside the container we will have a layer for each menu item where we will add its content. After that, add links (html tag “A”) for each menu&#8217;s tab, the “rel” attribute value must be <em>e24menuitem[layer_id]</em> <em>where layer_id</em> is the id of the content layer (on the example “ítem_3d”, “ítem_gall”, “ítem_menu”, “ítem_efec”). Bellow the links we can add contents that will show when all tabs are collapsed.</p>
<p><pre class="chili-all"><code class="javascript">&lt;div id=&quot;menu&quot; &gt;&lt;!---menu container--&gt; 
  &lt;div id=&quot;item_3d&quot; class=&quot;menutarget&quot;&gt; 
    Contenido
  &lt;/div&gt; 
 
  &lt;div id=&quot;item_gall&quot; class=&quot;menutarget&quot;&gt; 
    Contenido
  &lt;/div&gt; 
 
  &lt;div id=&quot;item_menu&quot; class=&quot;menutarget&quot;&gt; 
    Contenido
  &lt;/div&gt; 
 
  &lt;div id=&quot;item_efec&quot; class=&quot;menutarget&quot;&gt; 
    Contenido
  &lt;/div&gt; 
 
  &lt;!---tabs del menu--&gt; 
  &lt;a id=&quot;3d&quot; href=&quot;#3d&quot; rel=&quot;e24menuitem[item_3d]&quot;&gt;&lt;img src=&quot;img/3d.gif&quot; alt=&quot;Efectos 3D&quot; /&gt;&lt;/a&gt; 
  &lt;a id=&quot;gall&quot; href=&quot;#galerias&quot; rel=&quot;e24menuitem[item_gall]&quot;&gt;&lt;img src=&quot;img/galerias.gif&quot; alt=&quot;Galeria de fotos AJAX&quot; /&gt;&lt;/a&gt; 
  &lt;a id=&quot;menus&quot; href=&quot;#menus&quot; rel=&quot;e24menuitem[item_menu]&quot; &gt;&lt;img src=&quot;img/menus.gif&quot; alt=&quot;Efectos de Menus&quot; /&gt;&lt;/a&gt; 
  &lt;a id=&quot;efec&quot; href=&quot;#efectos&quot; rel=&quot;e24menuitem[item_efec]&quot;&gt;&lt;img src=&quot;img/efectos.gif&quot; alt=&quot;Otros efectos ajax&quot; /&gt;&lt;/a&gt; 
  &lt;!---tabs del menu--&gt; 
 
  &lt;div id=&quot;maincontent&quot;&gt; 
    Contenido principal 
  &lt;/div&gt;&lt;!--texto--&gt; 
&lt;/div&gt;&lt;!--menu container--&gt;</code></pre></p>
<p>Finally we write the necesary javascript code to define the menu. As first param we will pass the container layer id , and as second param an option&#8217;s array.</p>
<p><pre class="chili-all"><code class="javascript">oe24TabMenu = new e24TabMenu( 'menu', { duration: 1.0, transition: Effect.Transitions.sinoidal } );</code></pre></p>
<p><strong>Options</strong></p>
<ul>
<li><em>duration</em>: Decimal, representing the time in seconds that will take the menu item movement. Default value: 1.0</li>
<li><em>transition</em>: Function that modifies each animation&#8217;s point: Effect.Transitions.sinoidal (default), Effect.Transitions.linear, Effect.Transitions.reverse, Effect.Transitions.wobble, Effect.Transitions.flicker</li>
<li><em>callback</em>: callback function that will be processed once the animation is complete.  It is useful to concatenate animations.</li>
</ul>
<p><strong>Methods</strong></p>
<ul>
<li><em>toggleMenu</em>: Toggles the tab. Requieres the object reference of the corresponding link.<pre class="chili-all"><code class="javascript">oe24TabMenu.toggleMenu($('3d'));</code></pre></li>
</ul>
<p><strong>Known Issues</strong></p>
<ul>
<li> Add more directions like, down-top, letf-right, right-left.</li>
</ul>
<p><strong>Download</strong></p>
<p><a href="http://www.flash-free.org/wp-content/files/e24tabmenu/e24tabmenu.zip">e24TabMenu 0.8 beta</a> (176 KB)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/04/05/e24tabmenu-%e2%80%93-menu-desplegable-ajax/feed/</wfw:commentRss>
		</item>
		<item>
		<title>e24Writer - Timeline Fade Effect</title>
		<link>http://www.flash-free.org/en/2008/03/20/e24writer-efecto-de-aparicion-progresiva/</link>
		<comments>http://www.flash-free.org/en/2008/03/20/e24writer-efecto-de-aparicion-progresiva/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 18:59:38 +0000</pubDate>
		<dc:creator>aartiles</dc:creator>
		
		<category><![CDATA[General]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://dev.equipo24.com/blog/?p=3</guid>
		<description><![CDATA[Intro
e24Writer is a plugin written for  scriptaculous to gradually display a group of elements using a chained opacity transition. The elements can be either images, HTML or text.
Demos


Animating Images

Animating a Text


Usage
Include Prototype 1.6.0.2 and Scriptaculous 1.8.1 in the HTML code header. Also include e24Writer after both.
&#60;script type='text/javascript' src='js/prototype.js'&#62;&#60;/script&#62;
&#60;script type='text/javascript' src='/js/scriptaculous.js?load=effects'&#62;&#60;/script&#62;
&#60;script type='text/javascript' src='js/e24writer.js'&#62;&#60;/script&#62;
For example, if [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Intro</strong></p>
<p>e24Writer is a plugin written for  <a href="http://script.aculo.us/" title="scriptaculous" target="_blank">scriptaculous</a> to gradually display a group of elements using a chained opacity transition. The elements can be either images, HTML or text.</p>
<p><strong>Demos</strong></p>
<ul>
<li>
<a href="http://www.flash-free.org/wp-content/files/e24Writer/images.html" class="lightwindow page-options" params="lightwindow_type=external" title="Animating Images" caption="Animating images with javascript">Animating Images</a></p>
<li>
<a href="http://www.flash-free.org/wp-content/files/e24Writer/texto.html" class="lightwindow page-options" params="lightwindow_type=external" title="Animating a Text" caption="Animating a Text with javascript">Animating a Text</a>
</li>
</ul>
<p><strong>Usage</strong></p>
<p>Include <a href="http://www.prototypejs.org/" title="Prototype" target="_blank">Prototype 1.6.0.2</a> and <a href="http://script.aculo.us/" target="_blank" title="scriptaculous">Scriptaculous 1.8.1</a> in the HTML code header. Also include e24Writer after both.</p>
<p><pre class="chili-all"><code class="html">&lt;script type='text/javascript' src='js/prototype.js'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='/js/scriptaculous.js?load=effects'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='js/e24writer.js'&gt;&lt;/script&gt;</code></pre></p>
<p>For example, if we have text that we want to appear gradually letter-by-letter. First, we need to split the text into individual letters. If the text is a whole image then we need to split it in an image per letter basis.</p>
<p>Next, write the necessary HTML code to define the animation. We will need a container layer (&#8221;letters&#8221; on the example) and inside the container we will have a layer for each element.  There is one layer per letter. Example below:<pre class="chili-all"><code class="html">&lt;div id=&quot;letters&quot; &gt;
		&lt;div class=&quot;letter&quot;&gt;&lt;img src=&quot;img/letter1.jpg&quot; alt=&quot;letra1&quot; /&gt;&lt;/div&gt;
		&lt;div class=&quot;letter&quot;&gt;&lt;img src=&quot;img/letter2.jpg&quot; alt=&quot;letra2&quot; /&gt;&lt;/div&gt;
		&lt;div class=&quot;letter&quot;&gt;&lt;img src=&quot;img/letter3.jpg&quot; alt=&quot;letra3&quot; /&gt;&lt;/div&gt;
		&lt;div class=&quot;letter&quot;&gt;&lt;img src=&quot;img/letter4.jpg&quot; alt=&quot;letra4&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;</code></pre></p>
<p>Finally, we write the necessary javascript code. As first param we will provide the container layer id, and as second param an option&#8217;s array.<script><!-- D(["mb","\u003cbr\u003e\u003cbr\u003eoe24Writer \u003d new e24Writer( \u0026#39;letters\u0026#39;, { autostart: true, duration: 1.0, interval: 0.3 });\u003cbr\u003e\n\u003cbr\u003eOptions\u003cbr\u003e\u003cbr\u003e    * autostart: Boolean, if set to \u0026quot;true\u0026quot; the animation starts automatically, if set to \u0026quot;false\u0026quot; then we will need to call start() method to initialize the animation. Default value: false\u003cbr\u003e    * duration: Decimal, representing the time in seconds that each element transition will take. Default value: 1.0\u003cbr\u003e\n    * interval: Decimal, representing the time in seconds that will take between each element transition. Default value: 0.3\u003cbr\u003e    * callback: callback function that will be called once the animation is complete. It is useful to concatenate animations\u003cbr\u003e\n\u003cbr\u003eMethods\u003cbr\u003e\u003cbr\u003e    * start: No params needed. Initialize the animation if the effect object was created with the autostart option set to false.\u003cbr\u003e\u003cbr\u003eKnown Issues\u003cbr\u003e\u003cbr\u003e    * Add more direction options, like right-left.\u003cbr\u003e\n    * Ability to restart the animation.\u003cbr\u003e\u003cbr\u003eDownload\u003cbr\u003e\u003cbr\u003ee24Writer 0.4.1 beta (71.33 KB)\u003cbr\u003e",1] );  //--></script></p>
<p><pre class="chili-all"><code class="javascript">oe24Writer = new e24Writer( 'letters', { autostart: true, duration: 1.0, interval: 0.3 });</code></pre></p>
<p><strong>Options </strong></p>
<ul>
<li><em>autostart</em>: Boolean, if set to &#8220;true&#8221; the animation starts automatically, if set to &#8220;false&#8221; then we will need to call start() method to initiate the animation. Default value: &#8220;false&#8221;</li>
<li><em>duration</em>: Decimal, representing the time in seconds that each element transition will take. Default value: 1.0</li>
<li><em>interval</em>: Decimal, representing the time in seconds that will take between each element transition. Default value: 0.3</li>
<li><em>callback</em>: callback function that will be processed once the animation is complete.  It is useful to concatenate animations.</li>
</ul>
<p><strong>Methods</strong></p>
<ul>
<li><em>start</em>:  No params needed. Initiates the animation if effect object was created with the autostart option set to &#8220;false&#8221;.</li>
</ul>
<p><strong>Known Issues</strong></p>
<ul>
<li> Add more direction, like right-left.</li>
<li>Ability to restart the animation.</li>
</ul>
<p><strong>Download</strong></p>
<p><a href="http://www.flash-free.org/wp-content/files/e24Writer/e24writer.zip">e24Writer 0.4.1 beta</a> (71.33 KB)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flash-free.org/en/2008/03/20/e24writer-efecto-de-aparicion-progresiva/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
