Jump to content

Crear barra de Bienvenida


Recommended Posts

  • 3 weeks later...

 

<script language="JavaScript">

mensagem = prompt("Por favor, ingresa tu nombre",'');

if (mensagem==null) {

document.write("¡Hola, visitante!")

}else{

if (mensagem=='') {

document.write("<b><font face=arial size=2 color=#000000>¡Hola, visitante!</font></b>")

}else{

document.write("<b><font face=arial size=2 color=#000000>¡Hola"+mensagem+"! Bienvenido a mi sitio</font></b>");

}

}

</script>

 

espero te sirva... saludos

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...