search for: slusarek

Displaying 20 results from an estimated 26 matches for "slusarek".

2006 Apr 06
4
function onComplete how to overload?
Hi all. I my apps I need to use Ajax.Request Object. One of the object options is onComplete fuction which looks like this: funcion onComplete (originalResponse) { ..some operations } I need pass to function one more parameter, how to do it? is is possible? I can''t use AJAX Updater because result of Ajax Call is uploaded to the div that I defined earlier, and in my situations I
2006 May 22
2
using Singleton with Prototype
Hello all. I''m writing my own object using prototype and I wonder how you write and call only one instance of class. Can anyone share his idea of singleton? thanks Gregor ---------------------------------------------------- Gdy nadchodzi przełomowy moment w historii, musisz zdecydować, po czyjej stronie będziesz. "X-Men: Ostatni bastion" - w kinach od 26 maja.
2006 Feb 21
2
Ajax status
Hello All. I''m making ajax call to some url but to connect and get data from that url first I check session for user which using AJAX. If session is expired I redirect Ajax call to other url. That url return form to login. There is one problem - I check in function onResponse(OriginalRequest) OriginalRequest status and status is always 200 - whatever I''m logged or not. So i
2006 Feb 21
2
Ajax reqest and http status
Hi all. I ''m using Ajax request on my site and i need to show some message wneh AJAX call is running, (sometimes it happen so slow). I find that object AJAX.RESPOND is very usefull here, but sometimes when i need to do AJAX CALL my ajax call is redirect and i want to when it happen, is there way to find status of ajax call? i don''t know where I can find this property in
2005 Oct 12
2
AJAX and disapear javascript tags
Hello everyone. I''m writing web aplications using AJAX (library prototype and scriptaculous). I have situation that I want to change content of one div in my site. I make ajax request to server and getting new content of that div. The problem is that this div should have javascript code (e.g. looks like that <div><script>js code</script>
2006 May 08
2
inPlaceEditor and onClick Event
Hi all. I have specific situation that I want to made element to be edited in place (i mean I want to wrapped that element Ajax.InPlaceElenment) but i want that inplaceeditor be triggered not clicked in that element but in the other element. e.g. there are two divs and first I want to be inplaced editor but this inplaced editor should be trigerred when i clicked in second divs. How to do it nice?
2006 May 18
1
sending Form with fieldtype FILE by AJAX
Hi all. Is it possible to send a form with a FILE type field by ajax? I try to capture value of that field by $F and append it to param and send call by it look like it failed. Maybe some change on header on something? What do you think about that? really thanks for any help Gregor ---------------------------------------------------- Dwór Artusa PKO BP 2006 Puchar Świata we Florecie kobiet w
2006 Apr 30
1
Draggable - how start action on start dragging and end action on droppping
Hi all. I have got situation that I made element draggable - and when element is dragged I want to start some action (e.g. shown AJAX indicator, and change one of CSS class in dragging element). What is the best way to achieve this? I search source code of the Draggable and I saw that there is 2 method: Draggable.initDrag and Draggable.endDrag so it looks like in initDrag method i should
2006 Jan 29
2
How to fire event listener after site update by Ajax Updater?
Hi all. I have site that is updated by Ajax updater. After site is update i want to use some javascript code and I don''t want use javascript onClick. I try to use some event listener but I don''t know how to fire them. What is the event when some part of site is update by ajax? Thanks for any help Gregor ---------------------------------------------------- Chuck nie musi dzwonić
2005 Nov 09
0
dropping element and pop-up from overlib
...class) but i want to add pop-up effect on the droppable area. Does anyone know how to do it? It must work like this: When the dragged element is over the droppzone: we must identified wchi ch drop zone have actually hoverclass and we must add pop-up effect to this drop-zone. Best Wishes Grzegorz Slusarek ---------------------------------------------------- Nowy album Kate Bush po 12 latach milczenia ! Podwójna płyta "Aerial" ukazuje się 7 listopada 2005. http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Femiemi.html&sid=564
2005 Nov 09
0
droppable and pop-up effect from overlib library
...class) but i want to add pop-up effect on the droppable area. Does anyone know how to do it? It must work like this: When the dragged element is over the droppzone: we must identified wchi ch drop zone have actually hoverclass and we must add pop-up effect to this drop-zone. Best Wishes Grzegorz Slusarek ---------------------------------------------------- Nowy album Kate Bush po 12 latach milczenia ! Podwójna płyta "Aerial" ukazuje się 7 listopada 2005. http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Femiemi.html&sid=564
2006 Mar 07
1
Ajax.Responders- how to get responseText?
Hi All. In my site I have situation that I always want to execute some piece of code when AJAX call happen. I am using function onCreate and onComplete from tutorial:http://www.sergiopereira.com/articles/prototype.js.html but I don''k how to manipulate Ajax responseText in this function. Does anyone know how to do it? Gregor ---------------------------------------------------- Zagraj o
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...t; When replying, please edit your Subject line so it is more specific > than "Re: Contents of Rails-spinoffs digest..." > > > Today''s Topics: > > 1. Re: Disabling anchor clicking in a draggable (Chris Lear) > 2. status = 200 something wrong??? (Grzesiek Slusarek) > 3. RE: Re: [Rails-spinoffs] Question abour Draggables & > Droppables (::Alex Rengel::) > 4. Re: Disabling anchor clicking in a draggable (David Z?lke) > 5. RE: Re: [Rails-spinoffs] Question abour Draggables & > Droppables (Ryan Gahl) > > > --------...
2006 Feb 21
0
Odp: RE: Ajax reqest and http status
..., > onFailure:_reportError > } > ) > } > > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of > Grzesiek > Slusarek > Sent: Tuesday, February 21, 2006 10:56 AM > To: rails-spinoffs > Subject: [Rails-spinoffs] Ajax reqest and http status > > Hi all. I ''m using Ajax request on my site and i need to show some > message > wneh AJAX call is running, (sometimes it happen so slow). I fin...
2005 Nov 29
6
draggable revert problem
Hello, I have tried implementing the shopping cart ajax example and have run into some problems. The only differences with the shopping cart is My list of products are generated from a partial view The images of the products come from an http link. However, Iam seeing a strange behavior when I drag and drop the elements to my cart. On the first drag and drop the image successfully reverts to
2006 May 16
1
Ajax.Responders and onComplete
Hi all. I''m writing some kind of filter that i want passby my all AJAX request, and I stuck. I create object and pass him to Ajax Responders like this: var myGlobalHandlers = { onCreate: function(){ Element.show(''loading''); }, onComplete: function(request) { alert(request.responseText); } };
2006 May 23
0
after Ajax.Call
Hi all. I have situation that I sent AJAX.call and after getting answer i execute javascript code from that answer. The problem is that code has calls to variables from global namespace (library that I inlude in my header of my page -e.g. prototype, scriptaculo.us) and this made wrong, on FF i see that variable does''n exist - name error. e.g javascript code from Ajax Call
2006 Apr 25
1
asynchronous False and Ajax.Responders object (bug)
Hi all. In my apps I''m using Ajax Call synchronous, (both Ajax Request and Ajax Updater). There is bug in prototype (discused in mailing - list: here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003488.html and here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003497.html). trying to put data from server to my html properly, I need call
2006 Feb 14
0
# sign and Ajax Updater
Hi all. I''m using Ajax Updater to filling and update forms on my site. I notice that when I use "#" sign in field form the Ajax Call is wrong. I try to use javascript escape function on forms fields value but it doesn''t change everything. The serwer shows like he only get a part of call, only to the sign "#", everything after that is like cut,just gone. Does
2006 Feb 27
0
status = 200 something wrong???
Hello everyone. I have 2 methods on server: first is the redirect method that redirect http request on second method and returnig code 302 and that second method -> that returning data. I use AJAX to call first method, then Ajax request is redirect to second method and the second method return data which i can use. And afterall I get status 200 from xmlHttpResponse object. Is it right?