Results 1 to 3 of 3
Aug 24, 2011, 23:38 #1
how to create slider for mobile iphone
i have used this code
<input type="range" name="slider" id="slider" value="0" min="0" max="100" />
Sep 10, 2011, 00:31 #2
- Join Date
- Aug 2011
- Toronto, Canada
- 0 Post(s)
- 0 Thread(s)
This is the first time I see ... input type="range" ... syntax, that must be some recently introduced feature of HTML(5?). No surprise iPhone does not support it then.
1) Well you could use <select> with <option> from 0 to 100, it will actually scroll nice in the Android, so it is not a bad solution b/c it is easy to implement.
3) Or use jQuery and jQueryUI and there is a component in jQuery UI that is called slider if I am not mistaken
Or do something else, there are million ways to solve this problem. Personally, I would try <select> element first. In Android browser, long <option> list is not a problem at all, on the iPhone - I am not so sure.
good luck solving your problem
Dec 6, 2011, 23:46 #3