Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6093883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:36:45+00:00 2026-05-23T12:36:45+00:00

Can somebody show me how to set slider (Dojo slider) on some value ?

  • 0

Can somebody show me how to set slider (Dojo slider) on some value ?

        var vertical_monday = dojo.byId("vertical_monday");
        var rulesNodeMonday = document.createElement('div');
        vertical_monday.appendChild(rulesNodeMonday);

        var sliderRulesMonday = new dijit.form.VerticalRule({
            count: 24,
            style: "width:5px;"

        },
        rulesNodeMonday);
        var slider = new dijit.form.VerticalSlider({
            name: "vertical_monday",
            value: 0,
            minimum: 1440,
            maximum: 0,
            pageIncrement:100,
            showButtons:true,
            slideDuration:289,
            discreteValues: 289,
            intermediateChanges:false,
            style: "height:450px;",
            onChange: function(value) {
                dojo.byId("sliderValueMonday").value = value;
                val_monday=value;
                var a=(500*(value-used_length_monday))/1440;
                //alert('a='+a);
                var temp_id='mon_'+temp_daily_plan_monday;
                //used_length=used_length+a;
                $('#'+temp_id).css('height',a);
            }
        },
        vertical_monday);

How to set this slider at value for example 200 from code ( I need to write function to set this parameter —- function set_slider_val(number) ) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:36:46+00:00Added an answer on May 23, 2026 at 12:36 pm

    All dijits use the set method for setting properties, including the value property.

    function set_slider_val(number) {
        dijit.byId("yourSliderId").set("value", number);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please can somebody show me a simple example of parsing some HTML using libxml.
Can somebody show me clear, complete, 100% working way to set string-typed field as
Can somebody show me some examples to import a html-page and use the XPath
can somebody recommend me good affordable IP KVM? Like Adder. Or some articles evaluating
Can somebody please show me how to do a Java regex that takes in
Can somebody show me a simple example about session handling with GWT RequestFactory. Maybe
can somebody tell / show me how to terminate session in rails 3? In
Can somebody show me how I would inject validator into a regular class using
Can somebody tell me what is the meaning of Installs: 100-500. What Google Play
can somebody paste me deploy.rb file with configuration for LOCAL MACHINE ? Whenever i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.