[Proto-Scripty] cancel ajax request on server

2010-06-11 Thread Worth Lutz
I'm trying to cancel an AjaxRequest on the server when the server is taking too long. ajReq = new AjaxRequest( .); // normal call which works fine //server is taking too long so User hits "cancel" button. // some requests finally return after minutes with "server time of 30 sec. exceede

[Proto-Scripty] AutoComplete Keyboard functions not working.

2010-06-11 Thread Greg Militello
Hi everyone, I am new at programming and I cannot figure out how to get the Autocomplete's keyboard functionality to work correctly. I am able to get Autocomplete function but when you hit the up and down arrow, the select does not change. Could someone take a look at my code and point out what I a

[Proto-Scripty] Re: AutoComplete Keyboard functions not working.

2010-06-11 Thread Greg Militello
I actually was able to figure it out, It was actually working the whole time. If you add this bit of CSS li.selected { background: teal ;color: black; } you can see what is actually see what is selected. Greg On Jun 10, 3:47 pm, Greg Militello wrote: > Hi everyone, I am new at programming and

Re: [Proto-Scripty] Re: replace with event.observe? ... can't figure it out

2010-06-11 Thread Fernan Aguero
On Thu, Jun 10, 2010 at 4:14 AM, T.J. Crowder wrote: > Hi, > > On Jun 9, 4:33 pm, Jarkko Laine wrote: >> On 9.6.2010, at 17.08, fernan wrote: > [snip[ >> The following worked fine for me (both Safari and FF): >> >>     >>      document.observe('dom:loaded', function() { $('div1').toggle() }); >>

Re: [Proto-Scripty] Re: Setting the focus on an input after an effect to show the input.

2010-06-11 Thread Walter Lee Davis
One question though -- is there only ever one $('requestVehicle') in the page? If you use the ID method to call an object like this, you are making that contract with the browser -- only one thing will ever match that selector. If there are many such, then don't give them IDs, or be sure to

[Proto-Scripty] Re: How to create slideshow type effect?

2010-06-11 Thread Kruncher
Thanks for your response Patrick, works perfectly. Sorry for the long delay! On 23 May, 18:48, patrick wrote: > What you could do is set a variable when the fade begins, and reset it > when it ends, and then limit your tab buttons from having action if > the fade is in progress. > > so it would

Re: [Proto-Scripty] Re: Setting the focus on an input after an effect to show the input.

2010-06-11 Thread Richard Quadling
On 11 June 2010 16:07, Walter Lee Davis wrote: > One question though -- is there only ever one $('requestVehicle') in the > page? If you use the ID method to call an object like this, you are making > that contract with the browser -- only one thing will ever match that > selector. > > If there ar

Re: [Proto-Scripty] Re: Setting the focus on an input after an effect to show the input.

2010-06-11 Thread Walter Lee Davis
Yes, but is there only one form on the entire page at any time? That's the point I was trying to get at here. If you have two inputs with the same ID, you can call focus() but only the first one with that ID will gain focus. Walter On Jun 11, 2010, at 4:57 PM, Richard Quadling wrote: The