Created
December 12, 2012 10:44
-
-
Save massimilianop7/4266821 to your computer and use it in GitHub Desktop.
implementar siguiente () y anterior() que nos permitan ir de la diapositiva actual a la siguiente/anterior
This file contains 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 numeros = new Array() | |
function numerodiapositiva(x){ | |
for (var i=0; i<=x; i++){ | |
document.write(numeros[i]); | |
numeros[i] = i; | |
console.log(numeros[i]); | |
}; | |
} | |
function siguiente(x) { | |
var posicion = x; | |
var resultado = x +1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment