Home Answers Viewqa JSP-Servlet Reversing dojo slider to make it slide from right to left rather left to right as given

 
 


gurpreet singh
Reversing dojo slider to make it slide from right to left rather left to right as given
2 Answer(s)      2 years and a month ago
Posted in : JSP-Servlet

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 Pages:
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
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
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
Dojo Slider
with handle a dragged values up/down or left/right. Calling the dojo slider by using... the left side button (-) then decrease the value of slider and click the right...Dojo Slider         
SQL LEFT JOIN
; The LEFT JOIN keyword retrieve all rows from the left table (table_name1... with Example The Tutorial illustrate an example from SQL LEFT JOIN... Syntax The INNER JOIN  keyword is used to returns all rows from the left
SQL Right JOIN
; The RIGHT JOIN keyword returns you  all rows from the right table (table_name1), incase if there are no matches in the left table... The SQL RIGHT JOIN Syntax display you all the records from the right table
SQL LEFT JOIN
; The LEFT JOIN keyword retrieve all rows from the left table (table_name1... with Example The Tutorial illustrate an example from SQL LEFT JOIN... Syntax The INNER JOIN  keyword is used to returns all rows from the left
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
SQL Right JOIN
; The RIGHT JOIN keyword returns you  all rows from the right table (table_name1), incase if there are no matches in the left table... The SQL RIGHT JOIN Syntax display you all the records from the right table
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 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... an example from Mysql Left Join. To understand this example, we create a table roseindia
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
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
PHP SQL Left Join
; 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... PHP SQL Left Join      
PHP SQL Right Join
; 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... PHP SQL Right Join      
Dojo Slider
a dragged values up/down or left/right. Calling the dojo slider by using... the left side button (-) then decrease the value of slider and click the right side...Dojo Slider        
Dojo Slider
a dragged values up/down or left/right. Calling the dojo slider by using...Dojo Slider        ... about slider and how to create a slider in dojo. Slider : A slider is a GUI
Mysql Left
; Mysql Left is used to return the Left String character from a String. Understand with Example The Tutorial illustrate an example from 'Mysql Left... to return the left string character from string. In this example the query
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
Join tables with the NATURAL RIGHT JOIN operation
tables on the basis of matching fields but priority will be given to the right... the tables through the NATURAL RIGHT JOIN operation. See detail information given below: NATURAL RIGHT JOIN: It also same as Natural left join but it retrieves
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
Exercise - Trim Right
Java: Exercise - Trim Right Problem Write a method that returns a string with all trailing blanks from the right end of its string parameter... there")"Hello there"No trimming. Hint Loop from the right end, using
left shift and rigth shift operators
left shift and rigth shift operators   hi some programs for left shift and right shift operators
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
Slider Gallery plug-in
of a slider widget from the jQuery UI library .In this example a image gallery inside a window with slider is given. When you move the slider or click on any title...}, 500); }, slide: function (event, ui) { ul.css('left', ui.value * -1
Exercise - Pad Left
Java: Exercise - Pad Left Problem Write a method to return a string which is the parameter with add extra blanks to the left end to make it length width... variables from the class it would be defined in. It's declared public only
Event on Slide bar In Java
then the image will be increased or decreased from left and right according... Event on Slide bar In Java     ... handling for a swing component named Slide bar. This section provides a complete
jQuery chain-able state of transition
; (+) is for Left To Right from the relative postion;    (-)Right To Left from the relative position 3.top : Set the relative position from right... that changing the state of transition of box moving starting Left -> Right
DOJO, DOJO 1.0.2 tutorial, DOJO Tutorial
DateTextBox and how to make its editable.   Dojo NumberSpinner Button... the specified range of data.    Dojo Slider In this section, you will learn about slider and how to create a slider in dojo.   Dojo Stack
Right Way of Creating an Article Outline
giving details about your course of action right from the initial stage... Right Way of Creating an Article Outline   ... be allotted for brainstorming activities every week. You should make a note
Right Way of Planning Your Articles
Right Way of Planning Your Articles Article writing is a creative as well... make it a point to refer to our plan or outline for preventing our content's drifting away from the chalked out or planned requirements as one may easily get lost
jQuery 'Tab Slide Out' Plug-in
is left or right leftPos: '20px', //position from left/ use if tabLocation..., top, right, bottom, or left speed: 300, //speed of animation action: '...jQuery 'Tab Slide Out' Plug-in In this Section, you will learn how
Java Left Shift "<<" Operator
to the left side by the number of bits specified by its right operand. This operator never... Java Left Shift "<<" Operator       In this section, you will learn how to use Left
Mysql Left
; Mysql Left is used to return the left string from the character specified... an example from 'Mysql Left'.To understand the example we create a table... employee1 using Left: The Query return the left string from the character and '6
Natural Left Join
will be natural left join.  To join the tables firstly it is important to make... Natural Left Join      ... the MySql database. To join the table in a natural left join manner
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
Java Right Shift ">>" Operator
: The right shift ">>"operator shifts the left operand... Java Right Shift ">>" Operator       In this section, you will learn how to use right
The easy Slider plug-in of jQuery
in used to develop automatic slide show of images which moves from right... moves automatically from right to left : Download Source Code   Click... also see left image which slide down immediately, by clicking on left arrow
Natural Right Join
will be natural right join.  To join the tables firstly it is important to make... Natural Right Join      ... are using the MySql database. To join the table in a natural right join manner
Join tables with the NATURAL LEFT JOIN operation
Join tables with the NATURAL LEFT JOIN operation       This section describes the NATURAL LEFT JOIN... to retrieve data according to match the field name of another tables. NATURAL LEFT
Ajax Dojo Tutorial
; Learn Dojo in detail from the following Dojo Tutorials. About... the dojo inline DateTextBox and how to create a inline DateTextBox and how to make...;   Dojo Slider In this section, you will learn about slider
The Right Reasons for Change
but a nominal raise of pay does not serve your career interests. So make sure that you are changing jobs for the right reasons. Given below are a few indicators... The Right Reasons for Change     
Mysql Left Function
Mysql Left Function       Mysql Left Function is used to return the leftmost string character from... from 'Mysql Left Function'. To understand  this example, we simply create
Mysql Left Function
an example from 'Mysql Left Function'.To understand  this example,we simply... Mysql Left Function       Mysql Left Function is used to return the leftmost string character