R
rebeccatre
hi can Variant archiving setTimout('.. capability be done without
using it?
using it?
I've got a super intergalactic problem, a very complex interface that
uses javascript setTimer to execute functions with 1, 5 or 10 second
delays.... without get into all the political issues, i just need a
simple, if not ad-hoc replacement for it, that gives me finite
control, to set delays that lead to running other functions(); can
this be done without messing up timing or CPU% overload? thank you
for your braintime
----------------
MORE
----------------
btw, its a low-end ie browser interface, that has a quirk that render
use of javascript setTimer inoperable, very specifically, (everything
else Javascript seems to be ok), ..... changing aspects of what I have
to work in is never going to happen, so I just need something that can
act like setTimer for about a dozen places I need to change the
"engine" out, so to speak i hope i am clearer about my problem and
can help me please with best solution!!
(e-mail address removed) said:
The best solution is to use setTimeout or setInterval.
99.4% of people who insist that they can't use them for their
purposes turn out to not know what they're talking about.
Unfortunately for you, that puts the burden on you to convince
us that you really have a quirk that makes them unusable.
--
Its a fixed group of people, not public, and I am not in a political
position in my job to change the fact setTimeout does not work,
therefore, evidence non-withstanding, I need to find a way as I
articulated before to ..... ?
BTW, I don't know where 99.4 % comes from, but technically are you
able to write something like this, or just conjuring up?
I was being generous. In my experience, I believe it's 100%.
In other words, it's very nearly certain that you can do what
you need with setTimeout(), but don't know how.
--
Sorry Lee, you are, and for clarification, I cannot run/execute
setTimeout(), in a real pure technical sense, IE just ignores it.....
it might be a security issue, but I work in a real integrated legacy
environment, and really this is a particularly minor thing affecting
about half dozen problem areas in some new code I am integrating that
uses setTimeout().
<script>
var hold_timer=5000;milliseconds
do (pause in a 5 sec loop based on hold_timer) {
then runthis();
}
I know it is asinine , but for me, in a real special case it will be
immensely helpful.
Have a very pretty day.
</script>
Sorry Lee, you are, and for clarification, I cannot run/execute
setTimeout(), in a real pure technical sense, IE just ignores it.....
it might be a security issue, but I work in a real integrated legacy
environment, and really this is a particularly minor thing affecting
about half dozen problem areas in some new code I am integrating that
uses setTimeout().
<script>
var hold_timer=5000;milliseconds
do (pause in a 5 sec loop based on hold_timer) {
..., it is solved now I guess.
I use Konquerer 3.0.3-14, so I can test it if you want.
But.... I always pass a string (with a function)
to the setTimeout....
I do not know how to create a reference to a function.
But if you post a sample I'll be happy to test it for you.
<sniiiipporinie>
None of these thoughtful examples worked, mainly because they use
setTimeout to achieve delay. Can some other weird out of box thinking
achieve reliable delay/then do ()function step?
What version of Internet Explorer are you using?
Under fixed 6.0 basic js standards minimum thx!!
Um, my Internet Explorer 6 runs setTimeout() just fine.
Can you show us the page where this is failing?
Did you ever try Lee's example, just to see if a very simple call worked?
The more of an attempt you make, the better solution others can provide.
Alright, separating both theory and logic:
1. Setup a never ending loop that checks if Date returns a value at or
beyond the length of your "delay."
2. Use setInterval once by immediately clearing it after a certain
amount of executions. 1, in this case.
Lost, just seperating the theory from the request, can such
theoretical delay to execute functions, be created without expressly
using the command setTimeout()?
1. is better, as setInterval seems to not function too, so we are left
with comparing system dates.... can you super plz. show starting
example, that shall execute alert('green'); after declared input wait
of 5 seconds?
hi can Variant archiving setTimout('.. capability be done without
using it?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.