SlimScroll

Started on the old forum in May 2012 · view the original in the archive · old links redirect here

1 reply · 1,051 views · started 14 years ago · 1 min read

2 participants
shushant Developer · 207 posts #1

slimScroll is a jQuery plugin that transforms any div into a scrollable area with a nice scrollbar - similar to the one Facebook Installation

its better to use http instead of https
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-
ui.js"></script>
<script type="text/javascript" src="slimscroll.min.js"></script>

$(function(){
$('#makescroll').slimScroll({ height: '250px' });
});

now

<div id="makescroll"><?php echo file_get_contents('http://coding-talk.com');?>

demo Game143 | download mobile game

mobidev Senior · 312 posts #2

Nice but I hate these scroll bars on sites feel like I can press a 9iron against the dudes head and blow his head away for using it on his site lol(not you just in general) coz its always in the way if ur on a mobile browser if u move it moves, sure its nice to have the menu when u need it not needing to scroll all the way up but still annoying when u reading something

Sign in to reply.

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close