I am writing an application using prototype.js and dialog.2.0.js
(http://roland.devarea.nl/dialog/#e6) the iframe effect. But I
encountered a problem when I try to fitting it into my application.
What I want to do is that when a user click a href=#
id=dialog_1Show Iframe/a , a dialog box will be
SamuelXiao wrote:
I am writing an application using prototype.js and dialog.2.0.js
(http://roland.devarea.nl/dialog/#e6) the iframe effect. But I
encountered a problem when I try to fitting it into my application.
What I want to do is that when a user click a href=#
id=dialog_1Show Iframe/a
Wow, it works fine now, thanks very much.
On Apr 15, 3:48 pm, Szymon Wilkołazki wilkola...@gmail.com wrote:
SamuelXiao wrote:
I am writing an application using prototype.js and dialog.2.0.js
(http://roland.devarea.nl/dialog/#e6) the iframe effect. But I
encountered a problem when I try
Hi,
I did grab the wrong line from error console. This line comes from
google code. A real line from prototype.js is:
function stopObserving does not always return a value (line 4593)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
2009/4/14 yoshi jo...@mit.edu:
I'm sure some of you have seen the nice work that is being done on
protovis..
http://vis.stanford.edu/protovis/
I would like to implement a test of this graphing capability which
returns a chart in response to an ajax.updater call.
I have never quite
Hello
if I use prototype.js there are shown many warning with Firefox.
For example:
function _uCInfo does not always return a value (Line 266)
There are so much warnings, that it is hard to find the warnings of my
own code.
It should be easy to eliminate the warnings, but I don't like to
change
Hi,
function _uCInfo does not always return a value (Line 266)
Does Prototype have a _uCInfo function? I can't find it (1.6.0.3).
If not, can you give an example from one of Prototype's own functions?
I don't normally use the Firefox console, but I just ran a few simple
pages with it showing
Hi mareb,
if I use prototype.js there are shown many warning with Firefox.
For example:
function _uCInfo does not always return a value (Line 266)
I think this is a problem with google analytics, not with prototype. If
you google for _uCInfo you find a lot of results about google analytics,
Hello
if I use prototype.js there are shown many warning with Firefox.
For example:
function stopObserving does not always return a value (line 4593)
There are so much warnings, that it is hard to find the warnings of my
own code.
It should be easy to eliminate the warnings, but I don't like to
Hi,
You already have a thread going on this:
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/2447d7fb08505976
Please don't duplicate threads.
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Apr 15, 12:13
Hi,
What version are you using? In 1.6.0.3 (the latest non-beta copy),
stopObserving is lines 4022-4051, and there is no non-exception code
path that doesn't return a value.
Again, using Prototype, I don't see these errors from the Firefox
error console. Do you have some kind of lint plugin?
Yes, I understand what you've said. I was making it more convoluted
than need be.
wrapAjaxUpdater('showsomething.php', 'somediv', handleCompletion); -
works correctly
wrapAjaxUpdater('showsomething.php', 'somediv', handleCompletion()); -
does not work because I'm calling the function, not
Diodeus wrote:
[...]
In another situation, I need to pass parameters to the callback. So
would I do it this way?
var temp = handleCompletion(5)
wrapAjaxUpdater('showsomething.php?id=5', 'somediv', temp);
That still is not correct. This would assign the *result* of the
handleCompletion
Hi,
In another situation, I need to pass parameters to the callback. So
would I do it this way?
var temp = handleCompletion(5)
wrapAjaxUpdater('showsomething.php?id=5', 'somediv', temp);
You're calling the function immediately again. This line:
var temp = handleCompletion(5)
...calls
Thanks for the tips T.J.
Curry was been around a lot longer than Prototype. Yep, it's a strange
name.
see: http://en.wikipedia.org/wiki/Currying
On Apr 15, 10:21 am, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
In another situation, I need to pass parameters to the callback. So
would
Well damn, it looks like the iterable.toArray() stuff has been in
there for quite some time. I looked back through all the versions of
prototype we have been using for the last year and this method has
remained mostly the same. I'm now thinking this has been buggy code in
our application for a
dear prototypers,
i have implemented the support for onTimeout in Ajax Responders, and
it's working like a charm (yeey!)
the delimma is when we have multiple simaltaneous requests, the
earlier requests would be slowing down the later requests and thus the
timeout set on the later requests would
... ok i have this working, but still, it's not optimal to just
increment active timeouts, or is it?
any thoughts here are much appreciated
--
// cumulative timeout in msecs
Ajax.activeRequestTimeout = 0;
Ajax.Responders.register({
onCreate:function(request) {
I'm trying to animate a sprite background, but I want it to pause
between frames, not zip through them at whatever speed the computer
can muster. How would you call a function only 6 times, pausing 40
milliseconds between steps?
Thanks in advance,
Walter
40 milliseconds is pretty fast. That's 25 frames per second.
But in general I think you would simply write a handler for a timer
event set to whatever period you want and then unregister it after the
sixth call. The same goes for any programming language on any platform.
I found two ways to do it. Prototype has a periodical executer class
in it:
{
peObj = new PeriodicalExecuter( this.peMethod, 1 ); // every
second
peObj._peCount = 0;
},
peMethod: function(peObj) {
$('debug').innerHTML += peObj._peCount + ' : peMethodbr/';
I'm noticing that calling setEnabled on a slider triggers the onChange
callback...is there any way to suppress the behavior?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post
Hello,
On 15 Apr., 13:56, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
What version are you using? In 1.6.0.3 (the latest non-beta copy),
stopObserving is lines 4022-4051, and there is no non-exception code
path that doesn't return a value.
Sorry, not to say it: my version is
23 matches
Mail list logo