3.2.0

Saving the scroll position

Hi guys.. i hav a problem.

I hav some elements inside DIV, when user click in button i append an element into div, using:

[code]
// obj its a AW.HTML.DIV element
var newElementx = new AW.UI.Button;
obj.setContent("new_element_00", function() { return newElementx; });
obj.refresh();
[code]

My DIV is small and im using auto-scroll (overflow definition), when i add an element and refresh, my div reset the scroll to 0, but user need finish some stuffs so i need save the old scroll value and set it.

How can i do this? tkz.
Paulo Cesar Silva Reis (PC from Brazil).
May 10,

This topic is archived.

See also:


Back to support forum