I have a scrollable panel that shows content larger than the screen
new Ext.Panel({
scroll: 'vertical',
html: 'very larger content here with an anchor. <p id="anchor">'
});
and (on a click event) I want to (programmatically) scroll the panel to a certain HTML element . Preferably even animated. In jquery I would do something along the lines of
$('html,body').animate({ scrollTop: $("#anchor").offset().top }, 'slow');