('div.section:last')  ???

 

I'm trying to use it in this code:

 

$(document).ready(function() {

 

     $('#add-section').livequery('click', function() {

          $.scrollTo('div.section:last', 1000);

     });

 

});

 

FF3 does nothing with it.IE7 scrolls close to the top

of the page, rather than to towards the bottom

where the 'last div with class=section' has been created.

 

Ideas on how to make this work, anyone?

 

Thanks,

 

Rick

Reply via email to