Try:
*return XML("$('%s').click(function(){$('html, body,
%s').animate({scrollTop:
$(document).height()}, %s); return false;});" %
(**button_id,div_id,speed
)*
Regards, Martin
2012/6/4 Hassan Alnatour
> Dear ALL ,
>
> I created a function to get a div and a button and a speed and then using
Dear ALL ,
I created a function to get a div and a button and a speed and then using
jquery scroll down to that div , now the function looks like this :
*def scrolldown(button_id,div_id,speed):
'''
Scroll down to the end of any div using a button and a speed
'''
return XML("$
2 matches
Mail list logo