Displaying 20 results from an estimated 23 matches for "periodicalexecut".
Did you mean:
periodicalexecuter
2005 Dec 12
2
PeriodicalExecuter passing variables to the callback function
I trying to pass a variable to the call back function of when utilizing
the PeriodicalExecuter function
ex.
new PeriodicalExecuter(refresh, 10);
works
but
new PeriodicalExecuter(refresh(id), 10);
works once then errors after the 10 seconds, I get "this.callback is
not a function"
2007 Mar 10
2
Managing PeriodicalExecuters in an Ajax app. How?
Hi all
I have to deal with multiple PeriodicalExecuters over several
Interfaces. Each has it own. Now this all works, but i when i go back
and forth between them i spawn another and another etc...
I tried to push the instance of PE to a global array and on each
change in the interface invoke a stop() on them. This sounds okay, but
it is obviously no...
2007 Sep 23
1
Does prototype get rid of PeriodicalExecuter once it is stop()?
...p the user can click "start" to ask for regular refreshments
of the data, and can also click "stop" to stop this refreshments (and
then he can click "start" again to restart the process). im just
wondering that , if he keeps starting and stopping, that is creating
new PeriodicalExecuters and stoping them, if there will be any memory
issues, does prototype gets rid of the PeriodicalExecuter Instances
once they are stopped?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs...
2007 Feb 23
4
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello
Does Ajax.PeriodicalUpdater have a shield against multiple parallel
executions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email
2008 May 07
2
prototype PeriodicalExecuter pause/restart patch
I''ve come up with a patch to PeriodicalExecuter which allows for
pausing and restarting without losing the time remaining. I''ve
searched for something like this, but the only one I found linked to a
dead blog. I wondered if anyone would look over the code, maybe it
will make its way into the official release.
var PeriodicalExecuter...
2008 Jun 07
3
PeriodicalExecuter stops when form is submitted in Safari 3
Hi I''m having a problem using PeriodicalExecuter with a form.
I have a monitoring pane that updates status of form processing,
and it stops working when I submit a form. It works with Safari 2,
IE, Firefox, but not with Safari 3.
I''ve made a test script: http://www.charmm-gui.org/test.html
It updates a textarea, but it stops updating...
2006 Mar 13
0
Turn off Responder for PeriodicalExecuter?
I''ve got a PeriodicalExecuter refreshing some content on my homepage. I''ve also got a Responder
popping up a ''Working...'' box when ajax calls are being made. Is there a way to tell the Responder
not to run when the PE is running?
I''m new to prototype and scriptaculous so no assumptions o...
2006 Jan 19
0
PeriodicalExecuter and clearInterval
I apologize if this is not an appropriate question for this list (I couldn''t
find a mailing list for prototype). Anybody know of a way to use the stop
the PeriodicalExecuter in prototype from executing? In traditional js, I
would just call "clearInterval(id)".
Many Thanks,
Josh
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/...
2005 Oct 07
0
Stopping Prototype''s PeriodicalExecuter()
Hi,
I was wondering if there was a way to stop Prototype 1.3.1''s
PeriodicalExecuter? I don''t see any start()/stop() methods off of that
object in the API.
I noticed that Ajax.PeriodicalUpdater has start() and stop() methods, but
haven''t worked through the syntax enough to know how to have similar
behavior in just the PeriodicalExecutor object itself.
Thanks,...
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to
issue the stop() command to a PeriodicUpdater. I''ve come up with a
solution that uses setTimeouts to call the stop function. I think my
solution is very kludgey... especially since I''m new to Javascript +
Prototype.
Can anyone let me know if the below code is at all proper? :)
---------
Summary: A
2010 Feb 10
4
AJAX responses
Does anyone know if it''s possible to do multiple AJAX responses to a
single request in Rails? I did some googling but didn''t find anything
extremely helpful.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Sep 20
5
[Slightly OT] Uploading files with firefox
I have been successfully using the latest mongrel and upload progress
plugin with safari but firefox seems to have some issues with any
request
that takes longer than 5 seconds to complete. You get the "Warning:
Unresponsive Script" screen. Apparently this problem is fixable by
following this:
http://computer-vet.com/weblog/2006/04/28/
firefox_warning_unresponsive_script.html
2007 Aug 25
5
onLoad event with an update function
Hello,
I am using the following code:
new Ajax.Request(''ajax.php'',
{ parameters: { task: ''home'' },
onSuccess: function(transport)
{
$(''home_montage'').update(transport.responseText);
new Effect.Appear(
2008 Sep 24
5
Auto refresh field
Hi,
I would to know if it is possible to automaticly refresh some
particular field ?
Clearly, I have a model called "productions" with fileds "name" and
"numbers".
Another application update fields "numbers" of the mysql table.
On an "index.html.erb", I have the list of "production" and i would
like to view automaticly when value of
2006 Aug 16
7
Forward of moderated message
OK I know whats happening. Your while loop completes and calls kill
on the worker before your task_progress controller method ever gets
called> So the worker is deleted and when you try to access it from
rails you get an error because there is no longer a worker at that
job key. The kill method is meant to be used within a worker that you
fire and forget. If you want to get the
2008 Jan 05
4
PeriodicalUpdater onComplete broken?
Using the PeriodicalUpdater, I''m finding the onComplete is not firing.
I thought I''d get some feedback here before filing a bug report.
http://ianty.com/updater/update_test_1.6.0.1.html
http://ianty.com/updater/update_test_1.6.0.html
The above are examples of this for prototype 1.6.0 & 1.6.0.1.
I''m expecting the onComplete to fire after the update takes place, per
2006 Jun 14
0
Automatic save
I have a page where people might be writing information for a long time.
So I want a feature like autosave.
I have used PeriodicalExecuter and Ajax.Request to submit the form
regularly. That part is working fine.
I also made a link_to_remote that calls a show method and updates with
information from the database. The show method uses respond_to to see if
it should return javascript or html. That part is working fine.
The proble...
2007 Oct 04
0
Getting mouse position from a timed function - My Solution
...> vpo[1] &&
this.y < vpo[1] + el.getHeight());
}
});
Once you have that included in your page, you can use it like this...
//Start capturing mouse position.
var pointer = new pointerTracker();
//Close the toolbar if the mouse is not hovering over it. Check ever 3
seconds.
new PeriodicalExecuter(function(pe){
if (!pointer.within(''tool-bar'')){
pe.stop();
pointer.stop();
$(''tool-bar'').hide(); //Close the toolbar!
}
}, 3);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Gr...
2005 Nov 24
0
Scaling question
...uot; +
offset, {onComplete: fadeIn});
}
function refresh()
{ offset++;
new Effect.Scale("currentaside", 50, {scaleX: false,
afterFinish: getData, scaleFrom: 100, scaleContent: false});
}
getData();
new PeriodicalExecuter (refresh, 10);
2006 Aug 06
1
periodically_call_remote forces asynchronous to true?
Whenever I use periodically_call_remote it outputs as the following:
<script type="text/javascript">
//<![CDATA[
new PeriodicalExecuter(function() {new Ajax.Request(''some_url'',
{asynchronous:true, evalScripts:true})}, 2)
//]]>
</script>
If I understand correctly, setting asynchronous to true means that if
one request takes longer than 2 seconds, the next request will continue
anyways. I want them to...