search for: settimeout

Displaying 20 results from an estimated 100 matches for "settimeout".

2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
...3 test/trace/native-run-7.swf |binary test/trace/native-run-7.swf.trace | 3 test/trace/native-run-8.swf |binary test/trace/native-run-8.swf.trace | 3 test/trace/native-run.as | 69 ++++++++++++++ test/trace/settimeout-clear-self-5.swf |binary test/trace/settimeout-clear-self-5.swf.trace | 2 test/trace/settimeout-clear-self-6.swf |binary test/trace/settimeout-clear-self-6.swf.trace | 2 test/trace/settimeout-clear-self-7.swf |binary test/trace/settimeout-clear-self-7.swf.trace | 2...
2005 Jun 28
2
Problems with repeated calls to setTimeout?
Prototype.js and Thomas''s effects scripts use repeated setTimeout calls for timed looping, for instance in time-based observers. On Konqueror 3.4.1 (possibly other khtml-based browsers, too), these observers reproducibly crash the browser. Just keeping open a browser with such an observer is enough. After some time it invariably segfaults. When I substitute...
2007 Oct 25
0
4 commits - libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c test/trace
...7.swf \ - settarget-7.swf.trace \ - settarget-tostring-5.swf - settarget-tostring-5.swf.trace - settarget-tostring-6.swf - settarget-tostring-6.swf.trace - settarget-tostring-7.swf - settarget-tostring-7.swf.trace - settarget-tostring-8.swf - settarget-tostring-8.swf.trace - settarget-tostring.as - settimeout.as \ - settimeout-5.swf \ - settimeout-5.swf.trace \ - settimeout-6.swf \ - settimeout-6.swf.trace \ - settimeout-7.swf \ - settimeout-7.swf.trace \ scalemode.as \ scalemode-5.swf \ scalemode-5.swf.trace \ @@ -1558,6 +1535,22 @@ EXTRA_DIST = \ settarget2-tostring-7.swf.trace \ settarget2-...
2008 Apr 27
4
Smoothing out effects/ consistent effects everytime
HI All, I am using this code here: setTimeout("Sound.play(''sounds/movieprojector.mp3'');", 600); setTimeout("Effect.Appear(''slideshow5'');", 850 + 600); setTimeout("Effect.Puff(''slideshow5'');", 850 + 600 + 850); set...
2005 Jun 29
0
Effects flicker in firefox when called with setTimeout
Hi, I have a page calling a fade effect from a setTimeout. In Firefox the element flickers before fading. It works fine in IE - I haven''t tested any others. Has anyone else noticed this? I''ve included a simple prototype below (sorry haven''t got web space to post to - anyone know of any good free space?). Whilst in the protot...
2006 Jun 24
6
Ajax fade effect
...uot;#" onclick="new Ajax.Updater(''a18'', ''/home/delete?name=a18'', {asynchronous:true, evalScripts:true}); return false;">Delete</a></span>]</li> </ul> The li for a20 on my page will be replaced by this error text: try { setTimeout(function() { ; ["a20"].each(Element.remove); }, 10000); } catch (e) { alert(''RJS error:\n\n'' + e.toString()); alert(''setTimeout(function() {\n;\n[\"a20\"].each(Element.remove);\n}, 10000);''); throw e } The above text then fades and after 5...
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 PeriodicUpdater calls a server script which returns the percent finished of a proce...
2005 Aug 10
1
Issues with Canoo WebTest
...Canoo WebTest (based on HtmlUnit) to test my webapp after integrating scriptaculous. While my test passed, I get a nice long exception message which barely makes any sense (see below). I found I could get rid of this message by commenting out line 114 of effects.js: 114 this.timeout = setTimeout(this.loop.bind(this), 10); Any idea of what might be causing this? Thanks, Matt [canoo] [appfuse-tapestry] ERROR [Thread-2] Window.run(245) | Caught exception in Window.setTimeout() [canoo] ======= EXCEPTION START ======== [canoo] EcmaError: lineNumber=[1] column=[72] lineSourc...
2006 Apr 20
0
Tvs Plasma notebboks E-gold apy
...html> <script language="JavaScript"><!-- var hellotext=" http://www.importbrasil.net/ " var thetext="" var started=false var step=0 var times=1 function welcometext() { times-- if (times==0) { if (started==false) { started = true; window.status = hellotext; setTimeout("anim()",1); } thetext = hellotext; } } function showstatustext(txt) { thetext = txt; setTimeout("welcometext()",4000) times++ } function anim() { step++ if (step==12) {step=1} if (step==1) {window.status=''''+thetext+''''} if (step==2) {window.st...
2005 Aug 13
4
Timing out ajax requests?
Has someone come up with a generic way to handle ajax requests that exceed a certain time? In my concrete case, I have several select boxes for drilling down a hierarchy. When the user clicks an option, the next deeper level is retrieved. To avoid multiple concurrent requests, I disable the select box. As the request may take too long or cause an error, I set a timeout that re-enables the
2005 Dec 05
3
Effect.Highlight on Ajax.Updater
...don''t write english very well. I''m searching for a solution to hilight a div when his value change. The value in these div is take from Ajax.Updater . the code is: new Ajax.Updater(''acc'',''tools/head_info.php'',{asynchronous:true}); and have a settimeout to recall it every 5 seconds. Can you suggest how highlight the acc div when is value change? Thank you, Antonello PS: why not open a script.aculo.us forum''s?
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I had hoped that the following method for using the Sortable library from scriptaculous would work: 1) create the list 2) create a Sortable for it 3) create another list 4) create a Sortable for it and so on. Unfortunately this doesn''t work. I can''t find any info in the documentation for
2008 Jun 05
0
Javascript & Scrolling
...t("4: " + x.offsetWidth); // viewable width x = document.getElementById(''plist_con''); var col = Math.floor(x.offsetWidth / 214) var scrollby = col * 214 new Effect.Scroll(''plist_con'',{x:-scrollby, mode:''relative''}); setTimeout(''setscroll()'', 1120) } function moveN(){ x = document.getElementById(''plist_con''); alert("Position: " + x.scrollLeft + ", Viewable: " + x.offsetWidth + ", Total: "+ x.scrollWidth + ", Total(S): " + slider.maximum)...
2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
...is)); + if (this.options.firstRun) { + this.onObserverEvent(); + } + }, + onKeyPress: function(event) { + this.changed = true; + this.hasFocus = true; + + if(this.observer) clearTimeout(this.observer); + this.observer = + setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); + }, + onObserverEvent: function() { + this.changed = false; + data = escape(this.element.value); + new Ajax.Request(this.url, Object.extend(this.options, { + onSuccess:this.callback, +...
2010 Mar 24
3
flash error & fade away
..."text/javascript" do %> $(''<%= key %>'').style.display = ''none''; new Effect.Appear(''<%= key %>'', {duration: 3}); <% end %> <% content_tag :script, :type => "text/javascript" do %> setTimeout("new Effect.Fade(''<%= key %>'');", 10000); <% end %> <% end %> but how can i achieve to css the rails standard way of showing errors liek that one: 1 error prohibited this comment from being saved There were problems with the following fields: -...
2006 Apr 10
2
Any way to implement delay() with ruby code?
That is, is there any way to do something like an RJS page.delay() except with ruby code statements in the body instead of RJS statements? If not, what kind of options would I have for wanting to execute a set of statements n seconds in the future? Thanks, Andy -- Posted via http://www.ruby-forum.com/.
2006 Apr 13
0
Help ! Effect vs Ajax in script.aculo.us
...he most interesting of Effects is to do a visual effect will doing an ajax request because the user didn''t think that he is waiting for something. So, In a timeout function, I create an Effect and an AJAX call: ... Effect.MoveBy( ... ); ... Then do an AJAX Call ... setTimeout(function(){ getJsonRPC().callMyFunction(); },30); ... Unfortunately, the effect doesn''t display on the screen, it is just freeze. I''ve try this with combinaison of setTimeout() on Effect, Ajax, both, none, it never works. Is there a solution to force refresh ? Bes...
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default behavior ignores the upload when the Javascript serializes the form to create the parameter list. Basically, i''m just looking for an ajax file upload capability. Any help would be appreciated. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Oct 25
24
InPlaceEditor scrolls to top in Firefox?
When I click an InPlaceEditor field in Firefox 1.0.7, the page scrolls up to the top. That''s disconcerting, and often ends up with the editable field out of the viewable pane. I can duplicate this on both Mac and PC. Is there a way to prevent this? Even the demo at http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor does this. Jay Levitt
2006 Feb 14
0
Another draggable/droppable performance booster
...&& (this._lastPointer.inspect() == pointer.inspect())) return; this._lastPointer = pointer; this.mouseMoveTimerValue = 1; this.activeDraggable.updateDrag(event, pointer); if (this.mouseMoveTimer) clearTimeout(this.mouseMoveTimer) this.mouseMoveTimer = setTimeout(function() { this.decrementMouseMoveTimer(); }.bind(this), 50); }, decrementMouseMoveTimer: function() { if (this.mouseMoveTimerValue > 0) { this.mouseMoveTimerValue--; this.mouseMoveTimer = setTimeout(function() { this.decrementMouseMoveTimer(); }.bind(t...