Skip to content

Instantly share code, notes, and snippets.

@saleiva
Forked from anonymous/gist:4266841
Created January 9, 2013 10:33
Show Gist options
  • Save saleiva/4492201 to your computer and use it in GitHub Desktop.
Save saleiva/4492201 to your computer and use it in GitHub Desktop.
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');
}
}
function siguiente(){
if(posicion == x+1){
console.log('siguienteDiapositiva');
}else if(posicion == n){
console.log('fin');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment