Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Ejercicio 18 - Utilidades, Calendario</title>
- <link href="ejercicio18.css" rel="stylesheet" type="text/css"/>
- <script src="calendar.js" type="text/javascript"></script>
- <script src="calendar-es.js" type="text/javascript"></script>
- <script src="calendar-setup.js" type="text/javascript"></script>
- </head>
- <body>
- <p></p>
- <input type="hidden" name="fecha" id="fecha" />
- <span style="background-color: #ffc; cursor:default; padding:.3em; border:thin solid #ff0; text-decoration:underline; color: blue;"
- onmouseover="this.style.cursor='pointer'; this.style.cursor='hand'; this.style.backgroundColor='#ff8'; this.style.textDecoration='none';"
- onmouseout="this.style.backgroundColor='#ffc'; this.style.textDecoration='underline';"
- id="fecha_usuario">
- Pincha aqu� para seleccionar la fecha
- </span>
- <script type="text/javascript">
- Calendar.setup({
- inputField: "fecha",
- ifFormat: "%d/%m/%Y",
- weekNumbers: false,
- displayArea: "fecha_usuario",
- daFormat: "%A, %d de %B de %Y"
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement