Results 1 to 5 of 5

Thread: Scrolling back to top button

  1. #1
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrolling back to top button

    Hi - new to the forum! Can anyone help with a simple script for a back to the top button that scrolls along the side of your page. Thanks.

  2. #2
    Join Date
    Jan 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think I would like to see how this is done as well... As well as collapse a div with animation =D

  3. #3
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb

    Use Prototype.js from

    http://prototype.conio.net/

    Effects.js from

    http://script.aculo.us/

    & Use Function...

    Effect.ScrollTo('ElementId',{offset: offsetValue});

  4. #4
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    798
    Thanks
    86
    Thanked 2 Times in 2 Posts

    Default

    Or use this one. Play a bit with the variables till it suits you.

    http://www.dynamicdrive.com/dynamici...topcontent.htm

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,926
    Thanks
    43
    Thanked 3,192 Times in 3,155 Posts
    Blog Entries
    12

    Default

    Here's another one from DD that is made to do just that (with a link):

    http://www.dynamicdrive.com/dynamicindex5/jumptop.htm

    It could easily be modified to be with a button.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •