riffraff76
Technical User
Hi all,
I wonder is it possible to have the following:
I have a page where the user can click a button and an iframe URL is loaded.
I wish to have another button where it will start a loop that will continuously reload the iframe (as if the user was continuously pressing the original button) until the user presses a third 'stop' button.
So far i can only have the loop begin but then the UI is inaccessible so there is no way i can press the button which stops the loop. This is probably as the UI is in the same thread as the javascript. (i'm using firefox 3).
Can this be done in any way?
So far i have to rely on a macro addon to do this but i have to rely on simply a timer to determine when the next reload occurs but i'd really rather use a flag/event in the javascript to signal when to go to the next iteration.
Thanks in advance!
I wonder is it possible to have the following:
I have a page where the user can click a button and an iframe URL is loaded.
I wish to have another button where it will start a loop that will continuously reload the iframe (as if the user was continuously pressing the original button) until the user presses a third 'stop' button.
So far i can only have the loop begin but then the UI is inaccessible so there is no way i can press the button which stops the loop. This is probably as the UI is in the same thread as the javascript. (i'm using firefox 3).
Can this be done in any way?
So far i have to rely on a macro addon to do this but i have to rely on simply a timer to determine when the next reload occurs but i'd really rather use a flag/event in the javascript to signal when to go to the next iteration.
Thanks in advance!