<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dakoo &#187; mootools</title>
	<atom:link href="http://www.dakoo.cl/tag/mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dakoo.cl</link>
	<description>¿Te gusta la web?</description>
	<lastBuildDate>Mon, 07 Jun 2010 13:40:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Container para marcas de google maps</title>
		<link>http://www.dakoo.cl/container-para-marcas-de-google-maps/</link>
		<comments>http://www.dakoo.cl/container-para-marcas-de-google-maps/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 01:59:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Utilidades]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://www.dakoo.cl/?p=123</guid>
		<description><![CDATA[Este post es debido a un enojo que tuve una véz. Me gusta mucho la orientación a objetos y estaba utilizando la api de google maps. El problema surgía al momento de tener un container con todos los marcadores que tenía en el mapa( en el cliente claro está) y despues de darme cuenta que [...]]]></description>
			<content:encoded><![CDATA[<p>Este post es debido a un enojo que tuve una véz. Me gusta mucho la orientación a objetos y estaba utilizando la <a href="http://code.google.com/intl/es-ES/apis/maps/">api de google maps</a>. El problema surgía al momento de tener un container con todos los marcadores que tenía en el mapa( en el cliente claro está) y despues de darme cuenta que lo que se suponía era la solución de <a href="http://code.google.com/intl/es-ES/apis/maps/documentation/reference.html#GMarkerManager">google estaba deprecada</a>, decidí ir por mi cuenta y crear una pequeña clase. Es algo super sencillo y que se vale de la clase <a href="http://mootools.net/docs/core/Native/Hash">Hash de Mootools</a> y tiene como único objetivo tener algo más ordenado.<br />
Aquí va el código</p>
<p>LA CLASE</p>
<div class="igBar"><span id="ljavascript-3"><a href="#" onclick="javascript:showPlainTxt('javascript-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-3">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">function</span> containerMarcas<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span> = <span style="color: #003366; font-weight: bold;">new</span> Hash<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">add</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>key,marca<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">include</span><span style="color: #66cc66;">&#40;</span>key,marca<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">rm</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>key<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">erase</span><span style="color: #66cc66;">&#40;</span>key<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">getLen</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">getLength</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">setNombreMarca</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>key,nombre<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> mar = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">get</span><span style="color: #66cc66;">&#40;</span>key<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; mar.<span style="color: #006600;">setNombre</span><span style="color: #66cc66;">&#40;</span>nombre<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">set</span><span style="color: #66cc66;">&#40;</span>key,mar<span style="color: #66cc66;">&#41;</span>;&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">setDescripcionMarca</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>key,des<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> mar = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">get</span><span style="color: #66cc66;">&#40;</span>key<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; mar.<span style="color: #006600;">setDescripcion</span><span style="color: #66cc66;">&#40;</span>des<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">cont</span>.<span style="color: #006600;">set</span><span style="color: #66cc66;">&#40;</span>key,mar<span style="color: #66cc66;">&#41;</span>;&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>&nbsp; &nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Un ejemplo de uso</p>
<div class="igBar"><span id="ljavascript-4"><a href="#" onclick="javascript:showPlainTxt('javascript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-4">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">var</span> container = <span style="color: #003366; font-weight: bold;">new</span> containerMarcas<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">container.<span style="color: #006600;">add</span><span style="color: #66cc66;">&#40;</span>k,m<span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dakoo.cl/container-para-marcas-de-google-maps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Shell de Mootools</title>
		<link>http://www.dakoo.cl/shell-de-mootools/</link>
		<comments>http://www.dakoo.cl/shell-de-mootools/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 00:49:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.dakoo.cl/?p=98</guid>
		<description><![CDATA[Hoy Mootools nuevamente me ha sorprendido, debo reconocer que tengo un cierto "amor" por este framework . Estoy hablando de una shell que te permite ir probando tus scripts antes de subirlos o solamente para testear. Si quieres probar esta maravilla entra aquí saludos tuto]]></description>
			<content:encoded><![CDATA[<p>Hoy <a href="http://mootools.net">Mootools </a>nuevamente me ha sorprendido, debo reconocer que tengo un cierto "amor" por este framework <img src='http://www.dakoo.cl/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . Estoy hablando de una shell que te permite ir probando tus scripts antes de subirlos o solamente para testear.<br />
Si quieres probar esta maravilla entra <a href="http://mootools.net/shell/">aquí</a></p>
<p>saludos tuto</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dakoo.cl/shell-de-mootools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mootools Highlight, bueno, bonito y barato</title>
		<link>http://www.dakoo.cl/mootools-highlight-bueno-bonito-y-barato/</link>
		<comments>http://www.dakoo.cl/mootools-highlight-bueno-bonito-y-barato/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 03:11:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[highlitght]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://dakoo.cl/?p=10</guid>
		<description><![CDATA[Una funcionalidad de mootools bastante bonita es el Hightlight. Su objetivo es producir un parpadeo en un objeto de la pagina, entiendase por parpadeo como un cambio de color por un tiempo corto. El color por defecto que trae es un amarillo claro, pero trae la opcion que se puedan setear los 2 colores entre [...]]]></description>
			<content:encoded><![CDATA[<p>Una funcionalidad de mootools bastante bonita es el <a href="http://mootools.net/docs/core/Fx/Fx.Tween#Element:highlight">Hightlight</a>. Su objetivo es producir un parpadeo en un objeto de la pagina, entiendase por parpadeo como un cambio de color por un tiempo corto. El color por defecto que trae es un amarillo claro, pero trae la opcion que se puedan setear los 2 colores entre los cuales se producirá el cambio.<br />
En este ejemplo pueden ver 3 casos, uno donde se muestra el valor por defecto, otro donde se cambia entre dos colores dados por el usuario y el último un efecto que se genera con muy poco código y un poco de imaginacion<br />
Para ver los ejemplos en funcionamiento <a href="http://dakoo.cl/ejemplos/highlight/highlight.html">entra aca</a><br />
El código del primer ejemplo es este</p>
<pre lang="javascript" line="1">
   $('primero').addEvent('click', function(){
      $('primero').highlight();
  });
</pre>
<p>El del segundo</p>
<pre lang="javascript" line="1">
$('segundo').addEvent('click', function(){
$('segundo').highlight('#f00','#000');
});
</pre>
<p>Mientras que el último es</p>
<pre lang="javascript" line="1">
$$('.item').each(function(item, index){
item.addEvent('mouseover', function(){
item.highlight('#f00','#000');
});
});
</pre>
<p>Como ven el código que se escribe es mínimo para un efecto bastante llamativo</p>
<p>Si quieren ver el codigo completo <a href="http://dakoo.cl/ejemplos/highlight/highlight.rar">descarguenlo de aquí</a></p>
<p>Saludos tuto</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dakoo.cl/mootools-highlight-bueno-bonito-y-barato/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->