2013-06-08 18:04:02 +08:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
|
|
|
2013-09-30 14:41:09 +08:00
|
|
|
<title>perfect-scrollbar example</title>
|
2015-01-16 07:24:17 +08:00
|
|
|
<link href="../out/css/perfect-scrollbar.css" rel="stylesheet">
|
2013-09-30 14:41:09 +08:00
|
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
2015-01-16 07:24:17 +08:00
|
|
|
<script src="../out/js/perfect-scrollbar.js"></script>
|
2013-06-08 18:04:02 +08:00
|
|
|
<style>
|
|
|
|
#description {
|
|
|
|
border: 1px solid gray;
|
|
|
|
height:150px;
|
|
|
|
width: 400px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function ($) {
|
2014-09-16 04:40:15 +08:00
|
|
|
$('#description').perfectScrollbar();
|
2013-06-08 18:04:02 +08:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="description" class="wrapper">
|
|
|
|
<div>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
<p>The command takes options applicable</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|