[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread Walter Lee Davis
This might be part of the problem. If you include scriptaculous, it will include all the rest of the scripty libraries. If you only want controls, then include prototype and controls. That's the reason why there are separate libraries -- to cut down on the overall size of things. Walter

[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread barkokhba
Thanks for taking an interest. When I delete the scriptaculous.js import, Autocompleter does not work at all, so I guess it is needed. The way I understand the libraries are organized is that you always need scriptaculous.js, but the other libraries, e.g. effects.js, only when needed. On Oct 7,

[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread Walter Lee Davis
No, if you include scriptaculous, you get EVERYTHING. If you just want one extra library, then you can use it. I can't recall what Autocompleter needs, but I think it might be Controls, maybe Effects. If you read the source of scriptaculous.js, you'll see that it's just a loader, and

[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread barkokhba
Walter you are right. But even if I just include effects.js and controls.js the popup still vanishes when I click the scrollbar. I just tested this on my Mac at home and the popup vanishes in Safari and Opera as well when I click the scrollbar. Only Firefox on the Mac allows me to scroll the

[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread barkokhba
I copied the example, but had to change the css by adding a height and overflow attribute, otherwise I don't get scrollbars. This is the new css that I changed (last two attributes): div.autocomplete { position:absolute; width:250px; background-color:white; border:1px solid #888;

[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread Walter Lee Davis
I've never tried having a scrollbar on the results -- that's where your problem is happening, I'm pretty sure -- clicking on the scroll area is technically clicking outside of the results list, which causes it to lose focus and die. My own hack around this problem is to only return 20

[Proto-Scripty] Re: Ajax.Autocompleter does not work properly in IE 6

2008-10-07 Thread barkokhba
Walter, thanks for your interest. I just tested with IE 7 and it shows the same behavior. FF 3 seems to be the odd one (the only one working). I think I give up with scriptaculous and try something else. Do you think JQuery might work? Or is this entirely a CSS problem? On Oct 7, 10:04 pm,