How create slider rules and labels programatically? No have examples in the documentation.
I tried this, but slider rules not work:
############################################
function openSlider(){
//Vertical Slider
var node = dojo.body().appendChild(document.createElement("div"));
node.id = 's1';
test = new dijit.form.VerticalSlider({
value:30000,
minimum:1000,
maximum:30000,
discreteValues:10,
intermediateChanges:"true",
//showTooltip: "true", //=> This works for slider 1.0?
showButtons:"true" //=>Need this for slider 1.0?
},node);
test.startup(); //=>Need this for slider 1.0?
//Rules
var node2 = dojo.body().appendChild(document.createElement("div"));
node2.id = "rule1";
test2 = new dijit.form.VerticalRule( {
container: "rightDecoration",
count:10,
style: "width:5px"
},node2);
}############################################
Someone can show a example?
Thank you!
Rodrigo

Having the same problem...
Hi Rodrigo,
I'm currently having the same problem here... Did you find a solution?
Cheers,
rotorhead
No
Hi Rotorhead!
Not yet. :(
A hug,
Rodrigo
Rodrigo, I pasted an example
Rodrigo,
I pasted an example of a modified version of what you are trying to accomplish here:
http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/programma...
hope this helps.
Thank you!
Works perfectly in Firefox 2.0.0.10 and IE7.
* Please, post this tutorial on page of documentation of slider (with labels create too), so you will help many others in the future. ;)
Thank you very much Dante! :)
not a problem. perhaps tk
not a problem.
perhaps tk will point the node, or copy/paste. I added the example to the test case in dijit/tests/form/test_Slider.html so it will appear in svn soon, as well.
Thanks
Thanks again Dante! :)
a hug,
Rodrigo