<?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>xploit29 - Tecnología al alcance de tus manos &#187; JavaScript</title>
	<atom:link href="http://www.xploit29.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xploit29.com</link>
	<description>Bienvenidos a xploit29, un blog de lo ultimo de la informacion acerca de tecnologia, web 2.0, usabilidad web y más.</description>
	<lastBuildDate>Sat, 24 Dec 2011 22:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Galer&#237;a de fotos o contenido en jQuery</title>
		<link>http://www.xploit29.com/2011/10/galera-de-fotos-o-contenido-en-jquery/</link>
		<comments>http://www.xploit29.com/2011/10/galera-de-fotos-o-contenido-en-jquery/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 17:43:08 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Galería]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Nav]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Slice]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2011/10/galera-de-fotos-o-contenido-en-jquery/</guid>
		<description><![CDATA[<img width="120" height="56" src="http://www.xploit29.com/wp-content/uploads/2011/10/galeria-1-120x56.png" class="attachment-post-thumb" alt="galeria-1.png" title="galeria-1.png" />Hace unos días buscaba un script en JavaScript que me permita hacer circular contenido de manera eficaz y tras no encontrar algo realmente sencillo, decidí crear yo mismo un script que me permita solucionar ese problema. Su funcionamiento es muy básico, el script está listo para ser usado y no solo sirve para el desplazamiento de fotos, sino para el desplazamiento de cualquier tipo de contenido. Lo he creado haciendo uso de jQuery por ser una excelente librería de Javascript ... <div class="read-more"><a href="http://www.xploit29.com/2011/10/galera-de-fotos-o-contenido-en-jquery/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="galeria-1" border="0" alt="galeria-1" src="http://www.xploit29.com/wp-content/uploads/2011/10/galeria-1.png" width="571" height="271" /></p>
<p align="justify">Hace unos días buscaba un <strong>script en JavaScript </strong>que me permita hacer circular contenido de manera eficaz y tras no encontrar algo <strong>realmente sencillo</strong>, decidí crear yo mismo un script que me permita solucionar ese problema.</p>
<p align="justify">Su funcionamiento es muy básico, el script está listo para ser usado y <strong>no solo sirve para el desplazamiento de fotos, sino para el desplazamiento de cualquier tipo de contenido</strong>. Lo he creado haciendo uso de <a href="http://jquery.com/"><strong>jQuery</strong></a> por ser una excelente <strong>librería de Javascript </strong>que funciona en todos los navegadores.</p>
<p align="justify">En caso desees <strong>reportar un bug o desees alguna implementación </strong>por favor deja tu comentario y gustosamente te atenderé.</p>
<p align="right"><strong>Demo</strong> – <a href="http://www.xploit29.com/demo/galeria/">Slice fotos/contenido jQuery</a>     <br /><strong>Descarga</strong> – <a href="http://www.xploit29.com/download/galeria.zip">Slice fotos/contenido jQuery</a></p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Crear tabs para cualquier sitio con jQuery (Parte I) (13 octubre, 2008)">Crear tabs para cualquier sitio con jQuery (Parte I)</a></li>
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
	<li><a href="http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="JavaScript un pequeño gran amigo (13 mayo, 2008)">JavaScript un pequeño gran amigo</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III) (5 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2011/10/galera-de-fotos-o-contenido-en-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Instalaci&#243;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</title>
		<link>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/</link>
		<comments>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 20:52:41 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[Coffee Script]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Front-End]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Jade]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Stylus]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/</guid>
		<description><![CDATA[<img width="120" height="20" src="http://www.xploit29.com/wp-content/uploads/2011/10/manual-nodejs2.png" class="attachment-post-thumb" alt="manual-nodejs.png" title="manual-nodejs.png" />Repasando la Parte I y la Parte II de éste tutorial, hasta el momento hemos hecho lo siguiente: En la Parte I: Aprendimos a instalar NodeJS a través de Cygwin, recordar que NodeJS es la herramienta principal necesaria para poder trabajar con Stylus, Jade y Coffee Script. En la Parte II: Aprendimos a instalar Stylus, Jade y Coffee Script. Además, hemos aprendido a mejorar Cygwin a través de Console. Ahora nos corresponde el aprender a crear nuestro primer sitio web ... <div class="read-more"><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="manual-nodejs" border="0" alt="manual-nodejs" src="http://www.xploit29.com/wp-content/uploads/2011/10/manual-nodejs2.png" width="600" height="100" /></p>
<p align="justify">Repasando la <strong>Parte I y la Parte II de éste tutorial</strong>, hasta el momento hemos hecho lo siguiente:</p>
<ul>
<li>
<div align="justify"><strong>En la Parte I</strong>: Aprendimos a <a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/">instalar NodeJS a través de Cygwin, recordar que NodeJS</a> es la herramienta principal necesaria para poder trabajar con Stylus, Jade y Coffee Script.</div>
</li>
<li>
<div align="justify"><strong>En la Parte II</strong>: Aprendimos a <a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/">instalar Stylus, Jade y Coffee Script</a>.</div>
</li>
<li>
<div align="justify">Además, hemos aprendido a <a href="http://www.xploit29.com/2011/10/mejorando-cygwin-con-console/">mejorar Cygwin a través de Console</a>.</div>
</li>
</ul>
<p align="justify">Ahora nos corresponde el aprender a crear nuestro primer sitio web con Jade y Stylus. <strong>Jade</strong> será nuestra herramienta de trabajo para la generación de<strong> código HTML</strong> y un poco de <strong>JavaScript</strong>; <strong>Stylus</strong> lo usaremos para crear nuestras <strong>hojas de estilo CSS</strong> para nuestro sitio web.</p>
<p align="justify">Lo primero que necesitamos es <strong>montar nuestro servidor web </strong>(gracias a Express) de manera local para poder empezar a trabajar; pero antes, algunos detalles:</p>
<ul>
<li>
<div align="justify">Al montar el servidor web, de preferencia usemos un <strong>puerto diferente al puerto “80” y “8080”</strong> para evitar con otros programas que puedan estar usando esos puertos; Como por ejemplo AppServ, XAMPP o ISS.</div>
</li>
<li>
<div align="justify"><strong>Todos los proyectos</strong> que deseemos trabajarlos con Jade y Stylus tendremos que <strong>trabajarlos desde</strong> la carpeta “home &gt; Usuario” de “Cygwin”; que por defecto es “<strong>C:\cygwin\home\&lt;Usuario&gt;\</strong>”.</div>
</li>
<li>
<div align="justify">Es <strong>sumamente importante</strong> tener cuidado con la tabulación del código fuente de nuestro proyecto, pues tanto Jade como Stylus <strong>trabajan en base a la tabulación</strong>.</div>
</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="coffeescript" style="font-family:monospace;">express = require <span style="color: #483d8b;">&quot;express&quot;</span>
app = module.<span style="color: black;">exports</span> = express.<span style="color: black;">createServer</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
app.<span style="color: black;">configure</span> <span style="color: black;">&#40;</span><span style="color: black;">&#41;</span> <span style="color: #66cc66;">-&gt;</span>
	app.<span style="color: black;">set</span> <span style="color: #483d8b;">&quot;views&quot;</span><span style="color: #66cc66;">,</span> __dirname
	app.<span style="color: black;">set</span> <span style="color: #483d8b;">&quot;views engine&quot;</span><span style="color: #66cc66;">,</span> <span style="color: #483d8b;">&quot;jade&quot;</span>
	app.<span style="color: black;">use</span> express.<span style="color: black;">static</span><span style="color: black;">&#40;</span> __dirname <span style="color: black;">&#41;</span>
&nbsp;
app.<span style="color: black;">get</span> <span style="color: #483d8b;">&quot;/&quot;</span><span style="color: #66cc66;">,</span> <span style="color: black;">&#40;</span>req<span style="color: #66cc66;">,</span> res<span style="color: black;">&#41;</span> <span style="color: #66cc66;">-&gt;</span>
	res.<span style="color: black;">render</span> <span style="color: #483d8b;">&quot;index.jade&quot;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Define el puerto de tu proyecto</span>
app.<span style="color: black;">listen</span> <span style="color: #ff4500;">8002</span>
<span style="color: #808080; font-style: italic;"># Definir el nombre de nuestro proyecto (Cualquier nombre)</span>
console.<span style="color: black;">log</span> <span style="color: #483d8b;">&quot;xploit29 - Tecnologia al alcance de tus manos&quot;</span></pre></div></div>

<p align="justify">Guardamos ese código en un archivo al que <strong>llamaremos</strong> “<strong>app.coffee</strong>” y desde una <strong>ventana de Cygwin</strong>, lo ejecutaremos de la siguiente manera.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ coffee app.coffee</pre></div></div>

<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Console-8" border="0" alt="Console-8" src="http://www.xploit29.com/wp-content/uploads/2011/10/Console-8.png" width="546" height="418" /></p>
<p>Lo siguiente será crear dentro de la misma carpeta los siguientes archivos:</p>
<ul>
<li>index.jade </li>
<li>layout.jade </li>
<li>style.styl </li>
</ul>
<p align="justify">El archivo “<strong>index.jade</strong>” y el archivo “<strong>layout.jade</strong>” pero nuestro servidor web le dará <strong>preferencia a los cambios</strong> realizados en “<strong>layout.jade</strong>”.</p>
<p align="justify">El siguiente paso es compilar el código CSS, para ello simplemente en una nueva ventana o pestaña de Cygwin ejecutaremos:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ stylus <span style="color: #660033;">-w</span> style.styl</pre></div></div>

<p align="justify">Éste comando realizará lo siguiente: <strong>compilará el CSS</strong> es un archivo llamado “<strong>style.css</strong>” (dentro de la misma carpeta) y lo segundo que hará es vigilar los cambios que se realicen en él, es decir <strong>el comando se mantiene siempre activo hasta que cerremos la pestaña</strong>. </p>
<p align="justify">Para visualizar nuestro proyecto nos dirigimos en la barra de nuestro navegador a: “<strong>http://localhost:8002</strong>” dependiendo del puerto que escogimos en nuestro archivo “<strong>app.coffee</strong>”. </p>
<p align="justify">Espero que hayan disfrutado de éste tutorial, algo largo, pero definitivamente vale la pena!.</p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II) (3 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I) (2 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/aadir-a-sublimetext-soporte-para-jade-stylus-y-coffee-script/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="A&ntilde;adir a SublimeText soporte para Jade, Stylus y Coffee Script (7 octubre, 2011)">A&ntilde;adir a SublimeText soporte para Jade, Stylus y Coffee Script</a></li>
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalaci&#243;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II)</title>
		<link>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/</link>
		<comments>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 13:00:00 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[Coffee Script]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Front-End]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Jade]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Stylus]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/</guid>
		<description><![CDATA[<img width="120" height="20" src="http://www.xploit29.com/wp-content/uploads/2011/10/manual-nodejs1.png" class="attachment-post-thumb wp-post-image" alt="manual-nodejs.png" title="manual-nodejs.png" />Si aún no tienes instalado correctamente NodeJS, puede recurrir a la Parte I del tutorial para que luego instalar Jade, Stylus y Coffee Script. 1. Instalación de Jade Para instalar Jade, abrimos una ventana de Cygwin como se muestra en la siguiente imagen y escribiremos lo siguiente para iniciar la instalación de Jade: $ npm install -g jade $ npm install jade Para asegurar una instalación correcta de Jade, lo instalamos a través de esos dos comandos. Para comprobar que ... <div class="read-more"><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="manual-nodejs" border="0" alt="manual-nodejs" src="http://www.xploit29.com/wp-content/uploads/2011/10/manual-nodejs1.png" width="600" height="100" /></p>
<p>Si aún no tienes instalado correctamente NodeJS, puede recurrir a la <a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/">Parte I del tutorial</a> para que luego instalar <strong>Jade</strong>, <strong>Stylus</strong> y <strong>Coffee Script</strong>.</p>
<p><font size="4" face="Georgia"><em><u>1. Instalación de Jade</u></em></font></p>
<p>Para instalar Jade, abrimos una ventana de Cygwin como se muestra en la siguiente imagen y escribiremos lo siguiente para iniciar la instalación de Jade:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-g</span> jade
$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> jade</pre></div></div>

<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cygwin-11" border="0" alt="Cygwin-11" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-111.png" width="546" height="275" /></p>
<p>Para asegurar una <strong>instalación correcta de Jade</strong>, lo instalamos a través de esos <strong>dos comandos</strong>. Para comprobar que Jade está instalado correctamente, simplemente escribimos:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ jade <span style="color: #660033;">--help</span></pre></div></div>

<p>Y deberá aparecer la <strong>información de ayuda de Jade</strong>.</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Jade-1" border="0" alt="Jade-1" src="http://www.xploit29.com/wp-content/uploads/2011/10/Jade-1_thumb.png" width="546" height="276" /></p>
<p><span id="more-1515"></span>
<p><font size="4" face="Georgia"><em><u>2. Instalación de Stylus</u></em></font></p>
<p><strong>Al igual que Jade</strong>, simplemente que modificamos el comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-g</span> stylus
$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> stylus</pre></div></div>

<p>A continuación <strong>verificamos que la instalación</strong> sea la correcta a través del comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ stylus <span style="color: #660033;">--help</span></pre></div></div>

<p>Que deberá darnos el <strong>siguiente resultado</strong>:</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Stylus-1" border="0" alt="Stylus-1" src="http://www.xploit29.com/wp-content/uploads/2011/10/Stylus-1.png" width="546" height="276" /></p>
<p><font size="4" face="Georgia"><em><u>3. Instalación de Coffee-Script</u></em></font></p>
<p>Igualmente, modificamos el <strong>comando</strong> que anteriormente usamos por:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-g</span> coffee-script
$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> coffe-script</pre></div></div>

<p>A continuación <strong>verificamos que la instalación</strong> sea la correcta a través del comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ coffee <span style="color: #660033;">--help</span></pre></div></div>

<p>Que deberá darnos el <strong>siguiente resultado</strong>:</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Coffee-1" border="0" alt="Coffee-1" src="http://www.xploit29.com/wp-content/uploads/2011/10/Coffee-1.png" width="550" height="279" /></p>
<p><font size="4" face="Georgia"><em><u>4. Instalación de Express</u></em></font></p>
<p align="justify">Por último es necesario una <strong>última herramienta</strong> que también trabaja bajo NodeJS cuyo nombre es “<strong>Express</strong>” (que permite crear un <strong>servidor web</strong> para poder ver nuestro trabajo) y para instalarla, al igual que los otros módulos, ejecutamos el comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ npm <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-g</span> express</pre></div></div>

<p>Ya tenemos listo en nuestra computadora<strong> todos los módulos necesarios</strong>. Y recuerda que puedes recurrir a los siguientes <strong>tutoriales</strong> relacionados:</p>
<ul>
<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/">Instalación de <strong>NodeJS</strong> en Windows a través de Cygwin</a> </li>
<li>Iniciando el uso de <strong>Jade</strong>, <strong>Stylus</strong> y <strong>Coffee-Script</strong> (<em>Próximamente</em>) </li>
</ul>
<p align="right">Enlace – <a href="https://github.com/visionmedia/jade">Jade GitHub</a> </p>
<p>Enlace – <a href="https://github.com/LearnBoost/stylus">Stylus GitHub</a> </p>
<p>Enlace – <a href="https://github.com/jashkenas/coffee-script">Coffee-Script GitHub</a> </p>
<p>Enlace – <a href="https://github.com/visionmedia/express">Express GitHub</a></p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III) (5 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I) (2 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/aadir-a-sublimetext-soporte-para-jade-stylus-y-coffee-script/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="A&ntilde;adir a SublimeText soporte para Jade, Stylus y Coffee Script (7 octubre, 2011)">A&ntilde;adir a SublimeText soporte para Jade, Stylus y Coffee Script</a></li>
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Instalaci&#243;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I)</title>
		<link>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/</link>
		<comments>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 18:01:30 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[Coffee Script]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Cygwin]]></category>
		<category><![CDATA[Front-End]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Jade]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Stylus]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/</guid>
		<description><![CDATA[<img width="120" height="20" src="http://www.xploit29.com/wp-content/uploads/2011/10/manual-nodejs.png" class="attachment-post-thumb" alt="manual-nodejs.png" title="manual-nodejs.png" />Como todo programador Front-End, siempre es tedioso el tener escribir una y otras vez las llaves de apertura y de cierre de una etiqueta ya sea en HTML, CSS o en JavaScript, es por eso que ante este problema surgen herramientas que nos ayudan a solucionar este problema, todas estas herramientas funcionan gracias a NodeJS. Jade: Escribir código HTML Stylus: Escribir código CSS Coffee Script: Escribir código JavaScript Para no aburrirlos escribiendo el “cómo funciona cada herramienta”, les mostraré el ... <div class="read-more"><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="manual-nodejs" border="0" alt="manual-nodejs" src="http://www.xploit29.com/wp-content/uploads/2011/10/manual-nodejs.png" width="600" height="100" /></p>
<p align="justify">Como todo <strong>programador Front-End</strong>, siempre es tedioso el tener escribir una y otras vez las llaves de apertura y de cierre de una etiqueta ya sea en <strong>HTML</strong>, <strong>CSS</strong> o en <strong>JavaScript</strong>, es por eso que ante este problema surgen herramientas que nos ayudan a solucionar este problema, todas estas herramientas funcionan gracias a <strong><a href="http://nodejs.org/">NodeJS</a></strong>.</p>
<ul>
<li>
<div align="justify"><strong>Jade</strong>: Escribir código HTML </div>
</li>
<li>
<div align="justify"><strong>Stylus</strong>: Escribir código CSS </div>
</li>
<li>
<div align="justify"><strong>Coffee Script</strong>: Escribir código JavaScript </div>
</li>
</ul>
<p align="justify">Para no aburrirlos escribiendo el “cómo funciona cada herramienta”, les mostraré el siguiente vídeo, creado por <a href="https://twitter.com/neojp">@neojp</a> (un verdadero ninja del Front-End) mostrando <strong>todas éstas herramientas en funcionamiento conjunto</strong>.</p>
<div style="padding-bottom: 0px; margin: 0px auto; padding-left: 0px; width: 567px; padding-right: 0px; display: block; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:322d2adc-966f-4ce0-8236-6b3f1112ac85" class="wlWriterSmartContent">
<div><embed height="317" type="application/x-shockwave-flash" width="567" src="http://www.youtube.com/v/a45Fhp8PfCg?hl=en&amp;hd=1" /> </div>
<div style="width: 567px; clear: both; font-size: 0.8em">Simplificando el Font-End</div>
</p></div>
<p>El vídeo es bastante emocionante y ahora sí, empecemos con el tutorial.</p>
<ul>
<li>
<div align="justify"><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/">Instalación de NodeJS a través de Cygwin (Bash Shell&#160; de Linux)</a></div>
</li>
<li>
<div align="justify">Instalación de <strong>Jade</strong>, <strong>Stylus</strong> y <strong>Coffee Script</strong>. (<em>Próximamente</em>)</div>
</li>
<li>
<div align="justify">Iniciando el uso de <strong>Jade</strong>, <strong>Stylus</strong> y <strong>Coffee Script</strong>. (<em>Próximamente</em>)</div>
</li>
<p> <!--EndFragment--></ul>
<p><font size="4" face="Georgia"><em><u>1. Instalar Cygwin en Windows</u></em></font></p>
<p align="justify">Es posible ejecutar NodeJS en Windows, pero lo que nosotros necesitamos es instalar módulos de NodeJS para Windows, lo cuál no es posible a través de ese medio; es por ello que necesitamos <strong>simular un entorno de Linux</strong> para poder instalar módulos de NodeJS. Para hacer ello necesitamos <strong>instalar </strong><a href="http://cygwin.com/install.html"><strong>Cygwin</strong></a>, quien nos permitirá crear el entorno de Linux.</p>
<p><span id="more-1505"></span>
<p>Descargamos el instalador de <a href="http://cygwin.com/setup.exe">Cygwin</a>, y luego lo ejecutamos. Se iniciará el instalador y seguimos los pasos de las siguientes imágenes:</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Cygwin-1" border="0" alt="Cygwin-1" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-1.png" width="543" height="398" /></p>
<p align="center"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-2" border="0" alt="Cygwin-2" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-2.png" width="544" height="399" /></p>
<p align="center"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-4" border="0" alt="Cygwin-4" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-4.png" width="544" height="399" /></p>
<p align="center"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-5" border="0" alt="Cygwin-5" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-5.png" width="544" height="399" /></p>
<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-6" border="0" alt="Cygwin-6" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-6.png" width="544" height="401" /></p>
<p align="justify">En ésta opción elegimos los <strong>paquetes necesarios para poder compilar y hacer funcionar a NodeJS</strong> en Cygwin. Son los siguientes:</p>
<ul>
<li>devel &gt; gcc-g++ </li>
<li>devel &gt; git </li>
<li>devel &gt; make </li>
<li>devel &gt; pkg-config </li>
<li>devel &gt; zlib-devel </li>
<li>libs &gt; openssl-devel </li>
<li>net &gt; openssl </li>
<li>python &gt; python </li>
<li>editors &gt; nano </li>
<li>web &gt; curl </li>
</ul>
<p align="justify">Para instalar cada uno de esos paquetes los <strong>buscamos por el nombre</strong>, los seleccionamos como el ejemplo de la siguiente imagen:</p>
<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-7" border="0" alt="Cygwin-7" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-7.png" width="544" height="351" /></p>
<p>Luego de seleccionar todos los paquetes necesarios hacemos<strong> clic en “Siguiente”</strong>.</p>
<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-8" border="0" alt="Cygwin-8" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-8.png" width="546" height="399" /></p>
<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-9" border="0" alt="Cygwin-9" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-9.png" width="546" height="399" /></p>
<p><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-10" border="0" alt="Cygwin-10" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-10.png" width="546" height="399" /></p>
<p align="justify">El ejecutar Cygwin tendremos la <strong>siguiente ventana</strong>:</p>
<p align="justify"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Cygwin-11" border="0" alt="Cygwin-11" src="http://www.xploit29.com/wp-content/uploads/2011/10/Cygwin-11.png" width="546" height="275" /></p>
<p align="justify">Con todos los pasos anteriores ya tenemos instalado <strong>Cygwin (BashShell de Linux)</strong> en nuestro ordenador con todos los módulos requeridos para el funcionamiento y compilado de NodeJS. Así que el siguiente paso es justamente ese, <strong>descargar y compilar NodeJS</strong>.</p>
<p align="right">Descargar – <a href="http://cygwin.com/setup.exe">Cygwin Setup</a></p>
<p align="justify"><font size="4" face="Georgia"><em><u>2. Instalar NodeJS en Windows</u></em></font></p>
<p align="justify">Al tener instalado Cygwin, el siguiente paso es la <strong>instalación de NodeJS </strong>y para ello, en la ventana de Cygwin ingresamos las <strong>siguientes líneas</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> ~
$ <span style="color: #c20cb9; font-weight: bold;">git</span> clone <span style="color: #c20cb9; font-weight: bold;">git</span>:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>joyent<span style="color: #000000; font-weight: bold;">/</span>node.git
$ <span style="color: #7a0874; font-weight: bold;">cd</span> node
$ <span style="color: #c20cb9; font-weight: bold;">git</span> fetch <span style="color: #660033;">--all</span>
$ <span style="color: #c20cb9; font-weight: bold;">git</span> tag
$ <span style="color: #c20cb9; font-weight: bold;">git</span> checkout v0.4.12
$ .<span style="color: #000000; font-weight: bold;">/</span>configure
$ <span style="color: #c20cb9; font-weight: bold;">make</span>
$ <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p align="justify">El siguiente paso es <strong>editar las DNS de Cygwin </strong>pues suele tener conflictos con las DNS propias de Windows, para ello editamos el archivo de DNS de Cygwin a través del siguiente comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>resolv.conf</pre></div></div>

<p>Ingresamos las respectivas DNS de la siguiente manera:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">nameserver 8.8.8.8
nameserver 8.8.4.4</pre></div></div>

<p align="justify"><strong>Guardamos</strong> a través de la combinación de teclas <strong>“&lt;Control&gt; &#8211; X</strong>” y luego presionamos la letra “<strong>S</strong>” y “<strong>Enter</strong>”. Con todos los pasos anteriores, ya tenemos listo NodeJS listo y funcional en nuestro ordenador.</p>
<p align="justify"><img style="background-image: none; border-right-width: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="NodeJS-1" border="0" alt="NodeJS-1" src="http://www.xploit29.com/wp-content/uploads/2011/10/NodeJS-1.png" width="546" height="276" /></p>
<p align="justify">Puedes seguir con el tutorial de:</p>
<ul>
<li>
<div align="justify"><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/">Instalación de <strong>Jade</strong>, <strong>Stylus</strong> y <strong>Coffee Script</strong></a>.</div>
</li>
<li>
<div align="justify"><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/">Iniciando el uso de <strong>Jade</strong>, <strong>Stylus</strong> y <strong>Coffee Script</strong></a>.</div>
</li>
</ul>
<p align="right">Enlace – <a href="http://nodejs.org/">NodeJS Website</a></p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III) (5 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II) (3 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/aadir-a-sublimetext-soporte-para-jade-stylus-y-coffee-script/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="A&ntilde;adir a SublimeText soporte para Jade, Stylus y Coffee Script (7 octubre, 2011)">A&ntilde;adir a SublimeText soporte para Jade, Stylus y Coffee Script</a></li>
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Refrescar un container &lt;div&gt; con JQuery</title>
		<link>http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/</link>
		<comments>http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 01:37:27 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[DIV]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[Refrescar]]></category>
		<category><![CDATA[Refresh]]></category>
		<category><![CDATA[Truco]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/</guid>
		<description><![CDATA[<img width="120" height="29" src="http://www.xploit29.com/wp-content/uploads/2011/04/jquery.gif" class="attachment-post-thumb" alt="jquery.gif" title="jquery.gif" />JQuery es una librería de JavaScript que nos facilita muchas tareas al momento de realizar una página web con herramientas que ayudan en el manejo de eventos, animación, interacciones con Ajax en el desarrollo de una web. En este caso, aprenderemos a usar esta librería para refrescar el contenido de un container (&#60;div&#62;) de nuestro sitio web, puede ser útil en el caso de querer mostrar la cantidad de usuarios activos en un sitio web en un mismo momento, o ... <div class="read-more"><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p align="justify"><a href="http://www.xploit29.com/wp-content/uploads/2011/04/jquery.gif" rel="lightbox"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="jquery" border="0" alt="jquery" align="left" src="http://www.xploit29.com/wp-content/uploads/2011/04/jquery_thumb.gif" width="219" height="57" /></a><strong><a href="http://http://jquery.com/">JQuery</a></strong> es una librería de JavaScript que nos facilita muchas tareas al momento de realizar una página web con herramientas que ayudan en el <strong>manejo de eventos, animación, interacciones con Ajax</strong> en el desarrollo de una web. </p>
<p align="justify">En este caso, aprenderemos a usar esta librería para <strong>refrescar el contenido</strong> de un <strong>container (&lt;div&gt;)</strong> de nuestro sitio web, puede ser útil en el caso de querer mostrar la cantidad de usuarios activos en un sitio web en un mismo momento, o en el <strong>caso de <a href="http://gmail.com">Gmail</a></strong> para mantener actualizada la cantidad de espacio disponible para usar en nuestra cuenta de correo, etc.</p>
<p align="justify">Lo primero que hacemos es agregar <strong>antes</strong> de la <strong>etiqueta &lt;/head&gt;</strong> las siguientes líneas de <strong>código</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://code.jquery.com/jquery-latest.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
 $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</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: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#responsecontainer&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;response.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #003366; font-weight: bold;">var</span> refreshId <span style="color: #339933;">=</span> setInterval<span style="color: #009900;">&#40;</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: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#responsecontainer&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'response.php?randval='</span><span style="color: #339933;">+</span> Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</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: #CC0000;">9000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   $.<span style="color: #660066;">ajaxSetup</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> cache<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>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Luego <strong>crear un container (&lt;div&gt;)</strong> que tenga el <strong>ID</strong> (en este caso): “<strong>responsecontainer</strong>”; no debe tener contenido este container pues el contenido será agregado por y actualizado constantemente por el script; entonces dentro del cuerpo de nuestra página quedaría así:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;responsecontainer&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>Entonces ahora toca <strong>crear un archivo PHP</strong> dentro de la misma carpeta de nuestra página llamado “<strong>response.php</strong>” y para detectar que realmente funciona el script podemos agregarle la siguiente línea de código que puedes modificar por lo que desees:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Entonces nuestra <strong>lista de archivos</strong> quedaría más o menos así:</p>
<p><a href="http://www.xploit29.com/wp-content/uploads/2011/04/jquery-files.png" rel="lightbox"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="jquery-files" border="0" alt="jquery-files" src="http://www.xploit29.com/wp-content/uploads/2011/04/jquery-files_thumb.png" width="173" height="78" /></a></p>
<p align="justify">Si deseas puedes descargar el <a href="http://www.xploit29.com/demo/refresh.zip">archivo de ejemplo</a>.</p>
<p align="right">Fuente &#8211; <a href="http://www.brightcherry.co.uk/scribbles/2009/02/26/jquery-auto-refresh-div-every-x-seconds/">Web Design Blog</a></p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
	<li><a href="http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Crear tabs para cualquier sitio con jQuery (Parte I) (13 octubre, 2008)">Crear tabs para cualquier sitio con jQuery (Parte I)</a></li>
	<li><a href="http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="JavaScript un pequeño gran amigo (13 mayo, 2008)">JavaScript un pequeño gran amigo</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III) (5 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II) (3 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II)</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redireccionar p&#225;ginas a trav&#233;s de JavaScript</title>
		<link>http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/</link>
		<comments>http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 14:40:00 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Ir]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Nueva pagina]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[Redireccion]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/</guid>
		<description><![CDATA[La redirección de páginas web es una práctica muy común en los blogs, cuando migran desde una plataforma a otra y dejan atrás una URL para pasar a ser otra URL, ya sea al adquirir un dominio propio o al migrar de plataforma gratuita (de WordPress a Blogger). Sea como sea, en muchos de éstos casos de hace uso de redirecciones a través de la etiqueta meta y esta redirección es mal vista cuando Google indexa nuestro sitio web, sin ... <div class="read-more"><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p align="justify">La redirección de páginas web es una práctica muy común en los blogs, cuando migran desde una plataforma a otra y <strong>dejan atrás una URL para pasar a ser otra URL</strong>, ya sea al adquirir un dominio propio o al migrar de plataforma gratuita (de <a href="http://wordpress.com">WordPress</a> a <a href="http://blogger.com">Blogger</a>). Sea como sea, en muchos de éstos casos de hace uso de redirecciones a través de la etiqueta <code>meta</code> y esta redirección es mal vista cuando <a href="http://google.dirson.com/googlebot.php">Google indexa nuestro sitio web</a>, sin embargo existen otros métodos como la redirección a través de <a href="http://es.wikipedia.org/wiki/JavaScript">JavaScript</a>.</p>
<p align="justify">La redirección común a través de la etiqueta <code>meta</code> es la siguiente (la se debe evitar):</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;refresh&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;5; url=http://www.xploit29.com&quot;</span>&gt;</span></pre></div></div>

<p align="justify">Y respecto a redirección a través de JavaScript tenemos las siguientes opciones:</p>
<p align="justify"><strong><span style="text-decoration: underline;">QUE SE IMPRIMA TEXTO HTML A TRAVÉS DE JAVASCRIPT</span></strong><br />
Tal y como lo dice el sub-título, podemos realizar una redirección haciendo que java script imprima texto en HTML, ya que al bot de <a href="http://google.com">Google</a> se le hace difícil entender <a href="http://es.wikipedia.org/wiki/JavaScript">JavaScript</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">var</span> string <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>location.<span style="color: #660066;">href</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> getit <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> getit <span style="color: #339933;">=</span> string.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> result <span style="color: #339933;">=</span> getit<span style="color: #009900;">&#91;</span> getit.<span style="color: #660066;">length</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span> <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> filename <span style="color: #339933;">=</span> result.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;meta http-equiv='refresh'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;content='0; url=http://www.xploit29.com/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>filename<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;html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>getit<span style="color: #009900;">&#91;</span>getit.<span style="color: #660066;">length</span><span style="color: #339933;">-</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>getit<span style="color: #009900;">&#91;</span>getit.<span style="color: #660066;">length</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>filename<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;'/&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p align="justify"><strong>Modificamos</strong> el tiempo (segundos) en que deseamos que se genere la redirección y indicamos la URL a la que desee que sus visitantes lleguen luego de la redirección.</p>
<p align="justify">
<p align="justify"><strong><span style="text-decoration: underline;">ESTABLECIENDO UNA NUEVA DIRECCIÓN A LA PÁGINA</span></strong><br />
A través del siguiente código, se establece una <strong>nueva URL</strong> a la página a la cual será redirigida en el tiempo que se establezca:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #003366; font-weight: bold;">var</span> pagina <span style="color: #339933;">=</span> <span style="color: #3366CC;">'http://www.xploit29.com'</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> segundos <span style="color: #339933;">=</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">function</span> redireccion<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        document.<span style="color: #660066;">location</span>.<span style="color: #660066;">href</span><span style="color: #339933;">=</span>pagina<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    setTimeout<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;redireccion()&quot;</span><span style="color: #339933;">,</span>segundos<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p align="justify"><strong>Modificamos</strong> la página y el tiempo (segundos)</p>
<p align="justify">
<p align="justify"><span style="text-decoration: underline;"><strong>EXTRA</strong>: redirección con PHP</span><br />
De forma adicional también es posible redireccionar una página web haciendo uso de PHP a través del siguiente código:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;location: http://www.xploit29.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>Modificamos</strong> la URL</p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="JavaScript un pequeño gran amigo (13 mayo, 2008)">JavaScript un pequeño gran amigo</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III) (5 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II) (3 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I) (2 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I)</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Crear tabs para cualquier sitio con jQuery (Parte I)</title>
		<link>http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/</link>
		<comments>http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 06:02:34 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Pestañas]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[Tabs]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Utilidades]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/?p=887</guid>
		<description><![CDATA[jQuery es una tecnología que simplifica muchas cosas a la hora de realizar el trabajo de estructura de un sitio web, como verán, anteriormente en el desarrollo de esta plantilla, los “TABS” del Sidebar se establecían a través del script de DOMTAB, sin embargo estos me presentaron problemas al incorporarlos a WordPress, así que decidí usar jQuery y en realidad ha sido muy sencillo el insertarlo a la plantilla. Para iniciar el proceso, entre las etiquetas &#60;head&#62; y &#60;/head&#62; debemos ... <div class="read-more"><a href="http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p align="justify">jQuery es una tecnología que simplifica muchas cosas a la hora de realizar el trabajo de estructura de un sitio web, como verán, anteriormente en el desarrollo de esta plantilla, los “TABS” del Sidebar se establecían a través del script de DOMTAB, sin embargo estos me presentaron problemas al incorporarlos a WordPress, así que decidí usar jQuery y en realidad ha sido muy sencillo el insertarlo a la plantilla.</p>
<p align="justify">Para iniciar el proceso, entre las etiquetas <code>&lt;head&gt;</code> y <code>&lt;/head&gt;</code> debemos añadir las siguientes líneas:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://code.jquery.com/jquery-latest.js&quot;</span>&gt;</span>
  	 <span style="color: #808080; font-style: italic;">&lt;!--mce:0--&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://dev.jquery.com/view/tags/ui/latest/ui/ui.core.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
     <span style="color: #808080; font-style: italic;">&lt;!--mce:1--&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://dev.jquery.com/view/tags/ui/latest/ui/ui.tabs.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
     <span style="color: #808080; font-style: italic;">&lt;!--mce:2--&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
     <span style="color: #808080; font-style: italic;">&lt;!--mce:3--&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p align="justify">A continuación, insertaremos entre las etiquetas <code>&lt;body&gt;</code> y <code>&lt;/body&gt;</code> el contenido del recuadro, más adelante, veremos como agregar más recuadros también.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;EJEMPLO&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;estilo&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#tab-1&quot;</span>&gt;</span>Título 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#tab-2&quot;</span>&gt;</span>Título 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tab-1&quot;</span>&gt;</span>
            Aquí el contenido<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tab-2&quot;</span>&gt;</span>
            Aquí el contenido<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p align="justify">Podemos agregar tantas pestañas como deseemos sin ningún problema, pero hay que intentar mantener el órden así que es mejor no recargar de pestañas un recuadro. El siguiente paso será la hoja de estilos (el mismo al que uso para esta plantilla) para poder asignarle un diseño al recuadro que contiene la pestañas:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.estilo<span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">310px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		.ui-tabs-nav<span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #6666ff;">.ui-tabs-nav</span> li <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">2px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #cc00cc;">#3399FF</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #cc00cc;">#3399FF</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #cc00cc;">#3399FF</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Verdana</span><span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #6666ff;">.ui-tabs-nav</span> li<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#EBEBEB</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333333</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
			<span style="color: #6666ff;">.ui-tabs-nav</span> li<span style="color: #3333ff;">:hover </span>a <span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333333</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
		<span style="color: #6666ff;">.ui-tabs-nav</span> li <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
			<span style="color: #6666ff;">.ui-tabs-nav</span> li a <span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#336699</span><span style="color: #00AA00;">;</span>
				<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
		<span style="color: #6666ff;">.ui-tabs-panel</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3399FF</span> <span style="color: #993333;">solid</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">298px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Verdana</span><span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333333</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
			<span style="color: #6666ff;">.ui-tabs-panel</span> ul <span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
				<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
			<span style="color: #6666ff;">.ui-tabs-panel</span> ul li <span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
		<span style="color: #6666ff;">.ui-tabs-panel</span> a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#336699</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
			<span style="color: #6666ff;">.ui-tabs-panel</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3399FF</span><span style="color: #00AA00;">;</span>
				<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
		.ui-tabs-<span style="color: #993333;">hide</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3399FF</span> <span style="color: #993333;">solid</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">298px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Verdana</span><span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333333</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
			.ui-tabs-<span style="color: #993333;">hide</span> ul <span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
				<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
			.ui-tabs-<span style="color: #993333;">hide</span> ul li <span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span>
		.ui-tabs-<span style="color: #993333;">hide</span> a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#336699</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
			.ui-tabs-<span style="color: #993333;">hide</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
				<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3399FF</span><span style="color: #00AA00;">;</span>
				<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
			<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p align="justify">El significado de cada una de las etiquetas de estilo CSS:</p>
<ul>
<li><strong>estilo:</strong> Es el estilo de todo el recuadro con el cual trabajaremos</li>
<li><strong>ui-tabs-nav:</strong> Es la lista que alojará a los títulos de las pestañas</li>
<li><strong>ui-tabs-panel:</strong> Es el recuadro que aloja el contenido de un recuadro. Este es el estilo del recuadro visible</li>
<li><strong>ui-tabs-hide:</strong> Es el recuadro que aloja el contenido de un recuadro. Este es el estilo del recuadro oculto que más adelante al pulsar sobre el título del recuadro se verá y convertirá en <code>ui-tabs-panel</code></li>
</ul>
<p align="justify">El agregar otro recuadro con contenido no es difícil, simplemente duplicamos el anterior recuadro y realizamos lo siguiente:</p>
<ul>
<li><code>id</code>: modificamos este atributo del primer <code>div </code>para asignarle un identificador al recuadro</li>
<li><code>href</code>: modificamos este atributo por otro que identifique a otro título (manteniendo el símbolo de numeral)</li>
<li>Añadimos entre las etiquetas <code>&lt;script&gt;</code> y <code>&lt;/script&gt;</code> que usamos en el primer paso lo siguiente:

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">	$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</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: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#EJEMPLO2 &gt; ul&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tabs</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: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>En donde editamos la palabra <strong>EJEMPLO</strong> por el nombre que le asignamos al segundo recuadro (el atributo <code>id</code>)</li>
</ul>
<p align="justify">Definitivamente, este es un uso básico de esta herramienta y existen uso m´ñas complejos que se le pueden asignar, tal y como se puede observar en el sitio de <a href="http://docs.jquery.com/UI/Tabs">jQuery</a>.</p>
<p align="justify"><strong>Actualización:</strong> Si tienes un blog en WordPress, puede seguir el <a href="http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery-parte-ii/">siguiente manual</a> para integrarlo.</p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery-parte-ii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Crear tabs para cualquier sitio con jQuery (Parte II) (13 octubre, 2008)">Crear tabs para cualquier sitio con jQuery (Parte II)</a></li>
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/09/solucionar-problema-con-google-analytics/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Solucionar problema con Google Analytics (2 septiembre, 2008)">Solucionar problema con Google Analytics</a></li>
	<li><a href="http://www.xploit29.com/2008/08/solucionar-conflicto-entre-filezilla-y-adobe-air/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Solucionar conflicto entre Filezilla y Adobe Air (30 agosto, 2008)">Solucionar conflicto entre Filezilla y Adobe Air</a></li>
	<li><a href="http://www.xploit29.com/2008/09/solucin-a-problema-al-instalar-aplicaciones-de-adobe-cs3-en-windows-vista/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Soluci&oacute;n a problema al instalar aplicaciones de Adobe CS3 en Windows Vista (6 septiembre, 2008)">Soluci&oacute;n a problema al instalar aplicaciones de Adobe CS3 en Windows Vista</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dale forma a cualquier texto con CSS Text Wrap</title>
		<link>http://www.xploit29.com/2008/07/dale-forma-a-cualquier-texto-con-css-text-wrap/</link>
		<comments>http://www.xploit29.com/2008/07/dale-forma-a-cualquier-texto-con-css-text-wrap/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 13:00:00 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Text Wrap]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2008/07/dale-forma-a-cualquier-texto-con-css-text-wrap/</guid>
		<description><![CDATA[<img width="120" height="62" src="http://www.xploit29.com/wp-content/uploads/2008/07/csswrapejemplo1.png" class="attachment-post-thumb" alt="csswrapejemplo1.png" title="csswrapejemplo1.png" />CSS Text Wrap es una elegante y sencilla herramienta con la que podemos darle casi cualquier forma a nuestros textos a nuestros textos de forma, ya sea la de un circulo, la de un triángulo, un corazón, prácticamente puede formar cualquier polígono con esta herramienta. La herramienta trabaja a través de nodos algo similar a como se trabaja con Corel Draw al momento de trabar con líneas y editar vectores. El trabajo con CSS Text Wrap es algo similar a ... <div class="read-more"><a href="http://www.xploit29.com/2008/07/dale-forma-a-cualquier-texto-con-css-text-wrap/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<p align="justify"><a href="http://www.csstextwrap.com/">CSS Text Wrap</a> es una elegante y sencilla herramienta con la que podemos darle casi cualquier forma a nuestros textos a nuestros textos de forma, ya sea la de un circulo, la de un triángulo, un corazón, prácticamente puede formar cualquier polígono con esta herramienta.</p>
<p align="center"><a href="http://www.xploit29.com/wp-content/uploads/2008/07/csswrapejemplo1.png"><img title="csswrap-ejemplo1" height="208" alt="csswrap-ejemplo1" src="http://www.xploit29.com/wp-content/uploads/2008/07/csswrapejemplo1-thumb.png" width="400" /></a> </p>
<p align="justify">La herramienta trabaja a través de nodos algo similar a como se trabaja con Corel Draw al momento de trabar con líneas y editar vectores. El trabajo con CSS Text Wrap es algo similar a la siguiente imagen:</p>
<p align="center"><a href="http://www.xploit29.com/wp-content/uploads/2008/07/csswrapejemplo2.png"><img title="csswrap-ejemplo2" height="145" alt="csswrap-ejemplo2" src="http://www.xploit29.com/wp-content/uploads/2008/07/csswrapejemplo2-thumb.png" width="400" /></a></p>
<p align="justify">Fácil de usar y lo más importante es que luego de darle forma a nuestro texto, es muy sencillo acoplarlo a nuestro sitio, pues nos da 3 tipos de códigos, ya sea código CSS/XHTML, XHTML con Classes y Javascript.</p>
<p align="right">Enlace | <a href="http://www.csstextwrap.com/">CSS Text Wrap</a>     <br />Vía | <a href="http://wwwhatsnew.com/2008/06/26/csstextwrap-dar-forma-a-tus-textos/">Wwwhat’s new</a></p>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-iii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III) (5 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte III)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-ii/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II) (3 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte II)</a></li>
	<li><a href="http://www.xploit29.com/2011/10/instalacin-de-stylus-jade-coffee-script-en-windows-con-nodejs-parte-i/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I) (2 octubre, 2011)">Instalaci&oacute;n de Stylus, Jade, Coffee Script en Windows con NodeJS (Parte I)</a></li>
	<li><a href="http://www.xploit29.com/2008/10/adquiere-libros-de-diseno-web/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Adquiere libros de dise&ntilde;o web (15 octubre, 2008)">Adquiere libros de dise&ntilde;o web</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2008/07/dale-forma-a-cualquier-texto-con-css-text-wrap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaScript un pequeño gran amigo</title>
		<link>http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/</link>
		<comments>http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/#comments</comments>
		<pubDate>Tue, 13 May 2008 19:47:00 +0000</pubDate>
		<dc:creator>ikcam</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/</guid>
		<description><![CDATA[JavaScript un lenguaje de programación importante si nos referimos a lo que actualmente es Web 2.0 y su alrededor. Bueno JavaScript es la combinación de los lenguajes de programación esencialmente que son el lenguaje Java y el lenguaje C. JavaScript es muy usado para la creación de distintos tipo de aplicaciones web online, y nos ayuda a simplificar la ejecución de alguna función específica. JavaScript fue creado por los desarrolladores de Netscape a la hora de crear navegadores web comerciales ... <div class="read-more"><a href="http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/">Continuar leyendo <span class="meta-nav">&#187;</span></a></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: justify;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_ykKZhgWYWB8/SCnwjM99GZI/AAAAAAAABeg/cbo-OgTtb5A/s1600-h/javascript.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp0.blogger.com/_ykKZhgWYWB8/SCnwjM99GZI/AAAAAAAABeg/cbo-OgTtb5A/s200/javascript.jpg" alt="" id="BLOGGER_PHOTO_ID_5199951732343118226" border="0" /></a>JavaScript un lenguaje de programación importante si nos referimos a lo que actualmente es Web 2.0 y su alrededor. Bueno JavaScript es la combinación de los lenguajes de programación esencialmente que son el lenguaje Java y el lenguaje C. JavaScript es muy usado para la creación de distintos tipo de aplicaciones web online, y nos ayuda a simplificar la ejecución de alguna función específica.</p>
<p>JavaScript fue creado por los desarrolladores de Netscape a la hora de crear navegadores web comerciales como fue el primero de su tipo el Netscape Navigator 2.0 que  actualmente ya no es distribuido.</p>
<p>Mediante JavaScript muchos desarrolladores establecen parámetros, modifican objetos, transforman la interfaz, mejoran la calidad y muchas cosas más. Gracias a sus diversas variaciones, JavaScript se ha perfeccionado de tal manera, logrando así la creación de de lenguajes como son el DHTML y AJAX,  éste último es más usado actualmente para la creación de páginas webs dinámicas dando al servidor la potestad de tomar decisiones de acuerdo a lo que se le presente y en ciertos casos almacenando éstas decisiones en una base de datos que puede ser temporal o puede ser permanente.</p>
<p>Decimos que puede ser temporal cuando se almacena en la memoria de nuestro computador únicamente cuando está siendo ejecutado el script y quizás inserta algunas cookies en nuestro sistema para almacenarlos a largo plazo, es ese el problema con JavaScript.</p>
<p>Por poseer propiedades del lenguaje C, JavaScript puede ser dañino para nuestro equipo y según el grado de complejidad de sus cadenas y de los códigos con que éste sea creado, es por eso que se nos menciona tener cuidado con la página que estamos visitando ya que cuando uno menos se lo espera, éste puede estar dañando a nuestro equipo.</p>
<p>Ante nosotros tenemos un lenguaje de programación potente que ciertamente al mismo tiempo es un arma de doble filo que puede hacernos daño como beneficiarnos increíblemente a nuestra empresa o negocio. Y en el mundo de los buenos y de los malos, todo puede pasar.</p>
<div style="text-align: right;">Fuente: <a href="http://es.wikipedia.org/wiki/JavaScript">Wikipedia</a>, <a href="http://www.javascript.com/">JavaScript</a><br />Imagen: <a href="http://tec.fresqui.com/files/images/javascript%20pic.jpg">Fresqui</a></div>
</div>

	<h4>Entradas relacionadas: </h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xploit29.com/2011/04/refresar-un-container-div-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Refrescar un container &lt;div&gt; con JQuery (5 abril, 2011)">Refrescar un container &lt;div&gt; con JQuery</a></li>
	<li><a href="http://www.xploit29.com/2008/12/redireccionar-pginas-a-travs-de-javascript/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript (3 diciembre, 2008)">Redireccionar p&aacute;ginas a trav&eacute;s de JavaScript</a></li>
	<li><a href="http://www.xploit29.com/2008/10/crear-tabs-para-cualquier-sitio-con-jquery/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Crear tabs para cualquier sitio con jQuery (Parte I) (13 octubre, 2008)">Crear tabs para cualquier sitio con jQuery (Parte I)</a></li>
	<li><a href="http://www.xploit29.com/2008/05/%c2%a1feliz-dia-de-la-internet/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="¡Felíz día de la Internet! (17 mayo, 2008)">¡Felíz día de la Internet!</a></li>
	<li><a href="http://www.xploit29.com/2008/05/yahoo-solo-quiere-a-internet-explorer/?utm_source=self&utm_medium=nav&utm_campaign=Relacionados" title="Yahoo! solo quiere a Internet Explorer (11 mayo, 2008)">Yahoo! solo quiere a Internet Explorer</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xploit29.com/2008/05/javascript-un-pequeno-gran-amigo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

