Results 1 to 9 of 9

Thread: onClick Scroller

  1. #1
    Join Date
    Jan 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default onClick Scroller

    I'm looking for an onClick (or onMouseOver) scroller that allows you to scroll either way to retrieve more content, like so:

    More content viewable when you scroll over with the arrow. <- Content Content Content Content -> More content viewable when you scroll over with the arrow.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Does this help you at all?:
    http://niler.net/examples/div_scroller/
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, I'd prefer it wasn't in a textbox and is only horizontally scrollable.

    Just like the example given, pretty much.

    I've seen it done before. I just don't remember where the script is.

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    All you have to do is edit the css.
    Jeremy | jfein.net

  5. #5
    Join Date
    Jan 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK, hopefully it'll work out the way I want it to.

    Do you want me to just grab the coding from the source?

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Just grab it, unless you want a zip, I'll send you a zip. All I request is in the code:
    Code:
    //Made by: Niler, visit him at niler.net
    Jeremy | jfein.net

  7. #7
    Join Date
    Jan 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Zip file will do wonders.

    Don't worry, the copyright will remain intact for as long as we use the code.

    Thanks, by the way.

  8. #8
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    To be honest, the best scroller is the basic browser scroller.

    If you want an object (div in this case) to scroll, just set the following:

    Code:
    <div style="width: 200px;height: 200px;overflow: auto;">
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
      <br>line
    </div>
    - Mike

  9. #9
    Join Date
    Jan 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the idea, mburt, but that wouldn't really work out to well in my case. I'm going to be using this scroller to advance much content to the left and right of other content, all horizontally, which means if we did it that way, the page would stretch very far.

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
  •