Results 1 to 2 of 2

Thread: Page Scroller (aka Custom ScrollbHelp with custom scrollbar

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

    Default Page Scroller (aka Custom ScrollbHelp with custom scrollbar

    Script: Page Scroller (aka Custom Scrollb
    http://www.dynamicdrive.com/dynamici...gescroller.htm

    HELP! this script is great.. but how can i set the vertical offset to be from the top of the page instead of the bottom as it is in the code?

    your help is very much appreciated!

    thanks

    Chris

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Find this line in the script:

    Code:
    cross_obj.style.top=dsoctop+parseInt(window_height)-Voffset+"px"
    Change it to this:

    Code:
    cross_obj.style.top=dsoctop+Voffset+"px"
    - 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
  •