Re: [Rails-spinoffs] javascript woes with radio button groups

2006-07-03 Thread Jeremy Kitchen
On Saturday 01 July 2006 10:56, Andrew Martinez (RIT Student) wrote: > You can tell if the mouse or the keyboard changed the radio button. Inspect > which key has been pressed, if any, of if the left mouse button was > clicked. Reference: http://www.quirksmode.org/js/events_properties.html > > > In

Re: [Rails-spinoffs] javascript woes with radio button groups

2006-07-03 Thread Jeremy Kitchen
On Friday 30 June 2006 15:02, Gregory Hill wrote: > You could set a variable onmouseover, and when onclick is fired check > for that variable to make sure they moused over the item first. Of > course, you'd then also have to clear the variable onmouseout to make > sure they didn't just keep the mo

Re: [Rails-spinoffs] javascript woes with radio button groups

2006-07-01 Thread Tom Gregory
Two comments: 1. If you're navigating immediately on click, you're already not really accessible to those with possible motor difficulties. (Accessibility doesn't just mean visual impairments and text browsers!) 2. The functionality you're describing isn't really that of a radio button..

RE: [Rails-spinoffs] javascript woes with radio button groups

2006-07-01 Thread Andrew Martinez (RIT Student)
Of Andrew Tetlaw > Sent: Friday, June 30, 2006 9:15 PM > To: rails-spinoffs@lists.rubyonrails.org > Subject: Re: [Rails-spinoffs] javascript woes with radio button groups > > Prototype already has an observer for this. Form.Element.Observer I > think. It uses a time based per

Re: [Rails-spinoffs] javascript woes with radio button groups

2006-06-30 Thread Andrew Tetlaw
Prototype already has an observer for this. Form.Element.Observer I think. It uses a time based periodical check for a changed value so it doesn't rely on events. On 01/07/06, Sam <[EMAIL PROTECTED]> wrote: If all else fails, setup a 100ms periodic timer event handler. Loop thru the radio butto

RE: [Rails-spinoffs] javascript woes with radio button groups

2006-06-30 Thread Sam
If all else fails, setup a 100ms periodic timer event handler. Loop thru the radio buttons, and you can decide when to move on from there. Sam ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/

RE: [Rails-spinoffs] javascript woes with radio button groups

2006-06-30 Thread Gregory Hill
You could set a variable onmouseover, and when onclick is fired check for that variable to make sure they moused over the item first. Of course, you'd then also have to clear the variable onmouseout to make sure they didn't just keep the mouse moving. Why do you care to differentiate between a cl

[Rails-spinoffs] javascript woes with radio button groups

2006-06-30 Thread Jeremy Kitchen
Ok! So I have this survey project I'm working on where there are a list of questions but only one shows up at a time. That part's easy. And, it is fully functional as we speak (and I think even 'live') however. My boss wants to be able to have the survey go to the next question when a u