Apr
10
comment Abstract Collision Detection
Note that this code could be simplfied quite a bit, by using equalities rather than if/else statements. For example (not an equality but it gives the right idea), the last four lines could be written as "return collide_x and collide_y".
Apr
9
comment How to calculate how many coordinates lie between 2 circles of radius 35 and 65?
You are right - I should have displayed the equation as code the first time so that repeated * would be displayed properly.
Apr
9
revised How to calculate how many coordinates lie between 2 circles of radius 35 and 65?
changed equation to display mode so that repeated * were properly displayed.
Apr
9
awarded Teacher
Apr
9
answered How to calculate how many coordinates lie between 2 circles of radius 35 and 65?
Mar
21
awarded Supporter
Mar
19
awarded Yearling
Mar
19
awarded Yearling
Feb
28
comment What experiment would disprove string theory?
To write, as you did in your first point, that something is exact with "a precision much better than 100%" is not stating a scientific fact.
Feb
24
awarded Commentator
Feb
24
comment Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
It's almost right (need to be able to scroll down the dialog more than once ... but that should be enough for me to fiddle and make it work). Thanks for the best answer!
Feb
24
accepted Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
Feb
24
comment Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
I tried various combinations and it did not work.
Feb
24
comment Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
I have found a plugin, mbcontainerplus, which does what I need and which I may use instead - although it is not exactly lightweight.
Feb
24
comment Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
Thanks for looking at it again. I guess I did not explain properly what I am trying to do. I want to use a dialog window as a "help" window that can be easily scrolled when it has focus, but is ignored when the focus is elsewhere. Take jsfiddle; if you click in one area (say the hmtl content) that has scrollbars, then these get "activated" when you press PgUp, PgDn, etc. If you click elsewhere, to give focus to some other area, then it is that new selection that can be controlled (scrolled) using the keyboard. What I want is for a dialog window to behave the same way.
Feb
24
comment Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
Yes, it does scroll, thanks. The problem is that the entire page will scroll as well. I have modified your fiddle to illustrate this: jsfiddle.net/aroberge/PfY6N. By contrast, if one has a panel with scrollable content having the focus, only the panel will scroll (unless it can no longer scroll after which the entire page will scroll).
Feb
24
comment Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
I don't get it. 1. There is no javascript code in your jsFiddle example: it is just showing the normal behaviour. 2. I want to have the ability of having either the dialog scroll or the panels, depending on which have focus. Right now I have various panels, which can get focus and scroll fine using keyboard events. It is just the dialog window that does not scroll.
Feb
23
asked Is it possible to control a scrollable jquery ui dialog using keys (PgUp, PgDn, ... spacebar?...)
Feb
10
comment CSS position fixed does not stay fixed when using CodeMirror
The site I am working on is definitely not going to be usable on mobile devices. As the problem I observed occurred infrequently and seemingly randomly, I can not be absolutely certain but it appears as though changing from fixed to absolute might have done the trick. You might want to rewrite your comment as an answer so I can approve it.
Feb
9
asked CSS position fixed does not stay fixed when using CodeMirror
1 2 3 4 5