Results 1 to 2 of 2

Thread: Dynamic Ajax Content - customize scrollbar?

  1. #1
    Join Date
    Jan 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content - customize scrollbar?

    1) Dynamic Ajax Content

    2) http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) I have changed the settings of the div that contains my content to:
    <div id="contentarea" style="height: 575px; overflow: auto"></div>

    Is there a way to change the look of my scrollbar when it appears?

  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

    IE and Opera support custom css scrollbar styles. I believe those only affect the colors used though. Other than that, there are a number of custom scrollbar scripts around, you could use one of those. Make sure to get one that can react well to its contents changing, or at least one you can reinitialize as to dimensions whenever you load new content into it.

    Google:

    Custom Scrollbar
    Dynamic Drive has one:

    http://www.dynamicdrive.com/dynamici...lbar/index.htm

    I'm generally unfamiliar with it so I'm not recommending it for this purpose.

    And one of our members has:

    http://www.vicsjavascripts.org.uk/Ea...eScrollBar.htm

    Same thing there though. I don't know enough about it to recommend it.
    - 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
  •