On Aug 21, 3:06 pm, Jurgis Pralgauskis <[email protected]>
wrote:
> one more issue with flash and components,
> if the page is scrolled down, user won't see the flash, as it pops
> somewhere outside viewport.
>
> maybe we could ask jquery to pop it inside viewport (or maybe inside
> the component div)
>
> I'v searched around, and seems jquery doesn't have straight solution
> but there are recipies:
> http://forum.jquery.com/topic/centering-an-image-in-the-viewport
> http://jsbin.com/ilafa/2/edit
or maybe
http://forum.jquery.com/topic/scrolling-toggled-elements-to-top-of-viewport