martes, 7 de junio de 2011

JavaScript - Ejemplo: Contactenos

En esta ocasión comenzaremos una serie de ejemplos practicos de JavaScript. Se encuentra el codigo HTML completo. Es decir si deseas verlo en funcionamiento simplemente copia todo el codigo, abre Bloc de Notas y guarda como .HTML. Después lo abres con cualquier navegador y listo.

Descripción
Permite dependiendo de la opción seleccionada asignar el correo del destinatario correspondiente.

Funciones Utilizadas
  • Value
  • Radio Buttom
  • Label
  • TextBox
  • If
  • Funciones 
  • OnChange

Codigo
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<TITLE>*** Bienvenidos ***</TITLE>

    <SCRIPT LANGUAGE = "javascript1.3">   

    onload=iniciar;

      // procedimiento de inicialización
      function iniciar()
      {
         // Asignar el valor por defecto
  
          document.form1.txtdestinatario.value         = "comercial@empresa.com.co";
      }

      function AsignarDestinatario()
      { 
            // Contactar Departamento Comercial
        if (document.form1.dpto[0].checked==true)
        {
            document.form1.txtdestinatario.value         = "comercial@empresa.com.co";
        }               

            // Contactar Departamento Tecnico
        if (document.form1.dpto[1].checked==true)
        {
            document.form1.txtdestinatario.value         = "dtecnico@empresa.com.co";
        }               
      }
     
      function UPTvalidateform(thisform)
      {

      }    

    </SCRIPT>


    <STYLE type="text/css">
   
    .style12
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
    }

    </STYLE>

</HEAD>

<BODY>

<FORM NAME = "form1" METHOD = "post" ACTION = "alert("Listo!");" onSubmit="return (!(UPTvalidateform(document.form1)));">

    <BR><BR>
    <LABEL CLASS="style12"><b>Destinatario</b> </LABEL>
    <INPUT NAME = "txtdestinatario" type = "text" CLASS="style12" readonly="readonly">

    <BR><BR>
    <LABEL CLASS="style12"><b>Contactar a Departamento</b>
   
    <BR>
    <LABEL CLASS="style12">Comercial</LABEL>
    <INPUT name="dpto" type="radio" value="Comercial" checked onChange="AsignarDestinatario()">
   
    <LABEL CLASS="style12">Tecnico</LABEL>
    <INPUT name="dpto" type="radio" value="Tecnico" onChange="AsignarDestinatario()">

    <BR><BR>   
    <INPUT NAME="reset" TYPE = "reset" CLASS="style12" VALUE="Borrar">
    <INPUT NAME="enviar" TYPE="submit" CLASS="style12" VALUE="Submit">

</FORM>

</BODY>

</HTML>

domingo, 5 de junio de 2011

Formateo optimo de tarjetas de memoria SD | Andromeda

Formateo optimo de tarjetas de memoria SD | Andromeda
Gracias por la información. Acabo de descargar la segunda aplicación recomendada y la voy a probar. Afortunadamente solo perdere una foto. Saludos!!!

miércoles, 1 de junio de 2011

Nancy Ajram - Ehsas Gedid (Arabic, English, Español)


Arabic
Ehsas Gedid
Ehsaas jedeed albak byzeed
Bet'hessou kelma thetalaa fiye
Enak aa'toul fiye mashghoul
Kteer b'teshtatly we bet'mou taal'aye


Ana ma'badhy elly kallam
ey'daweb alby haneen we gharam

Beykafeeny elly bahebik
Haydee el kelme tet'elny

Haddy bikoun, aalbak majnoun
Hatta nazrat ayounak majnoun
Bya'az aaleyk tref bai'neyk
Temroh she lahza betshoufa'noo


Ana ma'badhy elly kallam
ey'daweb alby haneen we gharam

Beykafeeny elly bahebik
Haydee el kelme tet'elny

Haddy bikoun, aalbak majnoun
Hatta nazrat ayounak majnoun
Bya'az aaleyk tref bai'neyk
Temroh she lahza betshoufa'noo


Ana ma'badhy elly kallam
ey'daweb alby haneen we gharam

Beykafeeny elly bahebik
Haydee el kelme tet'elny

Ehsaas jedeed albak byzeed
Bet'hessou kelma thetalaa fiye
Enak aa'toul fiye mashghoul
Kteer b'teshtatly we bet'mou taal'aye

English
A New feeling
A new feeling gets bigger in your heart
You feel it every time you look at me
That you are always thinking of me
You much long for me and die for me


I don't want you to tell me words
That melts my heart of longing and love

It's enough for me that you say, I love you
These words kill me

With me, your heart is crazy
Even the look in your eyes is crazy
It's difficult for you to close your eyes
To blink for a moment and not see my eye


I don't want you to tell me words
That melts my heart of longing and love

It's enough for me that you say, I love you
These words kill me

With me, your heart is crazy
Even the look in your eyes is crazy
It's difficult for you to close your eyes
To blink for a moment and not see my eye


I don't want you to tell me words
That melts my heart of longing and love

It's enough for me that you say, I love you
These words kill me

A new feeling gets bigger in your heart
You feel it every time you look at me
That you are always thinking of me
You much long for me and die for me

Español
Un nuevo sentimiento
Un nuevo sentimiento crece en tu corazón
Lo sientes cada vez que me miras
Tú siempre te preocupas por mí
Me extrañas demasiado
Y mueres de amor por mí

No quiero que me digas palabras
Que derritan mi corazón con ternura y amor

Es suficiente con que me digas Te amo
Esas palabras me matan

Cuando estas a mi lado tu corazón se enloquece
Hasta tu mirada se enloquece
Es raro que parpadees tus ojos
Ya que al cerrarlos por un momento,
No verías los míos

No quiero que me digas palabras
Que derritan mi corazón con ternura y amor

Es suficiente con que me digas Te amo
Esas palabras me matan

Cuando estas a mi lado tu corazón se enloquece
Hasta tu mirada se enloquece
Es raro que parpadees tus ojos
Ya que al cerrarlos por un momento,
No verías los míos

No quiero que me digas palabras
Que derritan mi corazón con ternura y amor

Es suficiente con que me digas Te amo
Esas palabras me matan

Un nuevo sentimiento crece en tu corazón
Lo sientes cada vez que me miras
Tú siempre te preocupas por mí
Me extrañas demasiado
Y mueres de amor por mí

http://lyricmusicarabic.blogspot.com/2010/07/lyric-ehsas-jedid-nancy-ajram.html
Arabic
نانسي عجرم - احساس جديد

إحساس جديد بقلبك بيزيد
بتحسه كل ما بتتطلع فيي
انك عطول فيي مشغول
كتير بتشتاق لي و بتموت عليي

أنا ما بدي تقللي كلام
يدوب قلبي حنين و غرام
بيكفيني تقللي بحبك
هيدي الكلمة بتقتلني

حدي بكون قلبك مجنون
حتى نظرات عيونك مجنونة
بيعز عليك ترف بعينيك
و تمرق شئ لحظة و ما تشوف عيوني