Closed Thread Icon

Topic awaiting preservation: What is the proper JavaScript syntax for calling a page to STOP loading? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9062" title="Pages that link to Topic awaiting preservation: What is the proper JavaScript syntax for calling a page to STOP loading? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: What is the proper JavaScript syntax for calling a page to STOP loading? <span class="small">(Page 1 of 1)</span>\

 
Kalan m
Nervous Wreck (II) Inmate

From: stirling, ON Can.
Insane since: Feb 2004

posted posted 04-03-2004 17:32

I'm looking for the STOP function, sibling to such comands as:

location.reload() ; history.back() ; history.forward();

I'm assuming its not just, well I'm not exactly sure what but I'm sure someone could give me a hint, Thanks alot,

Stupid guy A.K.A:

Kalan

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 04-03-2004 17:58

I am not sure how this would work, since the page needs to load in order for you to access the javascript, the stop function is a browser based function, which has no reason to be accessed by javascript. The reload, forward, and back functions of your browser provide additional features which can easily be made use of.

You might want to explain what you are trying to achomplish, I can not begin to approach the problem without some further information.

Dan
CodeTown.org

sideout
Bipolar (III) Inmate

From: Hull, Que, Can
Insane since: Feb 2004

posted posted 04-03-2004 20:51

Sorry for my vagueness I'm trying to create a simple browser (really an html frame page run by the real browser)
that I can pop up in a fullscreen window for users to navigate my site, I know it sounds dumb and is total contradiction of the rule of not breaking the end users habits however my client has had this idea for a long time and has not found anyone (until me) who would impliment it for him, he's really stuck on it (stupid as it is I refuse to argue) so what I need to do more specifically is find a round-about way of making the page that is loading at any given time be stopped from doing so, possible just accessing the history object and calling on the back() function would do it -- in which case I would simply make another button with the value "Stop" which would return the same built in function as back, I hope this is making some sense. Sorry for bothering with this rather dumb question but its neccesary that I find some solution and it hasn't come to me as easily as I thought it might,

Thanks again,

sideout

[This message has been edited by sideout (edited 04-03-2004).]

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 04-03-2004 23:04

Well this is very interesting. Now I understand why you would want the functionality. Let me think a little bit on the stop button. I am sure there is an answer to this in some form or another.

If anyone else has the answer pop in with it. I am going to be a little distracted for a while as my girlfriend is coming into town. Tends to make my time on the web rather limited.

Dan
CodeTown.org

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 04-03-2004 23:07

YMMV

IE:
document.execCommand('Stop')

NS:
window.stop()

I am not sure how far this will get you.

Dan
CodeTown.org

Kalan m
Nervous Wreck (II) Inmate

From: stirling, ON Can.
Insane since: Feb 2004

posted posted 04-04-2004 22:51

Thanks alot Dan, I'v yet to try your idea but it seems logical,

Kalan

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 04-05-2004 04:55

All I have to say is ...

198 words.
One period.






[This message has been edited by Wes (edited 04-07-2004).]

johannes
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Apr 2004

posted posted 04-20-2004 22:29

Did you solve your problem? Perhaps you can help us. We are teachers, and we use Camtasia Screenvideo to teach. Camtasia can produce html fildes with integrated flash films. That is usefull, because we can offer our stuff in the web. But the files don't open in fullscreen, so you see the explorer bars and down under these you see the bars of the programm you took the screenvideo of. That's irritating, and it takes screenspace, so you don't see the full Camtasia-film anymore.
That's why we search for a javascript that we can put into the htmls to make them start in fullscreen mode. It should be included in the file, for Students take these files, copy them, take them home and start them direct out of the Windows Explorer. Internet Explorer normaly opens with all its bars, but maybe there is a trick to make it reload the site without bars. Maybe we can put two htmls into one file, and one is opening the other as a pop-up without bars.
Thanks for Ideas
johannes

« BackwardsOnwards »

Show Forum Drop Down Menu