I have this script, running on a links list:
$('li#linkcat-25 a').bind('click', function (e) {
e.preventDefault();
$('#preview').load($(this).attr('href'));
$('#loading').show('fast');
$('#preview').hide('fast');
$('#preview').show('fast');
$('#loading').hide('fast');
});
How can I easly add a .scrollTo effect, so that clicking on one of those href elements will show/hide as proposed, and when finished, will smoothly scroll down to the #preview
div?
Thank you!