Title: Scrollable DIV in widget
Last modified: August 20, 2016

---

# Scrollable DIV in widget

 *  [animeshtripathi](https://wordpress.org/support/users/animeshtripathi/)
 * (@animeshtripathi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/scrollable-div-in-widget/)
 * Hi guys,
 * I’m using a fixed-height (110px) DIV within WordPress which I want to make scrollable
   using Javascript.
    My website is at [http://thinkrasta.com/home](http://thinkrasta.com/home).
   The widget is the ‘Recent Tweets’ widget on the right sidebar.
 * [http://pastebin.com/pQBvArQn](http://pastebin.com/pQBvArQn): Here’s the PHP 
   Code which also contains the Javascript (tweets-widget.php)
 * [http://pastebin.com/1iXiA7Hy](http://pastebin.com/1iXiA7Hy): The JS file (jtwt.
   js)
 * [http://rocha.la/jQuery-slimScroll](http://rocha.la/jQuery-slimScroll): The code
   and documentation for the plugin I’m trying to use
 * I have included the jQuery.min.js and jQuery UI libraries as mentioned in the
   above link, and as you can see in the pastebin file, but it doesn’t seem to work.
   Can anyone highlight what I’m missing here?
 * I’m pretty sure it’s a simple fix but I can’t see it because of my limited experience
   with jQuery. 😛
    Oh, if it helps, I’m also using jQuery for the Featured Image
   on the left side.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [David Gwyer](https://wordpress.org/support/users/dgwyer/)
 * (@dgwyer)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/scrollable-div-in-widget/#post-2646022)
 * You can create a scrollable div with CSS.
 * [http://www.domedia.org/oveklykken/css-div-scroll.php](http://www.domedia.org/oveklykken/css-div-scroll.php)
 *  Thread Starter [animeshtripathi](https://wordpress.org/support/users/animeshtripathi/)
 * (@animeshtripathi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/scrollable-div-in-widget/#post-2646028)
 * I know, but my client needs a scrollbar like the Facebook Ticker. This is the
   case with the slimScroll plugin. I’m sure it’ll work somehow.
 * I can obviously make a normal scrollbar using the overflow:auto property.
 * Thanks for the reply anyway.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Scrollable DIV in widget’ is closed to new replies.

## Tags

 * [div](https://wordpress.org/support/topic-tag/div/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [scrollable](https://wordpress.org/support/topic-tag/scrollable/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [animeshtripathi](https://wordpress.org/support/users/animeshtripathi/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/scrollable-div-in-widget/#post-2646028)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
