DHTMLX Docs & Samples Explorer

### Initialization with JS Object

Source

    <script>window.dhx_globalImgPath = "../../codebase/imgs/";</script>
    <script  src="../../codebase/dhtmlxcommon.js"></script>
    <script  src="../../codebase/dhtmlxslider.js"></script>
    <script  src="../../codebase/ext/dhtmlxslider_start.js"></script>
    <link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxslider.css">

    <div id="sliderBox"></div>
    <script>var slider = new dhtmlxSlider("sliderBox", {
        skin: "dhx_skyblue",
        min: 100,
        max: 300,
        step: 50,
        size: 400,
        vertical: false;
    });
    slider.init();</script>