Scroller -- Please help

by halmo
4 replies
I want to install a scroller exactly like this, except I want it to scroll a div on the page (not the whole page).
Dynamic Drive DHTML Scripts- Page Scroller (aka Custom Scrollbar)

Say, the page is divided into 4 divisions. I want each <div> to have its own scroller. Each <div> has its own up and down arrow images.

Would someone please tell me what I need to change in this code to make it for divs instead of the whole page, or would you point me to a source where I can find the code for the div scrolling by hover on image arrows?

Thanks for all help!
#scroller
  • Profile picture of the author ashbeats
    You can use the CSS overflow attribute on the div. Set a fixed height and width and set overflow to auto or scroll.

    CSS Overflow Property Explained « DivitoDesign
    {{ DiscussionBoard.errors[4263495].message }}
  • Profile picture of the author halmo
    Thank you, ashbeats. I read your suggestion, and content of the link. All those talk about scrollbars.

    However, I do want to have the up and down arrow images -- no scrollbars.

    Any suggestions for that?
    Thanks
    {{ DiscussionBoard.errors[4265707].message }}
    • Profile picture of the author ppsk007
      Great info Thank You
      {{ DiscussionBoard.errors[4266865].message }}
    • Profile picture of the author ashbeats
      Originally Posted by halmo View Post

      Thank you, ashbeats. I read your suggestion, and content of the link. All those talk about scrollbars.

      However, I do want to have the up and down arrow images -- no scrollbars.

      Any suggestions for that?
      Thanks
      oh.. yea. Sure. You can do that using jQuery. Google for jQuery scrolling plugins. There are many examples.
      {{ DiscussionBoard.errors[4267717].message }}

Trending Topics