[Proto-Scripty] Re: Event ordering for cross domain frames

2009-12-10 Thread david
Hi sumit, as explain in the previous post, I have not tested any code, and could not do any test actually. Do you have any live page we can test? It could be easier this way :)) -- david On 9 déc, 13:36, Sumit skbrnwl-...@yahoo.com wrote: Hi, So i finally came up with protoype based

[Proto-Scripty] Re: Event ordering for cross domain frames

2009-12-10 Thread david
Hi sumit, !! repost, it seems that an error delete my previous response !! As I said, I did not have possibility to test what you're trying to do, Could we have a live page so that it will be easier to point the trouble ?? -- david On 9 déc, 19:36, Sumit skbrnwl-...@yahoo.com wrote: Hi, So

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread david
Hi joe, I think that what you try to do could not be handle with AJAX.request (). In fact you'll receive control on a callback in the AJAX.request() when the response is complete in the browser. What you could do is a pure HTML solution: create an iFrame inside your page, and set its location to

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread david
Hi again, I'm having big finger this morning :)) so let's continue: What you could do is a pure HTML solution: create an iFrame inside your page, and set its location to the request you made, next treat this request in the server and use flush() function (in PHP) to send a part of the response.

[Proto-Scripty] Slideshow: how to maintain current slide between manual adv and auto adv

2009-12-10 Thread MakeITRight
This is hard to explain in a short subject line. I have a slideshow that is set to auto advance and can be paused and played, but can also be manually advanced or reversed by click on arrow controls or the image itself. When I manually advance the slides, and wait for the rotation to automatically

[Proto-Scripty] Change selected option for select tag

2009-12-10 Thread rdavila
Hi, I've an select element that is observed: select id='colors' options value='0'-Select-/select options value='1'Red/select options value='2'Yellow/select /select After that I've processed the form via Ajax and the select was selected in 'Red' for example, I reset the select tag with:

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread T.J. Crowder
Hi Joe, It seems to me the simple way to do this is have the first request initiate a process on the server that keeps running when the request completes; the request returns an indicator of the current status and an identifier for the action. Your subsequent requests supply the identifer, which

Re: [Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread Alex McAuley
I noticed you were using PHP on the server side ... you can also use output buffering to achieve this in one request Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Slideshow: how to maintain current slide between manual adv and auto adv

2009-12-10 Thread T.J. Crowder
Hi, Just posting the link requires that everyone trying to help you had to dig through a huge amount of extraneous information to figure out what part of your code is messed up. Here's a more useful approach: http://proto-scripty.wikidot.com/self-contained-test-page From the sound of it, it

[Proto-Scripty] Re: Change selected option for select tag

2009-12-10 Thread T.J. Crowder
Hi, This works fine, the select' option is changed, but when I select 'Red' again the change event isn't fired, only works if I select 'Yellow'. On what browser(s)? -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Dec 9, 11:10 pm,

[Proto-Scripty] A class called Queue()

2009-12-10 Thread Hugeen
Hi guys,  Firstly I said that I am French. I'll try to speak best in English, be indulgent.  I recently developed a class based on Prototype for a application web.  I called this class Queue();  This allows you to stack multiple Ajax.Request (or Update) to they are treated to the chain via the

Re: [Proto-Scripty] Re: Check a mouse button

2009-12-10 Thread Alex McAuley
MouseMove tracks the mouse. A drag for example uses Left Mouse Click (down) plus Mouse Move Click simply detects the click on an element or page.. If you want to observe mousemove into an element then setup an observer once it has entered for click .. this seems a slight waste of time

Re: [Proto-Scripty] Re: Change selected option for select tag

2009-12-10 Thread Ruben. D.
I've tried in Firefox and Opera and the result is the same. -- Rubén Dávila Santos. http://rubenonrails.com -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

Re: [Proto-Scripty] Re: Change selected option for select tag

2009-12-10 Thread Walter Lee Davis
Here's an implementation that works in all the browsers I've checked: var combinator = function(){ $$('select.combo').each(function(elm){ var elm = $(elm); var texts = ['Choose...']; var opts = ['']; var sel =

Re: [Proto-Scripty] Re: Change selected option for select tag

2009-12-10 Thread Ruben. D.
I think that I've not explained my problem right(due to idiom limitations). My problem is simple: When I reset the select element the onchange element doesn't fire, the workflow is this: I've a select element with 3 elements: -Select-, Red, Yellow 1) When the page load '-Select-' option is the

[Proto-Scripty] Object mashup

2009-12-10 Thread maalek
Hello I have problem with my Objects. My object have many props and method, one of this is td (screen reprezentation of the object). I observe click event to obj.td where I do many things on this object and change td (screen reprezentation). My question : how find object where is attach clicked

Re: [Proto-Scripty] Re: Check a mouse button

2009-12-10 Thread Frédéric
On jeudi 10 décembre 2009, Alex McAuley wrote: MouseMove tracks the mouse. A drag for example uses Left Mouse Click (down) plus Mouse Move Click simply detects the click on an element or page.. If you want to observe mousemove into an element then setup an observer once it has

Re: [Proto-Scripty] Re: Change selected option for select tag

2009-12-10 Thread Walter Lee Davis
Try setting the defaultSelected property as well, that might be getting in the way of your select noticing that it's been changed. yourSelect.options.selectedIndex = 0; yourSelect.options[0].defaultSelected = true; Walter On Dec 10, 2009, at 12:15 PM, Ruben. D. wrote: I think that I've not

Re: [Proto-Scripty] Re: Change selected option for select tag

2009-12-10 Thread Ruben. D.
Very thanks Walter, now it works fine ;) Regards. -- Rubén Dávila Santos. http://rubenonrails.com -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread joe t.
david: The buffer/flush path seems to be where this solution is heading. Don't ask me why, but iframes rub me the wrong way. With the evolving needs for more streamlined connections, iframes feel like soggy bandaids to me. Given they have a place where nothing else seems to work (Ajax-ish file

Re: [Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-10 Thread Rob Cluett
Why would we add an element using prototype's DOM method over innerhtml in any scenario if we can use innerhtml and subsequently use $(element) to immediately retrieve a reference to it? I was told in the begining that innerhtml was the wrong way. Message sent from my Motorola Droid. On Dec 8,

Re: [Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-10 Thread Walter Lee Davis
I believe that innerhtml is not completely guaranteed to work the same way across browsers, while the Prototype DOM methods are. Walter On Dec 10, 2009, at 10:02 PM, Rob Cluett wrote: Why would we add an element using prototype's DOM method over innerhtml in any scenario if we can use