Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter Sign In with OpenID Sign In with Google

Sign In Sign Up

In this Discussion

Tagged

Welcome to the Jo support forums! Please Sign Up and join in the discussion. You can also Sign In instantly with Twitter, OpenID or your Google ID.
iOS Action sheet and badge improvements
  • kevinwalzerkevinwalzer June 2012
    Posts: 63

    I'm working on some improvements to my iOS-style action sheet and badge sample code. The badge is pretty straightforward, but I'm not happy with the action sheet, because it's really just a "slide-up" animation that takes up the full screen. What I'd really like to do is the following:


    JoShim -> Action sheet sliding up to a certain height (depending on the number of child widgets it has) above the joShim.

    Looking at other samples from other libraries, it's a bit of a swamp of CSS and JQuery, and I am a bit lost as to how to isolate this in Jo. 

    *How can I calculate the height that the sheet should slide up to, and make sure that it only slides up to that height?
    * How can I make sure the sheet sits on top of the joShim and not below it? 



  • kevinwalzerkevinwalzer June 2012
    Posts: 63

    I think I'm going to give up on the "action sheet" idea--a popup accomplishes 90% of what I need here. The more critical bits are the badge (this will allow me to avoid going to native stuff such as Phonegap plugins), and I've made significant improvements there--I'll submit a pull request soon.