Page 1 of 1

Customisation of slider

Posted: Wed Jun 05, 2013 1:34 pm
by Dimitris Monastiriotis

Can I configure the slider to accept decimal values? ie start from 0.5 and incremet every 0.5 ? If not can you advise of how I could implement it using jqm?


Customisation of slider

Posted: Wed Jun 05, 2013 3:14 pm
by Kateryna Grynko

Hi Dimitris,

We cannot reproduce the problem. What browser version do you use?


Customisation of slider

Posted: Wed Jun 05, 2013 4:32 pm
by Dimitris Monastiriotis

hi I use chrome Version 27.0.1453.110 m when I put in 0.5 in Val or Min Val it shoes a message saying "allowed values num" is there any way to bypass this???


Customisation of slider

Posted: Wed Jun 05, 2013 5:27 pm
by Kateryna Grynko

Create JavaScript file with the following code:
code$(document).on("pagebeforecreate", function(){
var input = $('input[name="mobileslider_2"]'); // control name
input.attr("step", "0.01"); //step
});/code


Customisation of slider

Posted: Thu Jun 06, 2013 11:06 am
by Dimitris Monastiriotis

thanks a lot