Javascript to stop navigation?

H

HC

Hi all,

Can Javascript be used to stop loading in another frame?

I'm writing a script that does the following:

1) Start loading a page in another frame
2) If after 10 seconds the page hasn't loaded, timeout.

The best I've got so far is "if after 10 seconds the page hasn't loaded,
load a default page." I'd still like to stop navigation if possible though.

Thanks
HC
 
J

Joshie Surber

The best I've got so far is "if after 10 seconds the page hasn't loaded,
load a default page."

That's the best you *can* do. Sorry. You may be able to load the same
page in the frame that was loaded before, which would be almost the
same, but that's it.
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,170
Latest member
Andrew1609
Top