Re: [cssom-view] Add a "smooth" parameter to scrollTo and scrollBy functions

On 3/19/13, Simon Pieters <simonp@opera.com> wrote:
> On Tue, 19 Mar 2013 18:46:03 +0100, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>
>
> Is there no desire to control how long it should take to scroll? Is there
> no desire to control the timing function (ease/linear/etc)?
>
Or perhaps an alternate way to do that:

<a href="#faq_sources">Where do your sources come from?</a>
...
<h3 tabindex id="faq_sources" class="fa>Where do your sources come from?</h3>



#faq_sources:focus {
  scroll-into-view: top  ease-in-out;
}
-- 
Garrett
Twitter: @xkit
personx.tumblr.com

Received on Wednesday, 20 March 2013 00:18:10 UTC