Ver Mensaje Individual
  #7 (permalink)  
Antiguo 23/11/2015, 12:24
Avatar de cheny09
cheny09
 
Fecha de Ingreso: noviembre-2015
Mensajes: 4
Antigüedad: 8 años, 5 meses
Puntos: 0
Respuesta: como ejecutar funcion cuando scroll esta a 100px del bottom

ya lo he logrado he cambiado la linea:
if (jQuery(window).scrollTop() == jQuery(document).height() - jQuery(window).height()){

por:

if (jQuery(window).scrollTop() >= (jQuery(document).height() - jQuery(window).height())*0.7){