evangipson / microstocks

Microstocks is an arcade resource gathering game written in JavaScript. Try and make the most money by selling high and buying low!
http://evangipson.com/microstocks/
1 stars 0 forks source link

Improve dialogue with user for buying/selling upon stock click #2

Closed evangipson closed 8 years ago

evangipson commented 8 years ago

Also:

evangipson commented 8 years ago

Ugh, looks like jQuery UI is a perfect choice, but I don't want a library. Oh well, jQuery is mainstream enough and I don't need the whole thing, just UI. This will also solve my draggable UI task hopefully!

evangipson commented 8 years ago

Another option is Remodal.

evangipson commented 8 years ago
> I don't need the whole thing, just UI.

I wonder if this is true...

evangipson commented 8 years ago

I ended up going with jQuery and jQuery-ui here, it was the easiest choice. Native slider support, a bunch of other widgets, and it's not really that detrimental to the readability of the code. I am only using jQuery when I need to interact with the dialog windows or the scroller, so I'm happy with it.

If you want to see the pull request that added this, check out pull request https://github.com/evangipson/microstocks/pull/11.

evangipson commented 8 years ago

Commit https://github.com/evangipson/microstocks/commit/f7b1b1446580efd121dacb66da2e1e8c791f8efb helped as well... the dialogues didn't even work upon pull #11 being merged!

D'oh! TEST ALL THE WAY DUMMY!