Please, settle down, both of you. Soapboxes and rationalization--as much fun as they are--aren't terribly useful.
@Marius: Whether condescension was intended or not, it did come across that way. @Andrew: A persecution complex is unbecoming. Understand, please, Marius, that it's not as simple as "attach an observer"--because there is no element to attach to on page load, and no good hook after the element is created. Your sample code acknowledges this. (And the undocumented hook, "onEnterEditMode" fires before the form element is created.) Yes, it is the default behaviour in some browsers to perform the selection automatically (in Firefox for input text but not textareas) when elements are tabbed through. Why can't it be a specified option? Why can't the page developer specify behaviour left ambiguous in W3C specifications? What Andrew is doing is request either a patch be implemented to make text selection an option (should be trivial), or directions to documentation demonstrating how it could be accomplished. Saying "It's easy", then posting a demo demonstrating the functionality by overriding the S.a.us library functions--while helpful to some degree--didn't really help answer his question. All behaviour can be overridden in that manner, and it may not be the most architecturally sound solution, as it's overrides potential changes in future upgrades. Now, go back to your corners, and promise to be nice to each other in the future. At least in public. =) Andrew, now you have a starting point (from Marius' helpful code) to propose a patch that includes the option. Let's smile, work together, and try to make this great open source library and community useful and productive. TAG On Feb 20, 2007, at 2:56 PM, Marius Feraru wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Andrew Kaspick wrote: >> Feel free to ignore my questions, > I will, permission acknowledged. > >> but if you have further information to help me see things your way >> then >> please do so without the condescending tone. > There was no "condescension" intended in any of my prior messages > on this > group, and neither will this be. It will be just harsh or > annoyingly bitter > for having to repeat myself (in vain) for the third time. > >> Your initial response was basically summed up as "attach an >> observer". > No. _Basically_ what I was trying to do was to point that "what to > do upon > focusing a control element" it's a HIG issue. > > More than that, I even provided an answer to your particular issue: to > attach a "focus" observer that should change focusing behaviour in the > manner you wanted. > > You replied confirming my supposition that accessibility guidelines > are > beyond you, so I tried once again to make you understand this is not a > Prototype/SAU issue, but yada-yada. > > More than that, being in a cheerful HTH mood, I took the time > forging an > example presenting how to "attach a 'focus' observer on that > element to do > that (you know, the usual selection/text range operations)". > Yes, *THAT*, and NOT an example on "how to go about overriding > existing > functions" (how low can you go?) :( > >> Leaving that behind, you've still failed to convince me that this >> is a >> vendor issue... > Example: focus a single-line-control-element using keyboard under ... > > a) Microsoft Windows XP > - - Run: Internet Explorer -> Tools -> Internet Options -> "General" > - - use "Tab" (or/and "Shift-Tab") to focus the input field containing > the "Home page Adress" value. > > b) GTK/Gnome on GNU/Linux > - - Run: Mozilla Firefox -> Edit -> Preferences -> "Main" > - - use "Tab" (or/and "Shift-Tab") to focus the input field containing > the "Home Page" value. > > c) QT/KDE on GNU/Linux > - - Run: Opera -> Tools -> Preferences -> "General" > - - use "Tab" (or/and "Shift-Tab") to focus the input field containing > the "Home Page" value. > > etc. > > Andrew, I'm still not being condescending. Cheers. > - -- > Marius Feraru > -----BEGIN PGP SIGNATURE----- > > iD8DBQFF226EtZHp/AYZiNkRAuXDAJ9h1dT96RyMnh4v4mDTjtBYIfIyVwCg4R5F > I15xtIdQKs/9GjGTYQ7PSlk= > =p+Kk > -----END PGP SIGNATURE----- > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---