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
var array = new Array(); | |
console.log("Bienvenido a tu propio proyector de diapositivas"); | |
console.log("INSTRUCCIONES DE USO"); | |
console.log("Escribe: carrusel(el número de imágenes)"); | |
console.log("Una vez introducido el número, utiliza siguiente() para avanzar"); | |
console.log("y anterior() para retroceder"); | |
console.log("¡Feliz visionado!"); | |
var posicion = 0; |
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
var posicion= 0; | |
var mi_array= new Array(); | |
function presentacion(n){ //numero de diapositivas// | |
for(var i=0; i<=n; i++){ | |
mi_array[i] = i; | |
console.log('numeroDiapositivas'); | |
} | |
} |
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
var t; | |
var posicion=0; | |
var mi_array=new Array(); | |
//numero de diapositivas | |
//n es el numero de parámetros. | |
function presentacion(n){ | |
for(var i=0; i<=n; i++){ | |
mi_array[i]=i; | |
} |
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
//goto: https://twitter.com/messages?since_id=0 | |
// delete console.log | |
querySelectorAttempt._timerIDs = [] | |
function querySelectorAttempt(selectors, callback, _attempts){ | |
if (!Array.isArray(selectors)) selectors = selectors.toString().split(/\s*,\s*/) | |
console.log('querySelectorAttempt', selectors, _attempts) | |
if (_attempts == null) _attempts = 20; | |
var elements | |
selectors.forEach(function(selector){ |
OlderNewer