{"id":4524,"date":"2024-01-19T17:07:00","date_gmt":"2024-01-19T17:07:00","guid":{"rendered":"https:\/\/codehim.com\/?p=4524"},"modified":"2024-01-22T15:08:17","modified_gmt":"2024-01-22T10:08:17","slug":"html-range-slider-with-2-handles-javascript","status":"publish","type":"post","link":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/","title":{"rendered":"HTML Range Slider with 2 Handles Control in JavaScript"},"content":{"rendered":"<section class=\"cm-intro\">\n<div class=\"first-pera\">\n<p>The <b>wRunner<\/b> is a powerful and highly configurable <a href=\"\/tag\/range-slider\"> range slider<\/a> plugin for both Vanilla JavaScript and jQuery. It helps you to create <strong>HTML range slider with 2 handles<\/strong> that can be control in JavaScript. You can set minimum, maximum, layout (vertical or horizontal) and range limit in configuration options. Beside dual handles, it also support single handle.<\/p>\n<p>Moreover, this slider is adjustable and can be fully customized with additional CSS according to your needs.<\/p>\n<\/div>\n<div class=\"first-pera-ad\">[intro_ad]<\/div>\n<\/section>\n<div class=\"cm-box\">\n<h2 class=\"box-title\">Plugin Overview and Preview<\/h2>\n<section class=\"overview-wrapper\">\n<div class=\"code-overview\">\n<table>\n<tbody>\n<tr>\n<td><i class=\"fa fa-plug\"><\/i> Plugin:<\/td>\n<td>wRunner<\/td>\n<\/tr>\n<tr>\n<td><i class=\"fa fa-user\"><\/i> Author:<\/td>\n<td>whiteGloom<\/td>\n<\/tr>\n<tr>\n<td><i class=\"fa fa-folder\"><\/i> Category:<\/td>\n<td><a href=\"\/text-input\/\">Text &amp; Input <\/a><\/td>\n<\/tr>\n<tr>\n<td><i class=\"fa fa-clock-o\"><\/i> Published:<\/td>\n<td>January 19, 2024<\/td>\n<\/tr>\n<tr>\n<td><i class=\"fa fa-file-code-o\"><\/i> File Type:<\/td>\n<td>zip archive (HTML, CSS &amp; JavaScript )<\/td>\n<\/tr>\n<tr>\n<td><i class=\"fa fa-file-archive-o\"><\/i> Package Size:<\/td>\n<td>File path is not allowed!<\/td>\n<\/tr>\n<tr>\n<td><i class=\"fa fa-link\"><\/i> Dependencies:<\/td>\n<td><a class=\"external\" title=\"jQuery is a lightweight, write less, do more JavaScript library.\" href=\"https:\/\/jquery.com\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">jQuery 2.1 <\/a> or Latest (Optional)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"code-preview\">\n<figure class=\"cm-plugin-preview\"><div id=\"featured-img-id\"><img decoding=\"async\" src=\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png\" alt=\"HTML Range Slider with 2 Handles Control in JavaScript\" \/><\/div><\/figure>\n<\/div>\n<div class=\"cm-clear\"><\/div>\n<div class=\"plugin-meta\">\n<div class=\"cm-meta post-publish-date\">Last Modified: <time> [last-modified] <\/time><\/div>\n<div class=\"cm-meta plugin-licence\" title=\"Licence\">MIT<\/div>\n<div class=\"cm-meta code-fork\"><a title=\"Fork on GitHub\" href=\"https:\/\/github.com\/whiteGloom\/wRunner\" target=\"_blank\" rel=\"noopener noreferrer\"> Fork on GitHub<\/a><\/div>\n<div class=\"cm-meta post-views\" title=\"Views\">16,548<\/div>\n<\/div>\n<\/section>\n<\/div>\n<section class=\"cm-btn-group\">\n<div class=\"cd-action down-btns\"><a class=\"btn demo\" title=\"View live preview\" href=\"\/demo\/wrunner-html-range-slider-with-2-handles\" target=\"_blank\" rel=\"noopener noreferrer\"> Demo <\/a> <a class=\"btn download\" title=\"Download distributed version\" href=\"\/download\/wrunner-html-range-slider-with-2-handles.zip\" rel=\"nofollow\"> Download <\/a> <a class=\"btn btn-master-download\" title=\"Download latest version of this plugin\" href=\"https:\/\/github.com\/whiteGloom\/wRunner\/archive\/master.zip\" rel=\"nofollow noopener noreferrer\"> Download Master Repository <\/a><\/div>\n<div class=\"codehim-share\"><span class=\"share-title\">Share this:<\/span><\/div>\n<\/section>\n<section class=\"cm-box\">\n[ad_after_overview]<br \/>\n<\/section>\n<div class=\"cm-clear\"><\/div>\n<section class=\"cm-tabs\">\n<ul class=\"cm-tab-names\">\n<li><a class=\"tab-name tab-docs active\" title=\"Documentation\" href=\"#documentation\"> Documentation <\/a><\/li>\n<li><a class=\"tab-name tab-config\" title=\"Advance Configuration Options\" href=\"#config-option\"> Configuration Options <\/a><\/li>\n<li><a class=\"tab-name tab-changelog\" title=\"Changelog\" href=\"#changelog\"> Changelog <\/a><\/li>\n<\/ul>\n<div id=\"documentation\" class=\"tab show\">\n<h2 class=\"tab-title\">How to Create Html Range Slider With 2 Handles<\/h2>\n<p>1. To create &#8220;HTML range slider with 2 handles&#8221;, we need to getting started with wRunner. So, load the plugin assets into your HTML document.<\/p>\n<pre class=\"prettyprint lang-html linenums\">&lt;!-- wRunner CSS --&gt;\r\n&lt;link rel=\"stylesheet\" href=\"css\/wrunner-default-theme.css\"&gt;\r\n&lt;!-- wRunner JS --&gt;\r\n&lt;script src=\"js\/wrunner-native.js\"&gt;&lt;\/script&gt;<\/pre>\n<p>2. After that, create HTML <code>div<\/code> element with unique id (or class name) in which your range slider will be created dynamically. For example, we create the following element.<\/p>\n<pre class=\"prettyprint lang-html linenums\">&lt;div class=\"my-js-slider\"&gt;&lt;\/div&gt;<\/pre>\n<p>3. Now, call the <code>wRunner<\/code> plugin in plain JavaScript with the following basic configuration options and done.<\/p>\n<pre class=\"prettyprint lang-js linenums\">&lt;script&gt;\r\nvar setting = {\r\n    roots: document.querySelector('.my-js-slider'),\r\n    type: 'range',\r\n    step: 1,\r\n    }\r\nvar slider = wRunner(setting);\r\n&lt;\\script&gt;<\/pre>\n<p>4. You can also initialize the plugin in jQuery.<\/p>\n<pre class=\"prettyprint lang-js linenums\">$(document).ready(function(){\r\n  $('.my-js-slider').wRunner({\r\n       type: 'range',\r\n       rangeValue: {\r\n            minValue: 30,\r\n            maxValue: 100,\r\n                 },\r\n       step: 1,\r\n    })\r\n})\r\n<\/pre>\n<p><i>For more advance usage, please check the <b>Configuration Options<\/b> tab. If you like this plugin, don&#8217;t forget to submit a review. Enjoy coding, best of luck! <\/i><\/p>\n<\/div>\n<div id=\"config-option\" class=\"tab\">\n<h2 class=\"tab-title\">Advance Configuration Options for HTML two Handles Range Slider<\/h2>\n<p>The following are some advanced configuration options to create \/ customize <strong>HTML range slider with 2 handles<\/strong>.<\/p>\n<table class=\"config-options\">\n<tbody>\n<tr>\n<th>Option<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td><var>roots<\/var><\/td>\n<td>document.body<\/td>\n<td><code>String<\/code><\/td>\n<td>It define the parent element where slider will be created dynamically.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\troots : document.body,\r\n});<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><var>direction<\/var><\/td>\n<td>&#8216;horizontal&#8217;<\/td>\n<td><code>String<\/code><\/td>\n<td>Set the layout for range slider. Possible options are: &#8216;horizontal&#8217; and &#8216;vertical&#8217;.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\tdirection : 'horizontal',\r\n});<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><var>limits<\/var><\/td>\n<td>{ minLimit: 0, maxLimit: 100 }<\/td>\n<td><code>String<\/code><\/td>\n<td>This object option set the minimum and maximum range for limit.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\tlimits : {     minLimit: 0,      maxLimit: 100   },\r\n});<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><var>singleValue<\/var><\/td>\n<td>50<\/td>\n<td><code>Number<\/code><\/td>\n<td>Set the single value.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\tsingleValue : 50,\r\n});<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><var>step<\/var><\/td>\n<td>1<\/td>\n<td><code>Number<\/code><\/td>\n<td>Step size for ranging.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\tstep : 1,\r\n});<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><var>valueNoteDisplay<\/var><\/td>\n<td>true<\/td>\n<td><code>Boolean<\/code><\/td>\n<td>Decide weather to show labels or not.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\tvalueNoteDisplay : true,\r\n});<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><var>theme<\/var><\/td>\n<td>&#8216;default&#8217;<\/td>\n<td><code>String<\/code><\/td>\n<td>The name of theme. It is useful to set custom theme for slider. Just create set of CSS styles and pass the custom theme name in this option value.<\/p>\n<p><b>Example: <\/b><\/p>\n<pre class=\"prettyprint lang-js\">wRunner({\r\n\ttheme : 'default',\r\n});<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Callback Functions for HTML Dual Range Slider<\/h3>\n<p>The following are callback functions to execute on various wRunner events.<\/p>\n<pre class=\"prettyprint lang-js linenums\">$(el).wRunner({\r\n onRootsUpdate(function(roots){\r\n     console.log(\"Roots: \"+ roots)\r\n  })\r\n  onStepUpdate: function(step){\r\n    console.log(\"step: \"+ step)\r\n  }\r\n onDirectionUpdate(function(styles){\r\n    \/\/ do something\r\n  })\r\n   onDivisionsCountUpdate(function(count){\r\n     console.log(\"Count: \"+ count)\r\n  })\r\n  onTypeUpdate(function(type){\r\n     console.log(\"Type: \"+ type)\r\n  })\r\n  onLimitsUpdate(function(limits){\r\n     console.log(\"Limits: \"+ limits)\r\n  })\r\n  onValueUpdate(function(values){\r\n     console.log(\"Values: \"+ values)\r\n  })\r\n  onValueNoteDisplayUpdate(function(value){\r\n     console.log(\"Label: \"+ value)\r\n  })\r\n  onThemeUpdate(function(styles){\r\n     \/\/code to run\r\n  })\r\n})\r\n<\/pre>\n<h3>API Methods to get \/ set Slider values<\/h3>\n<pre class=\"prettyprint lang-js linenums\">var rangeSlider = wRunner();\r\n\r\n\/\/ set\/get parent element\r\nrangeSlider.setRoots(roots);\r\nrangeSlider.getRoots();\r\n\r\n\/\/ true or false\r\nrangeSlider.setValueNoteDisplay(value);\r\nrangeSlider.getValueNoteDisplay();\r\n\r\n\/\/ set\/get type: 'single' or 'range'\r\nrangeSlider.setType(type);\r\nrangeSlider.getType();\r\n\r\n\/\/ set\/get limits\r\nrangeSlider.setLimits(limits);\r\nrangeSlider.getLimits();\r\n\r\n\/\/ set\/get value(s)\r\nrangeSlider.setSingleValue(value);\r\nrangeSlider.setRangeValue([values]);\r\nrangeSlider.getValue();\r\n\r\n\/\/ set nearest value\r\nrangeSlider.setNearestValue(value, viaPercents);\r\n\r\n\/\/ set\/get the number of divisions\r\nrangeSlider.setDivisionsCount(count);\r\nrangeSlider.getDivisionCount(count);\r\n\r\n\/\/ set\/get theme\r\nrangeSlider.setTheme(theme);\r\nrangeSlider.hetTheme();\r\n\r\n\/\/ set\/get direciton\r\n\/\/ 'horizontal' or 'vertical'\r\nrangeSlider.setDirection(direction);\r\nrangeSlider.getDirection();\r\n\r\n\/\/ set\/get step size\r\nrangeSlider.setStep(stepSize);\r\nrangeSlider.getStep();\r\n<\/pre>\n<\/div>\n<div id=\"changelog\" class=\"tab\">\n<h4 class=\"tab-title\">Changelog<\/h4>\n<p><b>14\/12\/2019<\/b><\/p>\n<ul>\n<li>Track events update<\/li>\n<\/ul>\n<p><b>29\/11\/2019<\/b><\/p>\n<ul>\n<li>v1.5.1 Updated<\/li>\n<\/ul>\n<p><b>8\/11\/2019<\/b><\/p>\n<ul>\n<li>Released 1.2.38 version.<\/li>\n<\/ul>\n<p><b>16\/10\/2019<\/b><\/p>\n<ul>\n<li>Initial release.<\/li>\n<\/ul>\n<\/div>\n<\/section>\n<div class=\"cm-box\">\n<div class=\"box-inner\">[ad_after_artical]<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The wRunner is a powerful and highly configurable range slider plugin for both Vanilla JavaScript and jQuery. It helps you&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4525,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[97],"tags":[118],"class_list":["post-4524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-text-input","tag-range-sliders"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HTML Range Slider with 2 Handles Control in JavaScript &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is JavaScript plugin to create HTML range slider with 2 handles. The wRunner JS allows you to make both horizontal &amp; vertical two handles range slider.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML Range Slider with 2 Handles Control in JavaScript &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is JavaScript plugin to create HTML range slider with 2 handles. The wRunner JS allows you to make both horizontal &amp; vertical two handles range slider.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-19T17:07:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:08:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"962\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"HTML Range Slider with 2 Handles Control in JavaScript\",\"datePublished\":\"2024-01-19T17:07:00+00:00\",\"dateModified\":\"2024-01-22T10:08:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\"},\"wordCount\":418,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png\",\"keywords\":[\"Range Sliders\"],\"articleSection\":[\"Text &amp; Input\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\",\"url\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\",\"name\":\"HTML Range Slider with 2 Handles Control in JavaScript &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png\",\"datePublished\":\"2024-01-19T17:07:00+00:00\",\"dateModified\":\"2024-01-22T10:08:17+00:00\",\"description\":\"Here is JavaScript plugin to create HTML range slider with 2 handles. The wRunner JS allows you to make both horizontal & vertical two handles range slider.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png\",\"width\":1280,\"height\":962,\"caption\":\"HTML Range Slider with 2 Handles Control in JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text &amp; Input\",\"item\":\"https:\/\/codehim.com\/category\/text-input\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HTML Range Slider with 2 Handles Control in JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML Range Slider with 2 Handles Control in JavaScript &#8212; CodeHim","description":"Here is JavaScript plugin to create HTML range slider with 2 handles. The wRunner JS allows you to make both horizontal & vertical two handles range slider.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/","og_locale":"en_US","og_type":"article","og_title":"HTML Range Slider with 2 Handles Control in JavaScript &#8212; CodeHim","og_description":"Here is JavaScript plugin to create HTML range slider with 2 handles. The wRunner JS allows you to make both horizontal & vertical two handles range slider.","og_url":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-19T17:07:00+00:00","article_modified_time":"2024-01-22T10:08:17+00:00","og_image":[{"width":1280,"height":962,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"HTML Range Slider with 2 Handles Control in JavaScript","datePublished":"2024-01-19T17:07:00+00:00","dateModified":"2024-01-22T10:08:17+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/"},"wordCount":418,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png","keywords":["Range Sliders"],"articleSection":["Text &amp; Input"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/","url":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/","name":"HTML Range Slider with 2 Handles Control in JavaScript &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png","datePublished":"2024-01-19T17:07:00+00:00","dateModified":"2024-01-22T10:08:17+00:00","description":"Here is JavaScript plugin to create HTML range slider with 2 handles. The wRunner JS allows you to make both horizontal & vertical two handles range slider.","breadcrumb":{"@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2019\/11\/html5-range-two-handles-wrunner-codehim.png","width":1280,"height":962,"caption":"HTML Range Slider with 2 Handles Control in JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/text-input\/html-range-slider-with-2-handles-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Text &amp; Input","item":"https:\/\/codehim.com\/category\/text-input\/"},{"@type":"ListItem","position":3,"name":"HTML Range Slider with 2 Handles Control in JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":16548,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/4524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=4524"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/4524\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/4525"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=4524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=4524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=4524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}