Displaying 20 results from an estimated 130 matches similar to: "Re: using Ajax.PeriodicalUpdater in iPhone"
2008 Oct 15
1
Argh! Trouble using string data read from a file
Here is what I tried:
optdata =
read.csv("K:\\MerchantData\\RiskModel\\AutomatedRiskModel\\soptions.dat",
header = FALSE, na.strings="")
optdata
attach(optdata)
for (i in 1:length(V4) ) { x = read.csv(V4[[i]], header = FALSE,
na.strings="");x }
And here is the outcome (just a few of the 60 records successfully read):
> optdata =
>
2007 Mar 08
2
Hotkey between Xorg and Wine applications
Hello!
I'm trying to install a Windows application called Macro Express, wich
automatizes a lot of process with recorded macros. The macros are called by
pressing Hotkeys combinations like Control+1 or Control+2 etc. Then, the
macro sends keys to applications.
I have installed the program on kubuntu and Wine 0.9.30. The problems are
that it only regonizes Hotkeys when Macro Express window is
2008 Oct 16
1
Two last questions: about output
Here is my little scriptlet:
optdata =
read.csv("K:\\MerchantData\\RiskModel\\AutomatedRiskModel\\soptions.dat",
header = FALSE, na.strings="")
attach(optdata)
library(MASS)
setwd("K:\\MerchantData\\RiskModel\\AutomatedRiskModel")
for (i in 1:length(V4) ) {
x = read.csv(as.character(V4[[i]]), header = FALSE, na.strings="");
y = x[,1];
fp =
2005 Dec 21
0
Prototype: correct useage of onComplete with Ajax.PeriodicalUpdater
Hello all,
I know it''s a Prototype question, but I hope someone can tell me what
I''m doing wrong (I hope Prototype gets documented soon ;-(
Problem: using a onComplete callback with Ajax.PeriodicalUpdater
(using scriptaculous 1.5 with Prototype 1.4)
Works:
function fooBar() {
Element.hide(''foobar'');
}
new
2006 Nov 08
1
Yet another periodicalupdater question
I have something I want to do with the periodicalupdater..
1) place text in a field by id (I know how to do this part as
periodicalupdater makes is quite easy)
2) run a javascript statement to assign a value to a variable.
Any ideas how I can do this with one periodicalupdater statement?
Thanks,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Jul 17
1
RJS and PeriodicalUpdater -- example?
In a controller, I''m trying to do
def do_some_periodic_thing
render :update
page << ''var foo = new Ajax.PeriodicalUpdater("someDiv",
"/some/path", {asynchronous:true, frequency:1, evalScripts:true} );''
end
end
In the view, I have
<%= link_to_remote "Test Periodical", :url => { :action =>
2005 Jul 27
1
Upload Progress, Error in Ajax.PeriodicalUpdater
Hi,
I''m using Upload Progress class of rails and geting this javascript
error in js console:
"*Ajax.PeriodicalUpdater is not a constructor*"
The view have somethink like:
<%= form_tag_with_upload_progress( {:action => ''create_gallery''},
{ :name => ''new_gallery'',
:begin =>
2008 Apr 21
0
Stopping Ajax.PeriodicalUpdater based on response
I have an Ajax.PeriodicalUpdater updating a div on my page and I want
to be able to execute the stop method when the div contains certain
content. As I understand it, I cannot pass in an options.onComplete
handler and onSuccess is executed before the response is completely
interpreted by the browser. I tried using Ajax.Responders, but that
didn''t seem to help. Do I need use AjaxUpdater
2007 Mar 07
0
PeriodicalUpdater with Logarithmic decay
Greetings all,
So, I''ve finally found a place to play around with the
Ajax.PeriodicalUpdater. In looking at the API, I''m liking the decay
option -- not necessarily for my current purpose, but just to keep in
mind -- and I have a question: can the decay be a function which
returns an integer? Basically, why I''m looking for is a logarithmic
decay (where the system
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
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
>From a quick look at the source code, it looks like onComplete is only
called when the whole thing is done - in the case of Updater, right
after the update, in the case of PeriodicalUpdater, right after it has
been stopped.
It looks like you need to pass your callback method as an ''insertion''
method in the options. This takes two parameters, the first will
probably be the
2008 Jun 13
3
dynamically change frequency in periodicalUpdater
Hello All,
I''ve seen this topic but it seems no one has post a response. I''m
using periodicalUpdater to display live content queried from a
database. Sometimes the result can be thousands of rows and before it
finishes processing (displaying as a visual indicator) all the data,
the next request is sent to the server. I''d like to have a
periodicalUpdater whose
2007 Sep 28
3
Why PeriodicalUpdater doesn't work on Internet Explorer?
I have the following code:
<script type="text/javascript">
Event.observe(window, ''load'', function() {
var updater = new Ajax.PeriodicalUpdater(''chatbox'', ''chat.php'',
{method: ''get'', asynchronous: true, frequency: 0.55, decay: 2,
onSuccess: function(){$(''chatbox'').scrollTop=$
2008 Jan 22
3
prototype 1.6 Ajax.PeriodicalUpdater executing old scripts??
Hello ,
I have a PeriodicalUpdater executing every x seconds and sends a ajax
request to update an element.
Each time it comes back, the element is getting replaced with some
html and and possibly <script>coolFunction()</script>.
This seems to work fine when for prototype 1.5.
However when I upgraded to prototype 1.6, it seems to execute
coolFunction() as many times as the request has
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
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
The only call that PeriodicalUpdater will make periodically to you is
the insertion call.
I think of onComplete as being ''I''ve done everything I was going to do'',
which for Updater is right after it''s done a single update, but for
PeriodicalUpdater, it''s after it''s finished all of its updates, so
you''ll only get it once for any call
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
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action
2006 Nov 10
8
PeriodicalUpdater and popups.
Hi,
I don''t know what might cause this, but maybe you do. If I put the
code below in a html-file and open it in a popup. I get an error on
row 129 in the latest prototype.js bundled with 1.6.5.
popup.html:
<script type="text/javascript" src="/inc/api/prototype.js"></script>
<script type="text/javascript">
Event.observe(window,
2009 Aug 03
0
richieri has invited you to Spacelocker
Hi there, <br><br>You are invited to join richieri@gmail.com at
Spacelocker, a cool place where you can meet friends fast and keep your
online stuff in one place. Check it out.<br><br>Click the link below to
Accept the Invitation:<br><br><a target=''_blank''