jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
51 lines (44 loc) • 2.76 kB
HTML
<html lang="en">
<head>
<meta name="keywords" content="jQuery ScrollBar, jqxScrollBar, Horizontal ScrollBar, Vertical ScrollBar, Scroll, Scrolling Bar, Scroller" />
<meta name="description" content="The jqxScrollBar represents a widget that provides a scroll bar that has a sliding thumb whose position corresponds to a value." />
<title id='Description'>The jqxScrollBar represents a widget that provides a scroll bar that has a sliding thumb whose position corresponds to a value.
</title>
<link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" />
<script type="text/javascript" src="../../../scripts/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../../../scripts/demos.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxbuttons.js"></script>
<script type="text/javascript" src="../../../jqwidgets/jqxscrollbar.js"></script>
<script type="text/javascript">
$(document).ready(function () {
// Create jqxScrollBar
$("#jqxScrollBar").jqxScrollBar({ width: 280, height: 18, min: 0, max: 1000});
$("#jqxVerticalScrollBar").jqxScrollBar({ width: 18, height: 280, min: 0, max: 1000, vertical: true});
// Trigger the 'valuechanged' event.
$("#jqxScrollBar").on('valueChanged', function (event) {
$('#HorizontalDiv').text('Horizontal (' + parseInt(event.currentValue) + ')');
});
$("#jqxVerticalScrollBar").on('valueChanged', function (event) {
$('#VerticalDiv').text('Vertical (' + parseInt(event.currentValue) + ')');
});
});
</script>
</head>
<body class='default'>
<div id='jqxWidget' style="font-size: 13px; font-family: Verdana; float: left;">
<div id='VerticalDiv' style='margin-top: 10px;'>Vertical</div>
<div style='margin-top: 10px;' id='jqxVerticalScrollBar'>
</div>
<div id='HorizontalDiv' style='margin-top: 10px;'>Horizontal</div>
<div style='margin-top: 10px;' id='jqxScrollBar'>
</div>
</div>
<div style="position: absolute; bottom: 5px; right: 5px;">
<a href="https://www.jqwidgets.com/" alt="https://www.jqwidgets.com/"><img alt="https://www.jqwidgets.com/" title="https://www.jqwidgets.com/" src="https://www.jqwidgets.com/wp-content/design/i/logo-jqwidgets.png"/></a>
</div>
</body>
</html>