<?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>Eliseos.net &#187; jQuery</title> <atom:link href="http://eliseos.net/tag/jquery/feed/" rel="self" type="application/rss+xml" /><link>http://eliseos.net</link> <description>Wordpress, Diseño, jQuery and Coffee</description> <lastBuildDate>Tue, 16 Mar 2010 00:51:54 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Crea una barra para compartir tus entradas al estilo Mashable</title><link>http://eliseos.net/destacadas/crea-barra-compartir-entradas-estilo-mashable/</link> <comments>http://eliseos.net/destacadas/crea-barra-compartir-entradas-estilo-mashable/#comments</comments> <pubDate>Mon, 15 Mar 2010 20:16:31 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Destacadas]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[hack]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2761</guid> <description><![CDATA[Ayer me preguntaban si conocía algún plugin o al por estilo para poder emular el comportamiento de la barra horizontal que acompaña a los post en Mashable. Esta barra se "mueve" a lo largo de la entrada acompañando al scroll y en la que se encuentran botones para]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Ayer me preguntaban si conocía algún plugin o al por estilo para poder emular el comportamiento de la barra horizontal que acompaña a los post en <a
href="http://mashable.com/">Mashable</a>. Esta barra se &#8220;mueve&#8221; a lo largo de la entrada acompañando al scroll y en la que se encuentran botones para socializar contenido, como ser Tweetmeme, Facebook, etc.</p><p
style="text-align: center;"><img
src="http://eliseos.net/wp-content/uploads/2010/03/mashable.jpg" alt="mashable Crea una barra para compartir tus entradas al estilo Mashable" title="mashable" width="500" height="250" class="alignnone size-full wp-image-2763" /></p><p><span
id="more-2761"></span></p><p
style="text-align: left;">Sinceramente nunca le había prestado demasiada atención a esa barra, por la que me puse a investigar un poco mas sobre su comportamiento y como funciona. Después de mirar un poco pude recrear el efecto sin demasiadas complicaciones con un poco de CSS y jQuery.</p><p
style="text-align: left;">Surgieron dos alternativas, la replica exacta (solo me tome el trabajo de explicar el código) de Mashable y otro un poco mas simple.</p><p
style="text-align: center;"><img
src="http://eliseos.net/wp-content/uploads/2010/03/Social-bar-al-estilo-Mashable.png" alt="Social bar al estilo Mashable Crea una barra para compartir tus entradas al estilo Mashable" title="Social bar al estilo Mashable" width="500" height="250" class="alignnone size-full wp-image-2762" /></p><p
style="text-align: left;">Si entramos a cualquier post en Mashable, veremos que la barra se acompaña al Scroll sin animaciones. Al usar valores negativos en el <em><code>margin</code></em>, esta barra no es visible en resoluciones menores (1024), por lo cual mediante <strong>jQuery </strong>se transforma en otra barra horizontal para mostrar el contenido; lo mismo sucede si redimencionamos la ventana.</p><p
style="text-align: left;">La alternativa mas simple ofrece las mismas funcionalidades y un efecto en el <em>scroll</em>, pero si te excedes en el <strong>viewport</strong>, los visitantes que tengan una resolución de pantalla menor, no podrán apreciarla. A que me refiero con el exceso en el <strong>viewport</strong>? Simple, si tu <em><code>container</code> </em>es de <strong>960px</strong> de ancho y posicionamos la barra a unos <strong>-80px</strong>, <strong>nos excedimos en el viewport</strong> (960px + 80px = 1040) para resoluciones menores o iguales a 1024&#215;768; ya que el <strong>safe area</strong> para esta resolución es de <strong>975px</strong> de ancho.</p><p
style="text-align: left;">Cualquiera de las dos alternativas es válida y funcional, queda en vos utilizar la que creas que mejor se adapte.</p><h2>Replica de Mashable</h2><p
style="text-align: left;">Esta opción requiere un poco mas de código dada la complejidad. Al utilizar la posición <em><code>fixed</code></em>, esta opción no sera compatible con <strong>IE6 </strong>ya que este navegador desconoce esta propiedad.</p><h3><a
href="http://eliseos.net/test/easy/demo1.html">Demo Replica de Mashable</a></h3><p
style="text-align: left;">No te olvides de redimensionar la ventana para apreciar el efecto completo</p><h2>HTML</h2><p
style="text-align: left;">Como lo podemos apreciar en Mashable tenemos botones para sindicar contenido en Twitter, Google Buzz, Facebook y otras. Cada botón funciona por medio de un <em>script </em>para que les sea mas sencillo de integrar, podes usar e incluir los botones que necesitas por medio de algún plugin o simple código, eso queda en vos.</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;social_bar&quot;</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;botones_grandes&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gbuzz s_boton&quot;</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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://button.njuice.com/buzz.js&quot;</span>&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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tweetmeme s_boton&quot;</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: #009900;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #009900;">tweetmeme_source <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'baires'</span>; <span style="color: #66cc66;">//</span> Mi usuario en Twitter <span style="color: #66cc66;">//</span></span>
<span style="color: #009900;">tweetmeme_url <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'&lt;?php the_permalink(); ?&gt;</span></span>'; // URL a socializar en este caso para Wordpress //
//]]&gt;
<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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://tweetmeme.com/i/scripts/button.js&quot;</span>&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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;faceboook s_boton&quot;</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://widgets.fbshare.me/files/fbshare.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: #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: #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>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;botones_chicos&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton_small gbuzz_small&quot;</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: #009900;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #009900;">var njuice_buzz_size <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'small'</span>;</span>
<span style="color: #009900;"><span style="color: #66cc66;">//</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>&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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://button.njuice.com/buzz.js&quot;</span>&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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton_small twwetmeme_small&quot;</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: #009900;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #009900;">tweetmeme_style <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'compact'</span>;</span>
<span style="color: #009900;"><span style="color: #66cc66;">//</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>&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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://tweetmeme.com/i/scripts/button.js&quot;</span>&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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton_small facebook_small&quot;</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: #009900;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #009900;">var fbShare <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#123;</span></span>
<span style="color: #009900;"><span style="color: #000066;">size</span>: <span style="color: #ff0000;">'small'</span>,</span>
<span style="color: #009900;"><span style="color: #66cc66;">&#125;</span></span>
<span style="color: #009900;"><span style="color: #66cc66;">//</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>&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://widgets.fbshare.me/files/fbshare.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: #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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton_small&quot;</span>&gt;</span>
						<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">target</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;_blank&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://feedburner.google.com/fb/a/mailverify?uri=EliseosNet&amp;amp;loc=es_ES&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_email&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;social_sprites&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_email&quot;</span>&gt;</span>email<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
					<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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton_small&quot;</span>&gt;</span>
						<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;a2a_dd social_sprites&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_share&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.addtoany.com/share_save?linkname=Eliseos%20Net&amp;amp;linkurl=eliseos.net&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_sharethis&quot;</span>&gt;</span>Share<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&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: #009900;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #009900;">a2a_linkname<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;My Sitio&quot;</span>;a2a_linkurl<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;mi-url.com&quot;</span>;</span>
<span style="color: #009900;"><span style="color: #66cc66;">//</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;&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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://static.addtoany.com/menu/page.js&quot;</span>&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: #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>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">target</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;_blank&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://feedburner.google.com/fb/a/mailverify?uri=EliseosNet&amp;amp;loc=es_ES&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_email&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;social_sprites&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_email&quot;</span>&gt;</span>email<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
				<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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;a2a_dd social_sprites&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_share&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.addtoany.com/share_save?linkname=My%20Sitio&amp;amp;linkurl=mi-url.com&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_sharethis&quot;</span>&gt;</span>Share<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&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: #009900;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span>
<span style="color: #009900;">a2a_linkname<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;My Sitio&quot;</span>;a2a_linkurl<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;mi-url.com&quot;</span>;</span>
<span style="color: #009900;"><span style="color: #66cc66;">//</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;&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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://static.addtoany.com/menu/page.js&quot;</span>&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: #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
style="text-align: left;">Nuestro <strong>markup </strong>es de lo mas sencillo, como se puede hay dos clases de botones: grandes y chicos. Los botones grandes son los que se aprecian a simple vista, los chicos se encuentran escondidos para las resoluciones inferiores o en caso de redimensioanarse la pantalla. Es necesario que edites los datos de cada botón para que coincida con los tuyos, en URL, Nombre del Sitio, etc.</p><p
style="text-align: left;">Recomiendo introducir la barra justo después del titulo y antes del contendido para poder desplazarnos sin problemas. Para el caso de Wordpress dentro del archivo <em><code>single.php</code></em></p><h2>CSS</h2><p
style="text-align: left;">Esto es parte de la magia, otra vez es algo extremadamente simple de entender. Intente comentar lo mas posible el código para que sea de fácil entendimiento.</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;">&nbsp;
<span style="color: #cc00cc;">#social_bar</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:<span style="color: #993333;">none</span> </span>repeat <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#DDDDDD</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;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-80px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* // La distacia de la barra que queremos tener en relacion al post */</span>
<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* // Formato de los Botones grandes */</span>
<span style="color: #6666ff;">.s_boton</span> <span style="color: #00AA00;">&#123;</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;">clear</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;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* // Formato de los Botones chicos */</span>
.s_boton_small<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</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;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* // Ocultamos los botones chicos de momento */</span>
<span style="color: #6666ff;">.botones_chicos</span><span style="color: #00AA00;">&#123;</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: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* //Iconos para los links de Share y Email */</span>
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #cc00cc;">#s_email</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">-32px</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #3333ff;">:hover</span><span style="color: #cc00cc;">#s_email</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">-50px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#4c545b</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #cc00cc;">#s_share</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #933;">4px</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #3333ff;">:hover</span><span style="color: #cc00cc;">#s_share</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #933;">-14px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#4c545b</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">3px</span> <span style="color: #933;">3px</span> <span style="color: #933;">3px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/social_sprites.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#E8E8E8</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#989898</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #933;">9px</span>/<span style="color: #cc66cc;">1.625</span> verdana<span style="color: #00AA00;">,</span><span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</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;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">44px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p
style="text-align: left;">En caso que lo necesites <a
href="http://eliseos.net/wp-content/uploads/2010/03/social_sprites.png">esta es la imagen</a> que utilice en los links de <em>share </em>&amp; <em>e-mail</em>. Los iconos pertenecen al set <a
href="http://glyphish.com/">Glyphish</a>.</p><h2>jQuery</h2><p
style="text-align: left;">Y aquí viene la magia que hará que el comportamiento de la barra acompañe al <em>scroll </em>y diferencie las distintas resoluciones de pantalla.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
</pre></td><td
class="code"><pre class="javascript" style="font-family:monospace;">$<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>	
&nbsp;
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#social_bar'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">0</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span>$.<span style="color: #660066;">browser</span>.<span style="color: #660066;">msie</span> <span style="color: #339933;">&amp;&amp;</span> parseInt<span style="color: #009900;">&#40;</span>$.<span style="color: #660066;">browser</span>.<span style="color: #660066;">version</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> descripY <span style="color: #339933;">=</span> parseInt<span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.main'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">offset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">top</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #CC0000;">20</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> $postShare <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#social_bar'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> pullX <span style="color: #339933;">=</span> $postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'margin-left'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scrollBound'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #003366; font-weight: bold;">function</span> positionShareScroll<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> scrollY <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">scrollTop</span><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> fixedShare <span style="color: #339933;">=</span> $postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'position'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'fixed'</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> scrollY <span style="color: #339933;">&gt;</span> descripY <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span>fixedShare <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                $postShare.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
                    position<span style="color: #339933;">:</span> <span style="color: #3366CC;">'fixed'</span><span style="color: #339933;">,</span>
                    left<span style="color: #339933;">:</span> <span style="color: #3366CC;">'50%'</span><span style="color: #339933;">,</span>
                    top<span style="color: #339933;">:</span> <span style="color: #CC0000;">20</span><span style="color: #339933;">,</span>
                    marginLeft<span style="color: #339933;">:</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">540</span> <span style="color: #006600; font-style: italic;">// Este valor se debe ajustar ya que depende de cada diseño//</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: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> scrollY <span style="color: #339933;">&lt;</span> descripY <span style="color: #339933;">&amp;&amp;</span> fixedShare <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                $postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
                    position<span style="color: #339933;">:</span> <span style="color: #3366CC;">'relative'</span><span style="color: #339933;">,</span>
                    left<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
                    top<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
                    marginLeft<span style="color: #339933;">:</span> pullX
                <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;">&#125;</span>
&nbsp;
&nbsp;
        $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">resize</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: #003366; font-weight: bold;">var</span> windowW <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><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> pulledOutside <span style="color: #339933;">=</span> $postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'margin-left'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> pullX<span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> windowW <span style="color: #339933;">&gt;=</span> <span style="color: #CC0000;">1137</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scrollBound'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>pulledOutside <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                        $postShare.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> marginLeft<span style="color: #339933;">:</span> pullX <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						<span style="color: #006600; font-style: italic;">//Crear barra Vertical</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.botones_chicos'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.s_boton'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.botones_grandes'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border-width'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'1px'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$postShare.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'auto'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						$postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
							marginRight<span style="color: #339933;">:</span> <span style="color: #CC0000;">7</span><span style="color: #339933;">,</span>
							marginTop<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</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;">&#40;</span>window<span style="color: #009900;">&#41;</span>
                        .<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scrollBound'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
                        .<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scroll.positionShare'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                            positionShareScroll<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
                        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">;</span>
                    positionShareScroll<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;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> pulledOutside <span style="color: #339933;">||</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scrollBound'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    $postShare
                        .<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> position<span style="color: #339933;">:</span> <span style="color: #3366CC;">'relative'</span><span style="color: #339933;">,</span> left<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> top<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
                        .<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>marginLeft<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">;</span>
					<span style="color: #006600; font-style: italic;">//Crear barra Horizontal</span>
					<span style="color: #006600; font-style: italic;">//$postShare.append(smallButtons);</span>
					<span style="color: #006600; font-style: italic;">//smallButtons = '';</span>
					$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.botones_grandes'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.s_boton'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
					$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.botones_chicos'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					$postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
						marginTop<span style="color: #339933;">:</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">,</span>
						marginBottom<span style="color: #339933;">:</span> <span style="color: #CC0000;">5</span>
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					$postShare.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border-width'</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
					<span style="color: #003366; font-weight: bold;">var</span> content_width <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.main'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>content_width <span style="color: #339933;">==</span> <span style="color: #3366CC;">'undefined'</span><span style="color: #009900;">&#41;</span> content_width <span style="color: #339933;">=</span> <span style="color: #CC0000;">600</span><span style="color: #339933;">;</span>
					<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> $postShare.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'_width'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
						$postShare.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span>$postShare.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'_width'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
						<span style="color: #003366; font-weight: bold;">var</span> block_width <span style="color: #339933;">=</span> $postShare.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'_width'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
						$postShare.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'_width'</span><span style="color: #339933;">,</span> $postShare.<span style="color: #660066;">width</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: #003366; font-weight: bold;">var</span> block_width <span style="color: #339933;">=</span> $postShare.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #009900;">&#125;</span>
					$postShare.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span>content_width<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					<span style="color: #003366; font-weight: bold;">var</span> add_padding <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span>content_width <span style="color: #339933;">-</span> block_width<span style="color: #009900;">&#41;</span> <span style="color: #339933;">/</span> <span style="color: #009900;">&#40;</span>$postShare.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.s_boton_small'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">*</span> <span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">;</span>
&nbsp;
					<span style="color: #006600; font-style: italic;">//var add_padding = (642 - (88 + 120 * (buttons_count - 2) )) / (buttons_count * 2);</span>
					<span style="color: #006600; font-style: italic;">//var add_padding = ( ( 642 - ( 88 * buttons_count ) ) / (buttons_count * 2) ) + 5;</span>
					$postShare.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.s_boton_small'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
						paddingLeft<span style="color: #339933;">:</span> add_padding<span style="color: #339933;">,</span>
						paddingRight<span style="color: #339933;">:</span> add_padding
					<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
                    $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>
                        .<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scrollBound'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
                        .<span style="color: #660066;">unbind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'scroll.positionShare'</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">resize</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;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p
style="text-align: left;">Solamente dos cosas debemos tener presentes, la primera es definir en la linea 4 cual sera nuestro valor de referencia para el comportamiento de la barra, es decir el ancho; generalmente corresponde al <em><code>container</code> </em>en el que se encuentra el post. En mi caso he utilizado la clase <em><code>main</code></em>, que se vuelve a utilizar en la linea <strong>76 </strong>y en la <strong>77 </strong>con su ancho.</p><p
style="text-align: left;">Luego procederemos a adaptar la distancia a la que se posicionara la barra cuando nos desplacemos, al utilizar la posición <em><code>fixed</code></em>, el valor difiere de los 80px originales. Este ejemplo muestra la barra posicionada a unos -540px (linea 18). Este valor tenes que ajustarlo vos ya que depende de tu diseño. Una aproximación a este numero responde a: <strong>Ancho del container (en este ejemplo: main) &#8211;  80px</strong></p><p
style="text-align: left;">Una vez presentadas todas las partes solo tenemos que integrarlas en nuestro Site, dependiendo de la plataforma con lo que estemos trabajando pude variar algún detalle, pero este código sirve tanto para Wordpress como para cualquier otro <strong>CMS</strong>.</p><h2>Replica de Mashable Simple</h2><p
style="text-align: left;">A diferencia de la opción anterior esta barra es <strong>compatible </strong>con <strong>IE6</strong>, pero no podrá ser apreciada en resoluciones menores. El <em>scroll </em>para este caso es una animación del <em><code>padding</code> </em>que produce un simpático efecto final.</p><h3><a
href="http://eliseos.net/test/easy/demo2.html">Demo Replica de Mashable</a></h3><h2>HTML</h2><p
style="text-align: left;">Es casi el mismo <em>markup </em>de la primera opción pero sin incluir los botones pequeños ya que no son necesarios.</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;social_bar_wrapper&quot;</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;social_bar&quot;</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;botones_contenedor&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gbuzz s_boton&quot;</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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://button.njuice.com/buzz.js&quot;</span>&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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tweetmeme s_boton&quot;</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>
tweetmeme_source = 'baires';
tweetmeme_url = '<span style="color: #009900;">&lt;?php the_permalink<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; ?&gt;</span>';
&nbsp;
<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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://tweetmeme.com/i/scripts/button.js&quot;</span>&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: #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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;faceboook s_boton&quot;</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://widgets.fbshare.me/files/fbshare.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: #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: #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>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">target</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;_blank&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://feedburner.google.com/fb/a/mailverify?uri=EliseosNet&amp;amp;loc=es_ES&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_email&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;social_sprites&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_email&quot;</span>&gt;</span>email<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
				<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;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_boton&quot;</span>&gt;</span>
					<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;a2a_dd social_sprites&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_share&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.addtoany.com/share_save?linkname=My%20Sitio&amp;amp;linkurl=mi-url.com&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s_sharethis&quot;</span>&gt;</span>Share<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&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>
a2a_linkname=&quot;My Sitio&quot;;a2a_linkurl=&quot;mi-url.com&quot;;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;&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> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://static.addtoany.com/menu/page.js&quot;</span>&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: #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>
		<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
style="text-align: left;">También se ha añadido un <em><code>wrapper</code></em>a la barra para poder controlar el <em><code>margin</code></em>.</p><h2>CSS</h2><p
style="text-align: left;">Es exactamente el mismo de la primera opción, con el adicional de <em><code>wrapper</code> </em> y sin los botones pequeños.</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#social_bar_wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:<span style="color: #993333;">none</span> </span>repeat <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#DDDDDD</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;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-80px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* // La distacia de la barra que queremos tener en relacion al post */</span>
<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* // Formato de los Botones grandes */</span>
<span style="color: #6666ff;">.s_boton</span> <span style="color: #00AA00;">&#123;</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;">clear</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;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* //Iconos para los links de Share y Email */</span>
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #cc00cc;">#s_email</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">-32px</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: #cc00cc;">#social_bar</span> a<span style="color: #3333ff;">:hover</span><span style="color: #cc00cc;">#s_email</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">-50px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#4c545b</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #cc00cc;">#s_share</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #933;">4px</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #3333ff;">:hover</span><span style="color: #cc00cc;">#s_share</span><span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #933;">-14px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#4c545b</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>
&nbsp;
<span style="color: #cc00cc;">#social_bar</span> a<span style="color: #6666ff;">.social_sprites</span> <span style="color: #00AA00;">&#123;</span>
-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">3px</span> <span style="color: #933;">3px</span> <span style="color: #933;">3px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/social_sprites.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#E8E8E8</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#989898</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #933;">9px</span>/<span style="color: #cc66cc;">1.625</span> verdana<span style="color: #00AA00;">,</span><span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</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;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">44px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p
style="text-align: left;">Quizás lo único que tengas que modificar es la distancia a la que se encuentra la barra con respecto del contenido, para este ejemplo es -80px (dentro de <em><code>#social_bar</code></em>). No te excedas en mas de <strong>-100px </strong>o no sera visible en varias resoluciones.</p><h2>jQuery</h2><p
style="text-align: left;">Como te lo adelante anteriormente solamente animamos el <em><code>padding</code> </em>(gracias <a
href="http://css-tricks.com/scrollfollow-sidebar/">CSS Tricks</a>), no es necesario modificar este código a no ser que sepas lo que estas haciendo.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td
class="code"><pre class="javascript" style="font-family:monospace;">	$<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>
&nbsp;
    <span style="color: #003366; font-weight: bold;">var</span> $sidebar   <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#social_bar&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        $window    <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        offset     <span style="color: #339933;">=</span> $sidebar.<span style="color: #660066;">offset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        topPadding <span style="color: #339933;">=</span> <span style="color: #CC0000;">15</span><span style="color: #339933;">;</span>
&nbsp;
    $window.<span style="color: #000066;">scroll</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: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>$window.<span style="color: #660066;">scrollTop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> offset.<span style="color: #660066;">top</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            $sidebar.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
                marginTop<span style="color: #339933;">:</span> $window.<span style="color: #660066;">scrollTop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> offset.<span style="color: #660066;">top</span> <span style="color: #339933;">+</span> topPadding
            <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: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
            $sidebar.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
                marginTop<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</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;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p
style="text-align: left;">Por ultimo solo resta presentar todo en nuestro diseño y tendremos otra alternativa a a barra de Mashable.</p><p
style="text-align: left;">Cualquier duda que tengas, hacémelo saber.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/destacadas/crea-barra-compartir-entradas-estilo-mashable/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Crea un Slider vistoso con jqFancyTransitions</title><link>http://eliseos.net/jquery/crea-slider-vistoso-jqfancytransitions/</link> <comments>http://eliseos.net/jquery/crea-slider-vistoso-jqfancytransitions/#comments</comments> <pubDate>Thu, 04 Mar 2010 22:58:41 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[slider]]></category> <category><![CDATA[slideshow]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2738</guid> <description><![CDATA[jqFancyTransitions es un Slideshow potenciado por jQuery que te permitirá crear Slideshows con la particularidad de añadir destacados efectos a cada transición, de ahi su nombre]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="jqFancyTransitions  slideshow with strip effects" href="http://workshop.rs/projects/jqfancytransitions/">jqFancyTransitions</a> es un Slideshow potenciado por <strong>jQuery</strong> que te permitirá crear <strong>Slideshows</strong> con la particularidad de añadir destacados efectos a cada transición, de ahí su nombre. La idea base de jqFancyTransitions es lograr el efecto cortina en las transiciones, junto con algunos efectos adicionales y la posibilidad de crear los nuestros.</p><p
style="text-align: center;"><a
href="http://workshop.rs/projects/jqfancytransitions/"><img
class="alignnone size-full wp-image-2739" title="jqFancyTransitions  slideshow with strip effects" src="http://eliseos.net/wp-content/uploads/2010/03/jqFancyTransitions.jpg" alt="jqFancyTransitions Crea un Slider vistoso con jqFancyTransitions " width="500" height="250" /></a></p><p
style="text-align: left;">Su funcionamiento es de lo mas simple, solo debemos crear un <em>container</em> con algunas imágenes dentro:</p><div
class="wp_syntax"><div
class="code"><pre class="html" style="font-family:monospace;">&lt;div id='slideshowHolder'&gt;
&lt;img src='img1.jpg' alt='img1' /&gt;
&lt;img src='img2.jpg' alt='img2' /&gt;
&lt;img src='img3.jpg' alt='img3' /&gt;
&lt;/div&gt;</pre></div></div><p
style="text-align: left;">Y luego iniciar el plugin:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slideshowHolder'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">jqFancyTransitions</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> width<span style="color: #339933;">:</span> <span style="color: #CC0000;">400</span><span style="color: #339933;">,</span> height<span style="color: #339933;">:</span> <span style="color: #CC0000;">300</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p
style="text-align: left;">Esta es la configuración por defecto, donde solo indicamos el ancho y el alto del Slider, si lo necesitáramos (seguramente) podemos indicar que efecto necesitamos, delay en las transiciones, etc.</p><p
style="text-align: left;">jqFancyTransitions cuenta con un demo online, donde podrás observar todos los efecto que comente anteriormente junto con la <a
title="jqFancyTransitions Docs" href="http://workshop.rs/2009/12/image-gallery-with-fancy-transitions-effects/">documentación necesaria</a>.Y por ultimo, este plugin prueba ser compatible con Safari 2+, Internet Explorer 6+, Firefox 2+, Google Chrome 3+, Opera 9+.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/crea-slider-vistoso-jqfancytransitions/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Utiliza el tag &lt;video&gt; en todos los navegadores</title><link>http://eliseos.net/general/utiliza-tag-video-todos-navegadores/</link> <comments>http://eliseos.net/general/utiliza-tag-video-todos-navegadores/#comments</comments> <pubDate>Mon, 01 Mar 2010 22:56:21 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[jQuery]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2713</guid> <description><![CDATA[Con html5media lograremos poder utilizar el nuevo tag &#60;video&#62; (HTML5) para poder reproducir videos en la mayoría de los navegadores que no soportan dicho tag]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Con <a
title="html5media" href="http://code.google.com/p/html5media/">html5media </a>lograremos poder utilizar el nuevo tag <em>&lt;video&gt;</em> (HTML5) para poder reproducir videos en la mayoría de los navegadores que no soportan dicho tag.</p><p
style="text-align: center;"><a
href="http://code.google.com/p/html5media/"><img
src="http://eliseos.net/wp-content/uploads/2010/03/html5media.jpg" alt="html5media Utiliza el tag &lt;video&gt; en todos los navegadores" title="html5media" width="500" height="250" class="alignnone size-full wp-image-2715" /></a></p><p
style="text-align: left;">Si el visitante utiliza un navegador no soportado para el tag <em>&lt;video&gt;</em>, el plugin reemplazara el tag por el reproductor <a
title="Flowplayer" href="http://flowplayer.org/">Flowplayer</a>, logrando así una consistencia en todos los navegadores.</p><p
style="text-align: left;">Este plugin soporta los formatos <strong>MP4</strong>, utilizando el codec <em>h.264 </em>y el <strong>OGV </strong>a través del codec <em>Theora</em>. Como si fuera poco, en html5media disponemos una serie de controles para tomar control sobre el video; como ser:</p><ul><li>Control: Posibilidad de mostrar los botones (controles) del reproductor</li><li>Autobuffer: Comenzar a cargar el video automáticamente</li><li>Autoplay: Reproducir el video automáticamente</li><li>Loop: Reproducir el video constantemente</li><li>Splash image: añadir una imagen a modo de introducción el nuestro reproductor.</li></ul><p
style="text-align: left;">Para utilizar este maravilloso plugin, solo debemos realizar el llamado dentro de nuestro header:</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://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://html5media.googlecode.com/svn/trunk/src/jquery.html5media.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">Y seguir la siguiente sintaxis:</p><div
class="wp_syntax"><div
class="code"><pre class="html" style="font-family:monospace;">&lt;video src=&quot;video.mp4&quot; width=&quot;320&quot; height=&quot;240&quot; controls autobuffer&gt;&lt;/video&gt;</pre></div></div><p
style="text-align: left;">Y si necesitáramos servir dos versiones del mismo video (Theora y h.254)</p><div
class="wp_syntax"><div
class="code"><pre class="html" style="font-family:monospace;">&lt;video class=&quot;video&quot; poster=&quot;cat.jpg&quot; width=&quot;352&quot; height=&quot;264&quot; controls autobuffer&gt;
    &lt;source src=&quot;cat.mp4&quot; type='video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;'&gt;
    &lt;source src=&quot;cat.ogv&quot; type='video/ogg; codecs=&quot;theora, vorbis&quot;'&gt;
&lt;/video&gt;</pre></div></div><p
style="text-align: left;">Por ultimo no te olvides que puedes<a
title="Demo html5media" href="http://static.etianen.com/html5media/"> visualizar un demo</a> del funcionamiento de este plugin.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/general/utiliza-tag-video-todos-navegadores/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Botones a la Google con jQuery</title><link>http://eliseos.net/jquery/botones-google-jquery/</link> <comments>http://eliseos.net/jquery/botones-google-jquery/#comments</comments> <pubDate>Mon, 25 Jan 2010 23:32:16 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[botones]]></category> <category><![CDATA[google]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2617</guid> <description><![CDATA[Con este plugin para jQuery estaremos imitando casi al detalle los botones que encontrás en los productos de Google: Gmail, Adsense, etc]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Con este <a
title="jQuery imageless buttons a la Google" href="http://swizec.com/code/styledButton/">plugin para jQuery</a> estaremos imitando casi al detalle los botones que encontrás en los productos de Google: Gmail, Adsense, etc.</p><p
style="text-align: center;"><a
href="http://swizec.com/code/styledButton/"><img
class="alignnone size-full wp-image-2618" title="Botones con jQuery a la google" src="http://eliseos.net/wp-content/uploads/2010/01/Botones-con-jQuery-a-al-google.jpg" alt="Botones con jQuery a al google Botones a la Google con jQuery" width="500" height="250" /></a></p><p
style="text-align: left;">Mas de alguna vez te habrás preguntado como lograr ese estilo en los botones, por suerte con escasas lineas de código podrás recrear ese efecto.</p><p
style="text-align: left;">Lograremos utilizar y definir la posición de los botones, apilarlos, usar Checkboxes o Dropdown, y todos los estilos de botones que podrías encontrar en los productos de Google.</p><p
style="text-align: left;">Este plugin no utiliza imagenes, ya que todo su poder se encuentra en jQuery y CSS. Su utilización es muy simple; solo necesitamos jQuery, el Plugin (styledButton) y el estilo referido al plugin.</p><p
style="text-align: left;">Una vez cumplido los requisitos, solo restaría inicializar el plugin y definir nuestro marktup. Por una cuestión de mantener la semántica en nuestro código, debemos usar un <em><code>span</code></em> para llamar al plugin darle vida al boton.</p><p
style="text-align: left;">Estos botones se verán de la misma manera en la mayoría de los navegadores modernos, incluso en IE6.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/botones-google-jquery/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Editor WYSIWYG HTML para jQuery</title><link>http://eliseos.net/jquery/editor-wysiwyg-html-jquery/</link> <comments>http://eliseos.net/jquery/editor-wysiwyg-html-jquery/#comments</comments> <pubDate>Tue, 12 Jan 2010 22:04:55 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[javascript]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2573</guid> <description><![CDATA[jHtmlArea es lo que se llama un editor WYSIWYG HTML muy liviano y construido en jQuery. Este editor de dará la posibilidad de insertar tu editor WYSIWYG HTML donde se lo indiques]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="tmlArea - WYSIWYG HTML Editor for jQuery" href="http://jhtmlarea.codeplex.com/">jHtmlArea</a> es lo que se llama un editor WYSIWYG HTML muy liviano y construido en jQuery. Este editor de dará la posibilidad de insertar tu editor WYSIWYG HTML donde se lo indiques.</p><p
style="text-align: center;"><a
href="http://jhtmlarea.codeplex.com/"><img
class="alignnone size-full wp-image-2574" title="jHtmlArea - WYSIWYG HTML Editor for jQuery" src="http://eliseos.net/wp-content/uploads/2010/01/jHtmlArea-WYSIWYG-HTML.jpg" alt="jHtmlArea WYSIWYG HTML Editor WYSIWYG HTML para jQuery" width="500" height="250" /></a></p><p><span
id="more-2573"></span></p><p
style="text-align: left;">Como lo mencione anteriormente, este es un editor muy liviano, solo 9 kb comprimidos y tan solo 25 Kb para las imágenes. Podemos usar su configuración por defecto o instruirlo para que se comporte acorde a nuestras necesidades, como ser incluir y excluir botones o también la posibilidad de de incluir un botón para guardar lo tipeado en el box.</p><p
style="text-align: left;">La integración es de lo mas sencilla, solo debemos incluir el plugin, las imágenes y la hoja de estilo e identificar nuestro <em><code>textarea</code></em>.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<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;textarea&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">htmlarea</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
style="text-align: left;">Por ejemplo podríamos incluir el editor en el box de los comentarios de nuestro Blog para bien de los usuarios.</p><p
style="text-align: left;">Esta es una simple configuración, en la <a
href="http://pietschsoft.com/post/2009/07/21/jHtmlArea-The-all-NEW-HTML-WYSIWYG-Editor-for-jQuery.aspx">documentación</a> encontraras como manipular el editor a tus necesidades.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/editor-wysiwyg-html-jquery/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>TipTip un jQuery Plugin para crear Tooltips</title><link>http://eliseos.net/jquery/tiptip-jquery-crear-tooltips/</link> <comments>http://eliseos.net/jquery/tiptip-jquery-crear-tooltips/#comments</comments> <pubDate>Mon, 11 Jan 2010 19:52:16 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2561</guid> <description><![CDATA[TipTip es otro plugin para jQuery con el que podremos crear Tooltips en nuestros links de manera dinámica. A diferencia de sus competidores TipTip, no utiliza imágenes y es 100% personalizable vía ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="TipTip jQuery Plugin" href="http://code.drewwilson.com/entry/tiptip-jquery-plugin/">TipTip</a> es otro plugin para jQuery con el que podremos crear Tooltips en nuestros links de manera dinámica. A diferencia de sus competidores TipTip, no utiliza imágenes y es 100% personalizable vía CSS.</p><p
style="text-align: center;"><a
href="http://code.drewwilson.com/entry/tiptip-jquery-plugin/"><img
class="alignnone size-full wp-image-2562" title="TipTip jQuery Plugin" src="http://eliseos.net/wp-content/uploads/2010/01/TipTip-jQuery-Plugin.jpg" alt="TipTip jQuery Plugin TipTip un jQuery Plugin para crear Tooltips" width="500" height="250" /></a></p><p><span
id="more-2561"></span></p><p
style="text-align: left;">Uno de los puntos fuertes es qu el plugin detecta automáticamente los bordes de la ventana en el navegador y nos permite que el Toolti se muestre arriba, abajo, en la izquierda o derecha; según sea necesario.</p><p
style="text-align: left;">TipTip trabaja con el atributo <em><code>title</code></em> para mostrar el Tooltip y solo necesitaremos definir nuestra <em><code>class</code></em> para hacerlo funcionar. También, cuenta con varias opciones para controlar su comportamiento.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/tiptip-jquery-crear-tooltips/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Google Maps, un plugin para jQuery</title><link>http://eliseos.net/jquery/google-maps-plugin-jquery/</link> <comments>http://eliseos.net/jquery/google-maps-plugin-jquery/#comments</comments> <pubDate>Thu, 07 Jan 2010 04:14:51 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[google]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2547</guid> <description><![CDATA[Google Maps jQuery Plugin es una forma sencilla de integrar mapas de Google donde lo necesitemos. Seguramente mas de una ves has necesitado embeber un mapa, pero se te ha hecho complicado o no has terminado de entender el ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="Google Maps jQuery Plugin" href="http://www.mayzes.org/googlemaps.jquery.html">Google Maps jQuery Plugin</a> es una forma sencilla de integrar mapas de Google donde lo necesitemos. Seguramente mas de una ves has necesitado embeber un mapa, pero se te ha hecho complicado o no has terminado de entender el API.</p><p
style="text-align: center;"><a
href="http://www.mayzes.org/googlemaps.jquery.html"><img
class="alignnone size-full wp-image-2548" title="Google Maps jQuery Plugin" src="http://eliseos.net/wp-content/uploads/2010/01/Google-Maps-jQuery-Plugin.jpg" alt="Google Maps jQuery Plugin Google Maps, un plugin para jQuery" width="500" height="250" /></a></p><p><span
id="more-2547"></span></p><p
style="text-align: left;">Con este plugin solo necesitas tu API key que se obtiene rápidamente desde <a
title="Sign Up for the Google Maps API" href="http://code.google.com/apis/maps/signup.html">Google</a> y ya podrás comenzar a embeber tus mapas.</p><p
style="text-align: left;">Entre varias de las ventajas que cuenta es plugin es la posibilidad de personalizar casi cualquier aspecto del mapa y exprimir el APi al máximo. Por ejemplo podremos insertar latitudes y longitudes exactas, insertar una polyline (ruta), capas y marcadores y muchas mas funciones.</p><p
style="text-align: left;">Este plugin pesa menos de 10 Kb., el aspecto del container del mapa es controlado vía CSS para que el usuario final pueda controlar los estilos y es compatible con la mayoría de los navegadores modernos.</p><p
style="text-align: left;">La documentación es muy amena y habla por si sola y te resultara muy fácil de entender.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/google-maps-plugin-jquery/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Meerkat plugin para jQuery pensado para promociones</title><link>http://eliseos.net/jquery/meerkat-plugin-jquery-pensado-promociones/</link> <comments>http://eliseos.net/jquery/meerkat-plugin-jquery-pensado-promociones/#comments</comments> <pubDate>Mon, 21 Dec 2009 20:26:41 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2514</guid> <description><![CDATA[Meerkat se comporta como una ventana pop-up o una ventana modal, pero la idea de su concepción se basa en poder ofrecer un slide que se degrada según nuestras necesidades, para mostrar, por ejemplo un anuncio o información ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="Meerkat" href="http://jarodtaylor.com/meerkat/">Meerkat</a> se comporta como una ventana pop-up o una ventana modal, pero la idea de su concepción se basa en poder ofrecer un slide que se degrada según nuestras necesidades, para mostrar, por ejemplo un anuncio o información importante.</p><p><span
id="more-2514"></span></p><p
style="text-align: center;"><a
href="http://jarodtaylor.com/meerkat/"><img
class="alignnone size-full wp-image-2515" title="Meerkat  jQuery Plugin" src="http://eliseos.net/wp-content/uploads/2009/12/merrkat.jpg" alt="merrkat Meerkat plugin para jQuery pensado para promociones" width="500" height="250" /></a></p><p
style="text-align: left;">Según la configuración que usemos con Meerkat estaremos logrando un slider en el top o bottom de la pagina. Contamos con una opción para cerrar el slider y determinar su comportamiento, es decir cuando se mostrara, y por que periodo de tiempo: hasta que finalice la sesión o por un periodo de tiempo especifico.</p><p
style="text-align: left;">Podemos usar este plugin como herramienta de marketing o como una pagina splash a modo de introducción o bienvenida.</p><p
style="text-align: left;">Meerkat cuenta con <a
title="Merrkat Demos" href="http://jarodtaylor.com/meerkat/demos/">tres demos muy bien documentados</a> para que puedas implementar este plugin.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/meerkat-plugin-jquery-pensado-promociones/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Texto vertical con jQuery</title><link>http://eliseos.net/jquery/texto-vertical-jquery/</link> <comments>http://eliseos.net/jquery/texto-vertical-jquery/#comments</comments> <pubDate>Mon, 07 Dec 2009 20:22:46 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2383</guid> <description><![CDATA[Seguramente alguna vez tuviste la necesidad de tener un texto vertical en tus diseños. Muchas opciones no contamos para lograr esto, o trabajamos con imágenes o trabajamos con el filtro flipv() que es exclusivo de Internet Explorer]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Seguramente alguna vez tuviste la necesidad de tener un texto vertical en tus diseños. Muchas opciones no contamos para lograr esto, o trabajamos con imágenes o trabajamos con el filtro <em><code>flipv()</code></em> que es exclusivo de Internet Explorer.</p><p
style="text-align: center;"><a
href="http://code.google.com/p/mbideasproject/wiki/mbFlipText"><img
class="alignnone size-full wp-image-2386" title="mbFlipText" src="http://eliseos.net/wp-content/uploads/2009/12/mbFlipText.jpg" alt="mbFlipText Texto vertical con jQuery" width="500" height="250" /></a></p><p
style="text-align: left;"><strong><a
title="mbFlipText" href="http://code.google.com/p/mbideasproject/wiki/mbFlipText">mbFlipText</a></strong> viene a llenar ese vació, poder introducir un texto vertical que sea seleccionable y sin la necesidad de recurrir a imágenes. Su funcionamiento es muy sencillo, el plugin transforma un elemento del DOM dado, como un <em><code>div</code></em> o <em><code>span</code></em> en un elemento SVG.</p><p
style="text-align: left;">Contamos con dos opciones: trabajar con texto vertical desde arriba hacia abajo o viceversa.</p><h2>El call en JS</h2><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.tb&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mbFlipText</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #006600; font-style: italic;">//Orientacion: de arriba hacia abajo</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.bt&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mbFlipText</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #006600; font-style: italic;">// Orientacion de abajo a hacia arriba</span></pre></div></div><h2>Nuestro Markup</h2><div
class="wp_syntax"><div
class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;tb&quot;&gt;&quot;de arriba hacia abajo&quot;&lt;/div&gt;
&lt;div class=&quot;bt&quot;&gt;&quot;abajo hacia arriba&quot;&lt;/div&gt;</pre></div></div><p
style="text-align: left;">Como IE es el unico navegador que no soporta los elementos SVG nativamente, deberos hacer uso de como lo mencione mas arriba del filtro <em><code>flipv()</code></em></p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/texto-vertical-jquery/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Un nuevo jQuery Slider: bxSlider</title><link>http://eliseos.net/jquery/nuevo-jquery-slider-bxslider/</link> <comments>http://eliseos.net/jquery/nuevo-jquery-slider-bxslider/#comments</comments> <pubDate>Tue, 01 Dec 2009 20:57:24 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[slider]]></category> <category><![CDATA[slideshow]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2371</guid> <description><![CDATA[bxSlider es otro plgugin para jQuery pensado para crear sliders y tickers. Cuenta con un tamaño bastante pequeño, solo 8 kb y varias opciones para su configuración]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><strong><a
title="bxSlider" href="http://bxslider.com/">bxSlider</a></strong> es otro plgugin para jQuery pensado para crear sliders y tickers. Cuenta con un tamaño bastante pequeño, solo 8 kb y varias opciones para su configuración.</p><p
style="text-align: center;"><a
href="http://bxslider.com/"><img
src="http://eliseos.net/wp-content/uploads/2009/12/bxSlider.jpg" alt="bxSlider Un nuevo jQuery Slider: bxSlider" title="bxSlider" width="500" height="250" class="alignnone size-full wp-image-2372" /></a></p><p><span
id="more-2371"></span></p><p
style="text-align: left;">Con bxSliderodemos:</p><ul><li>Elegir el modo del slider: slide, fade o ticker</li><li>La duración de las transiciones</li><li>Transiciones automáticas, o no</li><li>Ancho del container, en pixels</li><li>Textos a mostrar para los controles</li></ul><p>Para hacer la llamada a bxSlider solo debemos:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#mi_ID'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slider</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	mode<span style="color: #339933;">:</span> <span style="color: #3366CC;">'slide'</span><span style="color: #339933;">,</span>
	speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">250</span><span style="color: #339933;">,</span>
	wrapper_class<span style="color: #339933;">:</span> <span style="color: #3366CC;">'mi_slider'</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://eliseos.net/jquery/nuevo-jquery-slider-bxslider/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: eliseos.net @ 2010-03-16 08:33:56 by W3 Total Cache -->