Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]

Subject: Re: New Browser Window: 2 Questions
From: Colin Moock
Date: Fri, 31 Jul 1998 19:02:10 +0100

flasheratshocker [dot] com,Internet writes:
>Hi, Colin. Your tutorial was all I needed, but the above tip would be a
>nice touch.

>Being java illiterate, I need to know: What's the syntax for placing the
>above function call in my html window?

There are quite a few options. If your close button is in your Flash
movie, then the options are the same as they are for the launching of
the window. Eg: using "javascript:functionname()" as the Network URL,
or calling a page that has the close function in the ONLOAD of the body
as in:
<BODY BGCOLOR="#FF7F00" ONLOAD="closewin()">

If, on the other hand, you want to link from your HTML, you could use
something more like:


>function exit(){
> self.close()


<A HREF="javascript:exit()">Close Window</A>

<A HREF="#" ONCLICK="javascript:exit()">Close Window</A>

You can do it a bunch of other ways too. I kinda depends on what you
want your page to do. Might be a good idea to get an intro to
javascript book, or look around the web for some tutorials.
www.webreference.com has quite decent stuff. so does builder.com, or
http://www.javascriptsource.com/ or

Good luck!

To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com

  Re: New Browser Window: 2 Questions, Colin Moock

  New Browser Window: 2 Questions, Marc Hoffman
  Re: New Browser Window: 2 Questions, John Croteau
  Re: New Browser Window: 2 Questions, Marc Hoffman

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]