search for: hasfocus

Displaying 11 results from an estimated 11 matches for "hasfocus".

2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
...Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this)); + if (this.options.firstRun) { + this.onObserverEvent(); + } + }, + onKeyPress: function(event) { + this.changed = true; + this.hasFocus = true; + + if(this.observer) clearTimeout(this.observer); + this.observer = + setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); + }, + onObserverEvent: function() { + this.changed = false; + data = escape(this.element.value); + new...
2006 Jan 23
6
Performance Issues with Autocompleter
...snip> render: function() { if(this.entryCount > 0) { for (var i = 0; i < this.entryCount; i++) this.index==i ? Element.addClassName(this.getEntry(i),"selected") : Element.removeClassName(this.getEntry(i),"selected"); if(this.hasFocus) { this.show(); this.active = true; } } else { this.active = false; this.hide(); } } </code snip> The render function above is running into a for loop in order to make the "Highlighting" effect work. (onHover calls this function) When yo...
2006 Mar 01
4
[Fwd: [PATCH] Allow generic autocompleter (Ajax.Watcher)]
Patch to allow generic Ajax.Autocompleter-style textbox watchers. Forwarded for "[Rails-spinoffs] Delayed input posting" -Rob _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Apr 20
1
The Autocompleter, with scrollable result-div
...t.pointerY(event) ) ){ + Event.observe(this.update, "blur", this.onBlur.bindAsEventListener(this),true); // make sure blur is still around on + return; + } + } // needed to make click events working setTimeout(this.hide.bind(this), 250); this.hasFocus = false; Index: ajax_autocompleter2_test.html =================================================================== --- ajax_autocompleter2_test.html (revision 4240) +++ ajax_autocompleter2_test.html (working copy) @@ -72,8 +72,10 @@ new Array("John Jackson", "Jack Johnson&qu...
2006 May 01
0
RE: Leak in the Autocompleter, with scrollable result-div ?
...t;, > > this.onBlur.bindAsEventListener(this),true); // make sure blur is > > still around on > > + return; > > + } > > + } > > // needed to make click events working > > setTimeout(this.hide.bind(this), 250); > > this.hasFocus = false; > > > > > > Index: ajax_autocompleter2_test.html > > > > =================================================================== > > > > --- ajax_autocompleter2_test.html (revision 4240) > > > > +++ ajax_autocompleter2_test.html...
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone, I have used used scriptalicious for the autocomplete. It works but with one problem. When scrolling down the list, the values not visible are not scrolled into focus. eg I use the keyboard down or up key. Here is my CSS <style type="text/css"> div.auto_complete { height: 100px; width: 350px; background:
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that will show a predefined Array and will scroll automatically to the first match. I have had success with with getting my list to populate and show all of the choices, however I cannot get it to scroll to the first match. Since I build the JS Array I can know exactly how many items are in the list going into my selector,
2006 May 05
7
Problem with autocomplete
Hello, I''m using scriptaculous library (in symfony) v. 1.6.1 Great library !!!!! I have a problem. While in IE6 it''s all ok (the autocomplete field works perfectly) in FF 1.5.0.2 the field apparently isn''t working. If I try the example in the scriptaculous homepage (v. 1.4.0_pre4 of Prototype) doesn''t work with FF, while the simple online demo, that uses
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...); -var Autocompleter = { } +var Autocompleter = { }; Autocompleter.Base = Class.create({ baseInitialize: function(element, update, options) { - element = $(element) + element = $(element); this.element = element; - this.update = $(update); - this.hasFocus = false; - this.changed = false; - this.active = false; - this.index = 0; + this.update = $(update); + this.hasFocus = false; + this.changed = false; + this.active = false; + this.index = 0; this.entryCount = 0; thi...
2016 Jan 09
0
Wine release 1.9.1
...boxes. kernel32: Remove incorrect comment from !i386 version of GetLargestConsoleWindowSize. Jacek Caban (8): mshtml: Added IHTMLElement::lang property implementation. mshtml: Properly convert VT_NULL to string in get_elem_attr_value_by_dispid. mshtml: Added IHTMLDocument4::hasFocus implementation. jscript: Added support for Function constructor called as a function. mshtml: Merge htmlstyle2.c into htmlstyle.c. mshtml: Merge htmlstyle3.c into htmlstyle.c. mshtml: Added IHTMLCurrentStyle::styleFloat property implementation. mshtml: Added IHTMLDocum...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server