RE: [Rails-spinoffs] iframe ... does it have an innerHTML ?

2006-07-01 Thread mpeters
> And here is the kicker: > - In IE only: if you use innerHTML there is a 1ms-100ms lag > between > the DOM tree/DOM nodes being updated with your new HTML. However it is > instantly visible to the user. > > > I have been using innerHTML to insert Ajax retrieved content and applying > obs

RE: [Rails-spinoffs] iframe ... does it have an innerHTML ?

2006-07-01 Thread Sam
Title: Message And here is the kicker: -  In IE only: if you use innerHTML there is a 1ms-100ms lag between the DOM tree/DOM nodes being updated with your new HTML. However it is instantly visible to the user.     I have been using innerHTML to insert Ajax retrieved content and a

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)
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 addition, instead of putting the event handler on the radio group put it on t

Re: [Rails-spinoffs] Can Ajax.Autocompleter be abused for this?

2006-07-01 Thread Kjell Bublitz
Thank you! That worked :)Here is my modified non-rails version (for the records):    new Ajax.Autocompleter(inputfield, resultfield, baseurl+'search.php', {   method:'get', frequency:0, updateElement: function(resultItem) {     window.location = resultItem.getElementsByTagNa

Re: [Rails-spinoffs] Can Ajax.Autocompleter be abused for this?

2006-07-01 Thread Horacio J . Peña
> For a project i am playing around with the Ajax.Autocompleter. It has > basicly the functionality i need but with the little difference that i would > rather use it as LiveSearch with clickable links instead of auto-completing > a inputfield. Any ideas how i can make it so that, if a user selects

[Rails-spinoffs] Can Ajax.Autocompleter be abused for this?

2006-07-01 Thread Kjell Bublitz
Hi allFor a project i am playing around with the Ajax.Autocompleter. It has basicly the functionality i need but with the little difference that i would rather use it as LiveSearch with clickable links instead of auto-completing a inputfield. Any ideas how i can make it so that, if a user selects a