Questions tagged [mobiscroll]

A wheel scroller user control optimized for touchscreens to easily enter date and/or time. The control can easily be customized to support any custom values and can even be used as an intuitive alternative to the native select control (dropdown list). It is designed to be used on touch devices as an alternative to the jQuery UI date picker.

Mobiscroll is user control meant for selecting values that is optimized for smartphones and tablets. It is open source and built on the jQuery library.

Resources

164 questions
0
votes
1 answer

mobiscroll instance $('#scroller').mobiscroll('getInst'); returns undefined

I have this function to update the time: updateTimerView: function(hours, minutes, seconds){ var inst = $('#scroller').mobiscroll('getInst'); inst.temp = [hours, minutes, seconds]; } But I always get the error: TypeError: inst is…
Segolas
  • 575
  • 2
  • 10
  • 26
0
votes
1 answer

Rails 3 Mobiscroll Gem

I am running a Rails application on Heroku and tried to import the mobiscroll-rails gem. The gem works fine on heroku, however, whenever I try to run any rails/rake command on my local machine, I get the following error: couldn't find file…
Delian
  • 1
0
votes
0 answers

Wheel numbers in FF18

Re: wheel #s outside wheel (@dioslaska) That issue is fixed, but now numbers make funny shadow inside wheel (also in demo page)... or is there another animation parameter to disable this?
MaxD
  • 574
  • 3
  • 10
0
votes
1 answer

jQuery Mobile: Cannot get Mobiscroll demo to work

I'm using code from the Mobiscroll Select Scroller Demo, but the result in Safari, Firefox, and Chrome browsers is a dropdown list, not a wheel picker. I've checked out the existing questions/answers to no avail. I added the jQuery and jQuery…
Dan Ferry
  • 3
  • 1
  • 3
0
votes
1 answer

Mobiscroll custom wheel leading 0 required for single digit numbers

I am using mobiscroll 2.0 and making 2 custom wheels one having numbers 0 to 23 and other having numbers 0 to 99 i want that the single digit numbers that is form 0 to 9 should have a leading 0 in front of them. How can i do it?
0
votes
2 answers

Changewheel functionality How it works?

First of all I want share my appreciation for the amazing work done with this snippet (it's really really a cool tool). I am trying to use mobiscroll in an app that I am currently developing. I love how easy is to use and customize the mobiscroll…
Dinuz
  • 400
  • 4
  • 13
0
votes
1 answer

Mobiscroll onBeforeShow, set Value

How do I call the onBeforeShow event with mobiscroll? $('#starttime').mobiscroll('setValue', value).time({ theme: 'jqm', display: 'modal', mode: 'clickpick', stepMinute: 10, onBeforeShow: }); I need to set…
redconservatory
  • 21,438
  • 40
  • 120
  • 189
0
votes
1 answer

Mobiscroll fails in Chrome, works fine in FF & IE

I call Mobiscroll as follows: $(joInputField).scroller({ width: 60, wheels: wheels, // wheels variable has been defined above headerText: false, // false for production! onSelect: function(){ // event…
Ivo Renkema
  • 2,188
  • 1
  • 29
  • 40
0
votes
1 answer

Localstorage and saving session state

I am making a webapp, that uses mobiscroll as a number counter. The numbers are saved via a submit button below it. The problem I have is whenever the user presses the home button, when the webapp is reloaded, it resets the number list. I figured…
das_boot
  • 113
  • 2
  • 9
0
votes
1 answer

mobiscroll timepicker function

Hello I am new to mobiscroll Demos, and I am trying to figure out how they work. For practice I was just trying to get one of their timepicker to work, but I am having some issues. I would appreciate if someone can point out the problem to me in the…
eve007
  • 1
  • 3
0
votes
1 answer

Mobiscroll with JQuery Mobile: Year part not being recognized

I am having problems getting Mobiscroll to recognize the year part of a date. See image below: JS $('.datepicker').scroller({ preset: 'date', theme: 'jqm', display: 'bottom', mode: 'scroller', …
Matt
  • 6,787
  • 11
  • 65
  • 112
0
votes
2 answers

Calculating problems with mobiscroll and jquery mobile

I try to count the nights between departure and arrivaldate, and if the departuredate is set the arrivalate should change automatically to a day after the given departuredate. thats my mobiscrolldatepickers $(function(){ …
Susan
  • 53
  • 2
  • 12
0
votes
1 answer

Auto-Increment Wheels in MobiScroll

I am using mobiscroll on a website as a method for date input. The scroller is initiated like this: $(function(){ var curr = new Date().getFullYear(); $('#date').scroller({ preset: 'date', height: 30, width: 20, theme: 'default', …
inveni0
  • 25
  • 6
0
votes
1 answer

Mobiscroll Demo

I am looking at the demo of MobiScroll and have chosen the following options: Demo Page: Demo Demo: Time Display: Modal Mode: Scroller The demo example shows the resulting HTML I should use as:
0
votes
3 answers

Make Mobiscroll height and width responsive

With Mobiscroll, the height and width is set in the original JQuery implementation. When the screen size is changed, I currently have the width and height changing with CSS @media queries. I would like to know if there is a way with the original…
Desmond
  • 1,656
  • 3
  • 22
  • 34