www.webdeveloper.com
Results 1 to 2 of 2

Thread: Add arrow to scroll down page

  1. #1
    Join Date
    Jul 2009
    Posts
    1

    Add arrow to scroll down page

    Hey guys

    I have content that runs off the page (nothing new here!) but when it does so teh footer image sits ontop of it, its a nice effect but if people do not notice the scroll bar they may not realise they can scroll down. ( so the cleint says! )

    Anyway what i would like to do is add a little arrow to the right handside of content when their is a need for a scroll bar, and on clicking the arrow it could simply scroll the page down much like they had dragged the scroll bar itself. With me?

    So again simply all i need is an arrow to accompany a browser scroll bar when its used, and on clicking it say moves the page down 100 pixels or so.

    I am happy to use JS for this as its only an UI assit tool, so no JS enabled is not a big loss as they do still have the browser scroll bar anyway.

    thanks for any info or suggestions on this, for some reason I can not think this morning.

  2. #2
    Join Date
    Jun 2008
    Posts
    62
    Code:
    onclick="window.scrollBy(0,100)"
    or some such

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles