Eric Durbin![]()
Slider that uses an array of values instead of a min/max.
<script src="http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2011.11.30-20-58'
}).use('gallery-array-slider', function(Y) {
var foo = new Y.ArraySlider({
axis: 'x',
length: '200px',
value: 20,
values: [5,10,15,20,25,100]
});
foo.render('#test-slider');
foo.addTickMarks();
});
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info