<?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>Obraenlinea.com &#187; Tutoriales y ejemplos</title>
	<atom:link href="http://portal.obraenlinea.com/category/tutoriales-y-ejemplos/feed/" rel="self" type="application/rss+xml" />
	<link>http://portal.obraenlinea.com</link>
	<description>Desarrollo de aplicaciones y sitios web</description>
	<lastBuildDate>Wed, 24 Aug 2011 21:55:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tutorial para el diseño de Interfases WEB</title>
		<link>http://portal.obraenlinea.com/2009/05/tutorial-para-el-diseno-de-interfases-web/</link>
		<comments>http://portal.obraenlinea.com/2009/05/tutorial-para-el-diseno-de-interfases-web/#comments</comments>
		<pubDate>Wed, 27 May 2009 14:28:29 +0000</pubDate>
		<dc:creator>Administrador</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[diseño]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://portal.obraenlinea.com/?p=384</guid>
		<description><![CDATA[
Les presentamos la primera parte de la guía para la creación de interfases web. Fue desarrollado en Photoshop 6, pero se puede ejecutar en Photoshop CS 2 sin problemas.

Vía http://www.solophotoshop.com
 
1.- Preparación del Área de Trabajo.
Esta ...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-thumbnail wp-image-3408" title="photoshopcs2" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/photoshopcs2-150x150.jpg" alt="photoshopcs2" width="150" height="150" /></p>
<p>Les presentamos la primera parte de la guía para la creación de interfases web. Fue desarrollado en Photoshop 6, pero se puede ejecutar en Photoshop CS 2 sin problemas.</p>
<p style="text-align: justify;"><span id="more-384"></span></p>
<div style="text-align: justify;"><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;">Vía <a href="http://www.solophotoshop.com">http://www.solophotoshop.com</a></span></div>
<p><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"> </span></p>
<p style="font-weight: bold;">1.- Preparación del Área de Trabajo.</p>
<p style="text-align: justify;">Esta es nuestra Interface en pañales, tan sólo es un esbozo de lo que será. En ella podemos ver ya las medidas y las posiciones que ocuparán tanto el nombre de la empresa y el logotipo. Esta imagen la encuentras en el zip de imágenes en tamaño real, pero por si la quieres hacer desde cero, la imagen es de 800 600 px con fondo transparente.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-385" title="interfacelapizmedido" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacelapizmedido.gif" alt="interfacelapizmedido" width="532" height="407" /></p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;"><!--more--></p>
<p style="text-align: justify;">
<p style="text-align: justify;">A continuación Presiona Crtl + R para ver las Reglas, hecho esto podemos utilizar las guías: haz clic encima de una regla, vertical u horizontal según sea el caso, y sin soltar arrastra hacia el diseño, y con esto te aparece una guía. Usualmente de color azul, estas te dan mayor exactitud a la hora de dibujar. Hay que poner una en cada medida. La imagen te muestra cómo deben de quedar.</p>
<p style="text-align: justify;">Hay que activar el Salto: Ver&gt;Salto a&gt;Guias (View&gt;Snap To&gt;Guides)<br />
Una vez listas las guía podemos iniciar con nuestro diseño, lo primero que hay que hacer es dibujar los distintos elemento de fondo.</p>
<p style="text-align: center;"><img title="interfaceguias" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfaceguias.gif" alt="interfaceguias" width="450" height="339" /></p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"> </span></p>
<p style="font-weight: bold;">2. Diseño de Elementos Básicos de la Interface.</p>
<p>Crea una Nueva Capa: Capa&gt;Nueva Capa (Layer&gt;New Layer) luego toma la herramienta Marco Rectangular , haz clic y sin soltar crea un rectángulo vertical desde 0 hasta 140 px luego rellénala con un gris muy oscuro, casi negro (333333) y nos queda así, sin la capa de fondo (el dibujo a lápiz). Deselecciona Presionando Crtl + D.</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-392" title="interfacebase1" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase1-300x225.gif" alt="interfacebase1" width="300" height="225" /></p>
<p><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"> </span></p>
<p style="text-align: justify;">Hay que crear una Nueva Capa y con Marco Rectangular siguiendo las guías para formar la primera crestilla. Seguimos con la gama de grises, pero esta vez menos bajo aun (666666), y disminuimos su opacidad hasta un 50%.<br />
El rectángulo va de 90 a 520 px Horizontal y de 140 a 160 px vertical (cresta inferior)</p>
<p style="text-align: justify;">Ahora hay que crear una punta, para esto necesitamos ir a:<br />
Editar&gt;Transformar&gt;Distorsionar (Edit&gt;Transform&gt;Distort)</p>
<p style="text-align: justify;">Y presionando la tecla Shift arrastramos la punta inferior derecha de nuestro rectángulo hacia arriba. Finalmente Presiona Aceptar (Enter) en tu teclado.</p>
<p style="text-align: justify;">
<p><img title="interfacebase2" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase2.gif" alt="interfacebase2" width="162" height="385" /> <img style="margin: 10px 20px;" title="interfacebase3" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase3.gif" alt="interfacebase3" width="300" height="150" /></p>
<p><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"> </span></p>
<p align="left">Deselecciona.</p>
<p style="text-align: justify;">Duplicamos esta capa arrastrándola hasta el icono de Nueva Capa (New Layer) en la paleta de Capas.Presiona Ctrl + T o ve a: Editar&gt;Transformar&gt;Escalar (Edit&gt;Transform&gt;Scale) y arrastra la parte inferior de la forma hasta guía de 495 px horizontal. Pon la opacidad de esta capa en 75% (cresta media). Haz lo mismo con otra, duplica la primera, sin embargo colócala a la altura de la guía de 470 px horizontal y una opacidad del 100% (cresta superior).</p>
<p><img class="aligncenter size-full wp-image-401" title="interfacebase8" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase8.gif" alt="interfacebase8" width="330" height="91" /></p>
<p align="left"><img title="interfacebase4" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase4.gif" alt="interfacebase4" width="112" height="104" /> <img title="interfacebase5" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase5.gif" alt="interfacebase5" width="112" height="104" /> <img title="interfacebase6" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase6.gif" alt="interfacebase6" width="112" height="104" /></p>
<p style="text-align: justify;"><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;">En este momento nos viene bien ver la capa de fondo, color blanco, para empezar a distinguir entre los distintos componentes de la Interface, que no son blancos. Crea una Nueva Capa (New Layer) y rellénala de blanco. Y ahora sí podemos distinguir claramente el efecto de las transparencias en las crestillas.</span></p>
<p align="left"><img class="aligncenter size-full wp-image-400" title="interfacebase7" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase7.gif" alt="interfacebase7" width="200" height="218" /></p>
<p><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"> </span></p>
<p style="text-align: justify;">Así es como vamos en las capas, tan sólo son 5 junto a nuestro fondo blanco artificial.</p>
<p style="text-align: justify;">Para nombrar a las capas debes de hacer clic con el botón derecho del Ratón sobre la capa y del menú emergente seleccionar Propiedades de Capa (Layer Properties).</p>
<p><span style="word-spacing: 0px; font: 12px Tahoma; text-transform: none; color: #333333; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;">Hemos terminado los elementos del fondo y así vamos hasta ahora:</span></p>
<p><img class="aligncenter size-full wp-image-402" title="interfacebase9" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/interfacebase9.gif" alt="interfacebase9" width="450" height="338" /></p>
]]></content:encoded>
			<wfw:commentRss>http://portal.obraenlinea.com/2009/05/tutorial-para-el-diseno-de-interfases-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mostrar un mensaje de alerta al cargar una página</title>
		<link>http://portal.obraenlinea.com/2009/05/mostrar-un-mensaje-de-alerta-al-cargar-una-pagina/</link>
		<comments>http://portal.obraenlinea.com/2009/05/mostrar-un-mensaje-de-alerta-al-cargar-una-pagina/#comments</comments>
		<pubDate>Tue, 26 May 2009 21:41:03 +0000</pubDate>
		<dc:creator>Administrador</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[código]]></category>
		<category><![CDATA[ejemplo]]></category>

		<guid isPermaLink="false">http://portal.obraenlinea.com/?p=365</guid>
		<description><![CDATA[ 


Iniciaremos ésta serie de posts, con una descripción rápida de lo que es JavaScript.

JavaScript es un lenguaje de programación interpretado, es decir, que no requiere compilación, utilizado principalmente en páginas web, con una sintaxis semejante a la del lenguaje ...]]></description>
			<content:encoded><![CDATA[<p> <img class="aligncenter size-medium wp-image-368" title="javascript" src="http://portal.obraenlinea.com/wp-content/uploads/2009/05/javascript-300x225.jpg" alt="javascript" width="300" height="225" /></p>
<div></div>
<p><span class="Apple-style-span" style="word-spacing: 0px; font: 13px/19px -webkit-sans-serif; text-transform: none; color: #000000; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"></p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"><strong>Iniciaremos ésta serie de posts, con una descripción rápida de lo que es JavaScript.</strong></p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"><strong></strong></p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"><strong>JavaScript</strong><span class="Apple-converted-space"> </span>es un<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Lenguaje interpretado" href="http://portal.obraenlinea.com/wiki/Lenguaje_interpretado">lenguaje de programación interpretado</a>, es decir, que no requiere<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Compilación" href="http://portal.obraenlinea.com/wiki/Compilaci%C3%B3n">compilación</a>, utilizado principalmente en páginas web, con una sintaxis semejante a la del<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Lenguaje de programación Java" href="http://portal.obraenlinea.com/wiki/Lenguaje_de_programaci%C3%B3n_Java">lenguaje Java</a><span class="Apple-converted-space"> </span>y el<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Lenguaje C" href="http://portal.obraenlinea.com/wiki/Lenguaje_C">lenguaje C</a>.</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"> </p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;">Al igual que<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Lenguaje de programación Java" href="http://portal.obraenlinea.com/wiki/Lenguaje_de_programaci%C3%B3n_Java">Java</a>, JavaScript es un lenguaje<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Programación orientada a objetos" href="http://portal.obraenlinea.com/wiki/Programaci%C3%B3n_orientada_a_objetos">orientado a objetos</a><span class="Apple-converted-space"> </span>propiamente dicho, ya que dispone de<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Herencia (programación orientada a objetos)" href="http://portal.obraenlinea.com/wiki/Herencia_(programaci%C3%B3n_orientada_a_objetos)">Herencia</a>, si bien ésta se realiza siguiendo el paradigma de<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Programación basada en prototipos" href="http://portal.obraenlinea.com/wiki/Programaci%C3%B3n_basada_en_prototipos">programación basada en prototipos</a>, ya que las nuevas clases se generan clonando las clases base (prototipos) y extendiendo su funcionalidad.</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"> Todos los<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Navegador web" href="http://portal.obraenlinea.com/wiki/Navegador_web">navegadores</a><span class="Apple-converted-space"> </span>modernos interpretan el código JavaScript integrado dentro de las páginas web. Para interactuar con una página web se provee al lenguaje JavaScript de una implementación del<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="DOM" href="http://portal.obraenlinea.com/wiki/DOM">DOM</a>.</p>
<p></span></p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"><span id="more-365"></span></p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;">El lenguaje fue inventado por<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Brendan Eich" href="http://portal.obraenlinea.com/wiki/Brendan_Eich">Brendan Eich</a><span class="Apple-converted-space"> </span>en la empresa<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Netscape Communications" href="http://portal.obraenlinea.com/wiki/Netscape_Communications">Netscape Communications</a>, que es la que desarrolló los primeros<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Navegador web" href="http://portal.obraenlinea.com/wiki/Navegador_web">navegadores web</a><span class="Apple-converted-space"> </span>comerciales. Apareció por primera vez en el producto de Netscape llamado<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Netscape Navigator" href="http://portal.obraenlinea.com/wiki/Netscape_Navigator">Netscape Navigator</a><span class="Apple-converted-space"> </span>2.0.</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;">Tradicionalmente, se venía utilizando en páginas web<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="HTML" href="http://portal.obraenlinea.com/wiki/HTML">HTML</a>, para realizar tareas y operaciones en el marco de la aplicación únicamente cliente, sin acceso a funciones del servidor. JavaScript se ejecuta en el<span class="Apple-converted-space"> </span><a class="mw-redirect" style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="Agentes de usuario" href="http://portal.obraenlinea.com/wiki/Agentes_de_usuario">agente de usuario</a><span class="Apple-converted-space"> </span>al mismo tiempo que las sentencias van descargándose junto con el código<span class="Apple-converted-space"> </span><a style="background-image: none; color: #002bb8; text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial;" title="HTML" href="http://portal.obraenlinea.com/wiki/HTML">HTML</a>.</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;">Vía Wikipedia.org</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"> </p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;">Aquí un ejemplo sencillo para mostrar un mensaje de alerta al cargar una página:</p>
<blockquote>
<div></div>
<p><span class="Apple-style-span" style="word-spacing: 0px; font: 13px/19px -webkit-sans-serif; text-transform: none; color: #000000; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;"></p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"> </p>
<p><span class="Apple-style-span" style="word-spacing: 0px; font: 13px -webkit-monospace; text-transform: none; color: #000000; text-indent: 0px; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0;">&lt;script language=&#8221;JavaScript&#8221; type=&#8221;text/javascript&#8221;&gt; alert(&#8221;Texto a mostrar, lo puedes modificar&#8221;); &lt;/script&gt; </span><br class="Apple-interchange-newline" /></p>
<p></span></p></blockquote>
<p> </p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"> Sólo es necesario copiar y pegar el  código anterior antes de la etiqueta &#8220;&lt;/head&gt;&#8221;,dentro de el html de la página que quieras que lo muestre.</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em; text-align: justify;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://portal.obraenlinea.com/2009/05/mostrar-un-mensaje-de-alerta-al-cargar-una-pagina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

