Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorPhey
    • CommentTimeApr 21st 2007
     permalink
    hey my name phey, I just created a link "back to top page" when I click it, the browser scroller move to the top page, but how to make the scroll move with the slowly position, so it's like a smooth moving form down to top page

    thx
    • CommentAuthorsjaq
    • CommentTimeApr 21st 2007
     permalink
    A nice way to do that is with mootools you can find the documentation here
    •  
      CommentAuthormkavici
    • CommentTimeApr 22nd 2007
     permalink
    You can also use prototype scrollto(#element_id) function http://wiki.script.aculo.us/scriptaculous/show/Element.scrollTo
    • CommentAuthorPhey
    • CommentTimeApr 22nd 2007
     permalink
    thanks all, but sorry, this's I use the script from http://wiki.script.aculo.us/scriptaculous/show/Element.scrollTo... it's doesn't work hehehe..ups
    I put an ID on the body tag
    <body id="top">
    and the link I put them like this
    <p>blablablab.....</p>
    <a href="#" onclick="new Element.scrollTo('top'); return false;">ˆ Back to TOP </a>

    it is not correct? is it

    and for sjaq, where's the sample of source code, I just find and download "mootools.v1.00(2).js" file...how it's work..sorry I'm not a developer javascript, it is seem blurry of my head hehehe...
Add your comments
    Username Password
  • Format comments as (Help)