Reversing dojo slider to make it slide from right to left rather left to right as given

Reversing dojo slider to make it slide from right to left rather left to right as given

I am using Dojo slider in my project But i want to reverse the slider chosen value so that it slides from right to left ie the blueish part on slider must start from right side of the slider so that slider slides from right to left(not from left to right as in given example) how can i reverse this. My code a s shown

    <head>
        <style type="text/css">
            body, html { font-family:helvetica,arial,sans-serif; font-size:90%; }
        </style>
        <script src="../cmic/dojo/dojo/dojo.js"
        djConfig="parseOnLoad: true">
        </script>
        <script type="text/javascript">
            dojo.require("dijit.form.Slider");
            dojo.require("dijit.form.TextBox"); // this we only include to make the textinput look prettier
            dojo.addOnLoad(function() {

                var slider = new dijit.form.HorizontalSlider({
                    name: "slider",
                    value: 0,
                    minimum: 10,
                    maximum: 0,
                    intermediateChanges: true,
                    style: "width:700px;",
                    onChange: function(value) {
                     dojo.byId("sliderValue").value = value;
                    }
                },
                "slider");
            });
        </script>
        <link rel="stylesheet" type="text/css" href="../cmic/dojo/dijit/themes/claro/claro.css"
        />
    </head>

    <body class=" claro ">

        <div id="slider"  intermediateChanges="true" showButtons="false" style="width:400px;color:#606060;">
        <ol dojoType="dijit.form.HorizontalRuleLabels" container="topDecoration"
            style="height:1.5em;color:#585858;font-size:75%;color:gray;">
        <li>10
                </li>
             <li>
                    8
                </li>
                <li>
                    6
                </li>
                <li>
                    4
                </li>
             <li>
                    2
                </li>
                <li>0
                </li>
            </ol>



        <ol dojoType="dijit.form.HorizontalRuleLabels" container="topDecoration"
            style="height:1.5em;font-size:90%;color:#606060;margin:-1em 0px 0px 7.00em;">

               <li>
                    Outstanding
                </li>
                <li>
                    Highly effective
                </li>
                <li>
                    &nbsp&nbspEffective
                </li>
                <li>
                       &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbspNeeds Improvement
                </li>
                <li>
                      &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbspNot Acceptable
                </li>
               <li>

                </li></ol>


    </div>
        <p>
            <input type="text" id="sliderValue" dojoType="dijit.form.TextBox" />
        </p>
        <script type="text/javascript">
            dojo.addOnLoad(function() {
                if (document.pub) {
                    document.pub();
                }
            });
        </script>
    </body>

</html>
View Answers

May 4, 2011 at 3:07 PM

Please visit the following link:

Dojo Slider


May 5, 2011 at 2:28 PM

sorry but read my question aain ,that link not provides the answer









Related Tutorials/Questions & Answers:
Reversing dojo slider to make it slide from right to left rather left to right as given
Reversing dojo slider to make it slide from right to left rather left to right... the slider chosen value so that it slides from right to left ie the blueish part... right to left(not from left to right as in given example) how can i reverse
how to print from right to left in java????
how to print from right to left in java????   can anyone pls tell how to print from right to left in java
Advertisements
align a table to the right (or left).
align a table to the right (or left).  How do I align a table to the right (or left
align a table to the right (or left).
align a table to the right (or left).  How do I align a table to the right (or left
right and left shift operators
right and left shift operators   hi i am jane pls explain the differentiate between right shift and left shift operators  ...;>"operator shifts the left operand to the right side with sign extension
how to make a button left justification which is at right end
how to make a button left justification which is at right end  how to make a button left justification which is at right end thanks in advance
ModuleNotFoundError: No module named 'django-right-to-left'
ModuleNotFoundError: No module named 'django-right-to-left'  Hi...: No module named 'django-right-to-left' How to remove the ModuleNotFoundError: No module named 'django-right-to-left' error? Thanks   Hi
Left and Right panel in JSP - Java Beginners
Left and Right panel in JSP  Hello Friends, Please help me to showing right and left frame on my JSP page. I want to showing fix left frame which... on frame2 means in frame right. Give suggest me solution which support my
Orientating Components Right to Left,java newsletter,java,tutorial
Arranging Components We often arrange the components either from left to write or right to left. For the components orientation we uses Layout Manager..., right, left and center. The BoxLayout arranges the components either in single
how to set the tables one is left and another one is right - JSP-Servlet
how to set the tables one is left and another one is right  Here two tables are combined.i need to set the one table is left another one is right and ineed to gap between the two tables Document document=new Document
SQL LEFT JOIN
; The LEFT JOIN keyword retrieve all rows from the left table (table_name1... The INNER JOIN  keyword is used to returns all rows from the left table... SELECT column_name(s) FROM table_name1 Left JOIN table_name2
SQL Right JOIN
with the left table. The Syntax used for SQL RIGHT OUTER JOIN is given below...; The RIGHT JOIN keyword returns you  all rows from the right table (table_name1), incase if there are no matches in the left table
how to make a field left justification
how to make a field left justification  how to make a field left justification.need code.thanks in advance
how to make a label left alignment?
how to make a label left alignment?  how to make a label left alignment
PHP SQL Left Join
PHP SQL Left Join  This Example illustrates how to use left join clause in the sql query. The left join return all rows from the left table, even if there are no matches in the right table. In this example left join is used
PHP SQL Right Join
PHP SQL Right Join  This Example illustrates how to use right join clause in the sql query. The right join return all rows from the right table, even if there are no matches in the left table. In this example right join is used
PHP SQL Left Join
query.  JOIN is used to query data from two or more tables. The left join is used in case of need to return all rows from the left table, even if the right table doesn't have any match. In this example left join is used to join
Mysql Left Join
; Mysql Left Join return you the set of records of right table matches with the left table. The unmatchable records from right table with the left table... The Tutorial illustrate an example from Mysql Left Join. To understand this example
PHP SQL Right Join
query.  JOIN is used to query data from two or more tables. The right join is used in case of need to return all rows from the right table, even if the left table doesn't have any match. In this example right join is used to join
check box left justification
check box left justification  how to make a check box left justification which is at right end? thanks in advance
Mysql Left
; Mysql Left is used to return the Left String character from a String... from 'Mysql Left'. To understand example we create a table 'employee1' ... string character from string. In this example the query return left string
Dojo Slider
is a scale with handle a dragged values up/down or left/right. Calling the dojo...Dojo Slider         ... a slider in dojo. Try Online: Slider ADS_TO_REPLACE_1 Slider
left shift and rigth shift operators
left shift and rigth shift operators   hi some programs for left shift and right shift operators
Mysql Left
; Mysql Left is used to return the left string from the character... The Tutorial illustrate an example from 'Mysql Left'.To understand... Left: The Query return the left string from the character and '6' return
SQL LEFT JOIN
; The LEFT JOIN keyword retrieve all rows from the left table (table_name1... The INNER JOIN  keyword is used to returns all rows from the left table...(s) FROM table_name1 Left JOIN table_name2 ON table_name1.column_name
bootstrap 4 pull-right
: Here are all the support classes; .float-left .float-right .float-none .float-sm-left .float-sm-right .float-sm-none .float-md-left .float-md-right .float-md-none .float-lg-left .float-lg-right .float-lg-none .float-xl-left .float-xl
bootstrap 4 pull-right
: Here are all the support classes; .float-left .float-right .float-none .float-sm-left .float-sm-right .float-sm-none .float-md-left .float-md-right .float-md-none .float-lg-left .float-lg-right .float-lg-none .float-xl-left .float-xl
SQL Right JOIN
with the left table. The Syntax used for SQL RIGHT OUTER JOIN is given below:ADS...; The RIGHT JOIN keyword returns you  all rows from the right table (table_name1), incase if there are no matches in the left table
Joining two table using Natural Left join
the values from the left table and matched values from the right table (NULL in case...; table exists, NULL will appear in columns from Right Table for those records that have no match in Left Table. Query for Left Join SELECT *FROM employee
Bootstrap 4 button align right
and learning it from basics. There is requirement to align the text on left and align button on the right side in a div. What is the code for bootstrap 4 to create a button for align right? I want bootstrap 4 button align right code which
Bootstrap 4 button align right
and learning it from basics. There is requirement to align the text on left and align button on the right side in a div. What is the code for bootstrap 4 to create a button for align right? I want bootstrap 4 button align right code which
div align left css
div align left css  Hi, How to align the div to left using the css in HTML page. Thanks
Mysql Left Function
Mysql Left Function       Mysql Left Function is used to return the leftmost string character from... to learn an example from 'Mysql Left Function'. To understand  this example, we
Mysql Left Function
will help you to learn an example from 'Mysql Left Function'.To understand ... Mysql Left Function       Mysql Left Function is used to return the leftmost string
MySQL LEFT OUTER JOIN
. SELECT tt.transtypename, IFNULL(SUM(t.transamt),0) FROM transtype tt LEFT...MySQL LEFT OUTER JOIN  Hi There, I need to perform LEFT OUTER JOIN... BY tt.transtypename My Requirement I need all the transtypename from Transtype
Joining two tables using Natural right join
from the right table and matched values from the left table (NULL in case of no matching join predicate). In Right join, every row of left table appears... exists, NULL will appear in columns from Left Table for those records
div style float right
div style float right  How to align div to right? Share me the code for div style float right. Thanks   Hi, You can use following code: <div style="float: right; widht:300px; height:600px;"> <p>Content<
How to add tabs in right side of a window from top to bottom in swing s
How to add tabs in right side of a window from top to bottom in swing s  How to add tabs in right side of a window from top to bottom in swings
How to add tabs in right side of a window from top to bottom in swing s
How to add tabs in right side of a window from top to bottom in swing s  How to add tabs in right side of a window from top to bottom in swings
bootstrap 4 float-right not working
bootstrap 4 float-right not working  Hi, I am trying to align a div to right but its not working in Bootstrap 4. My code is: <div class="float-left">Float div to left</div><br> <div class="float-right">
bootstrap 4 float-right not working
bootstrap 4 float-right not working  Hi, I am trying to align a div to right but its not working in Bootstrap 4. My code is: <div class="float-left">Float div to left</div><br> <div class="float-right">
uinavigationcontroller add right button
uinavigationcontroller add right button  Hi, How to add the right button programatically to a UINavigation Controller? Thanks   Hi, You can use the following code: - (void)viewDidLoad { [super viewDidLoad
ModuleNotFoundError: No module named 'left-pad'
ModuleNotFoundError: No module named 'left-pad'  Hi, My Python... 'left-pad' How to remove the ModuleNotFoundError: No module named 'left-pad... to install padas library. You can install left-pad python with following
ModuleNotFoundError: No module named 'pad-to-left'
ModuleNotFoundError: No module named 'pad-to-left'  Hi, My Python... 'pad-to-left' How to remove the ModuleNotFoundError: No module named 'pad-to-left' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'pad-on-left'
ModuleNotFoundError: No module named 'pad-on-left'  Hi, My Python... 'pad-on-left' How to remove the ModuleNotFoundError: No module named 'pad-on-left' error? Thanks   Hi, In your python environment
GXT Grid moving right side after right alighnment
GXT Grid moving right side after right alighnment  I have created one gxt grid.there are 7 column and last column align as RIGHT .so grid width is moving right side 2px. so how can i fix
Left Outer Join in Hibernate createQuery() - Hibernate
Left Outer Join in Hibernate createQuery  What is Left Outer Join in Hibernate createQuery? i'm using createQuery("select...") for my project, i have a situation using left Outer join... this createQuery(" from A left outer join
Hibernate Left Outer Join
In this section, you will learn how to do Left Outer Join in Hibernate
ModuleNotFoundError: No module named 'right-triangle'
ModuleNotFoundError: No module named 'right-triangle'  Hi, My... named 'right-triangle' How to remove the ModuleNotFoundError: No module named 'right-triangle' error? Thanks   Hi, In your python
Mysql Full Join
; Mysql Full Join is used to return all the records from both left and right outer join. The joined table contain all records from both tables and fill... is the outcome result set of left outer join and right outer join using UNION

Ads