Ver Mensaje Individual
  #9 (permalink)  
Antiguo 01/09/2014, 17:50
synatik
 
Fecha de Ingreso: agosto-2014
Mensajes: 10
Antigüedad: 9 años, 8 meses
Puntos: 0
Respuesta: Duda animacion JQuery

jajaja lo siento soy muy malo con el javascript

igualmente he cambiado la animación, ara es mucho mas sencilla.

el codigo sigue sin funcionarme xD intenta corregirme porfavor T.T

Código HTML:
var divs = document.querySelector("#animacion");

window.addEventListener("scroll", function(e){
    [].forEach.call(divs, function(animacion){
        if (this.scrollY > ("#animacion".offsetTop - document.documentElement.clientHeight)){
           jQuery(document).ready(function(){
	jQuery('.skillbar').each(function(){
		jQuery(this).find('.skillbar-bar').animate({
			width:jQuery(this).attr('data-percent')
		},6000);
	});
});
        }
        else
        }
    });
}, false);
Muchisimas gracias por todo ;)