[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread Quleczka
Hi, It does mean that if you have code further down the list of things to do which is reliant on the result of the request, then it will have to wait as well. So, that code would have to be part of the onSuccess too. Hope this is understandable. I'm new to Ajax as well but I understand

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread T.J. Crowder
Hi, How can I make this to DO NOT submit the form before ajax response will come? There are a couple of ways you can do this. 1. Don't let them submit until the field is validated. When the user changes the field, as soon as they leave it (or even as soon as they change it) disable the

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread Quleczka
Hi, Thanks for your reply. There are a couple of ways you can do this. 1. Don't let them submit until the field is validated. : The point is I wanted to change my validation from dynamic (when user type or changes the fields) to on submit only :) 2. Do the submit via XHR rather

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread Quleczka
By the way if I don't find any other solution soon I'll use http://prototypejs.org/api/form/request probably to send entire form and return some result. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread Tobie Langel
So my question is still open - is there any way to check something with ajax request on submit and submit form when you have true/false response? Yes. Use Event#stop to prevent default submit action. Fire an ajax request that does the validation. Show a validating indicator, upon receiving

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-03-01 Thread Tobie Langel
This has changed indeed. We'll update the readme file accordingly. Best, Tobie On Mar 1, 2:17 pm, buda www...@pochta.ru wrote: I dont know what is git command - I'm windows user I do as written on the site: Building Prototype from source prototype.js is a composite file generated from

[Proto-Scripty] Re: problem of preview a website using Prototype

2009-03-01 Thread SamuelXiao
Could someone please help me? What I want to is to bind the variable i to gotopreview(event,i) function, thus everytime the toplink [i].onmouseover, there is a preview web page shown, I modify the code to use listeners in the following fun, but firebug tells me getsid [i].value is not defined,

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread T.J. Crowder
Hi, The point is I wanted to change my validation from dynamic (when user type or changes the fields) to on submit only :) :-) ! Ok, I was thinking about this solution and using From.serialize but I didn't want to my site to much - just simply change one thing - Option #2 can be a

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread Quleczka
Hi, Yes. Use Event#stop to prevent default submit action. Fire an ajax request that does the validation. Show a validating indicator, upon receiving the request back, just use $('my_form_id').submit() to submit the form. Thanks for hint :) I was testing Event.stop but somehow I was

[Proto-Scripty] Re: Creating Ajax.InPlaceEditor dynamically ... confusing the hell out of me.

2009-03-01 Thread BearState
Never mind! What I found is that the fix I put in for the 'onSuccess' in Ajax.Request() still did not satisfactorilly allow time to return the value from the CGI. Thought it did, but it didn't. Refer to the thread on 'Delay Required after Ajax.Request() ... How to?' for more info. I went

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread BearState
Woops! Take that back. It is NOT working right using onSuccess instead of setTimeout() over the split part of the module. Thought it was, but it was not. After having a hell of a time trying to dynamically plug the InPlaceEditor, I found out that onSuccess has little to do with successfully

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-03-01 Thread Quleczka
On 1 Mar, 22:38, BearState wixelb...@yahoo.com wrote: I found out that onSuccess has little to do with successfully returning anything from the script. What do you exactly mean by this? Quleczka --~--~-~--~~~---~--~~ You received this message because you are

[Proto-Scripty] Re: Creating Ajax.InPlaceEditor dynamically ... confusing the hell out of me.

2009-03-01 Thread Quleczka
What I found is that the fix I put in for the 'onSuccess' in Ajax.Request() still did not satisfactorilly allow time to return the value from the CGI.  Thought it did, but it didn't. Maybe some example what exactly is not working for you in this 'onSuccess' callback? Quleczka

[Proto-Scripty] Slider handleImage and handleDisabled usage

2009-03-01 Thread spaceage
Can anybody explain how to use this functionality? The wiki indicates: handleDisabled: The id of the image that represents the disabled handle. This is used to change the image src when the slider is disabled. (note usage of 'id'...) But the demo code reads: handleDisabled:

[Proto-Scripty] Re: Prototype effects below flash animation

2009-03-01 Thread Ângelo Rigo
Hi I try to use z-index o for flash and 10 for ligthbox , but it does not work Thank you very much On 27 fev, 19:35, Boysenberry Payne habitatl...@gmail.com wrote: Try either setting the z-index css style for both so that the effects   div is a higher number or make sure the div/element

[Proto-Scripty] Re: Prototype effects below flash animation

2009-03-01 Thread Ângelo Rigo
Hi I try to use param name=wmode value=transparent / in the flash params but still does not work, maybe i am doing something wrong! How do you use this solution ? Thank you very much On 28 fev, 12:46, Walter Lee Davis wa...@wdstudio.com wrote: I'm not sure this will help in all cases. Flash