This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Objeto console. Ver descripción detallada en | |
| https://developer.mozilla.org/en-US/docs/Web/API/console */ | |
| /* Escribe un mensaje en la consola JS del navegador */ | |
| console.log('Hola consola'); | |
| /* Escribe un mensaje de información en la consola JS del navegador */ | |
| console.info('Te informo la fecha de hoy: %s', new Date()); | |
| /* Escribe un mensaje de alerta en la consola JS del navegador */ | |
| console.warn('Te advierto consola'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| var start=new Date(); | |
| start=Date.parse(start)/1000; | |
| var counts=10; | |
| function CountDown() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| var startday = new Date(); | |
| var clockStart = startday.getTime(); | |
| function initStopwatch() | |
| { | |
| var myTime = new Date(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| namespace Romanos | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String.prototype.capitalize = function() { | |
| return this.replace( /(^|\s)([a-z])/g , function(m,p1,p2){ return p1+p2.toUpperCase(); }); | |
| }; | |
| //Ejemplo de uso | |
| var miString = "hola a todos"; | |
| alert(miString.capitalize()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Prueba PopUp</title> | |
| </head> | |
| <body> | |
| <h1>Prueba PopUp</h1> | |
| <a href="PopUpBueno.htm" target="popup" onClick="window.open(this.href, this.target, 'width=300,height=400'); return false;">Lanzar correctamente</a> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
| <script> | |
| function ordenarSelect(id_componente) | |
| { | |
| var selectToSort = jQuery('#' + id_componente); | |
| var optionActual = selectToSort.val(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void modificarComponentes() | |
| { | |
| ToolTip tTBotonesEdicion = new ToolTip(); | |
| tTBotonesEdicion.AutoPopDelay = 5000; | |
| tTBotonesEdicion.InitialDelay = 1000; | |
| tTBotonesEdicion.ReshowDelay = 500; | |
| tTBotonesEdicion.ShowAlways = true; | |
| tTBotonesEdicion.SetToolTip(this.botonAgregar, "Agregar consumible"); | |
| tTBotonesEdicion.SetToolTip(this.botonEditar, "Editar consumible"); | |
| tTBotonesEdicion.SetToolTip(this.botonEliminar, "Eliminar consumible"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <!-- Plantilla de sitio de tres columnas en HTML5 --> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta name="author" content="JMSR"> | |
| <meta name="description" content="Plantilla para documento HTML 5"> | |
| <meta name="keywords" content="HTML, CSS"> | |
| <title>Plantilla para documento HTML 5</title> |
NewerOlder