Close all frames button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Duane Galle

    #1

    Close all frames button



    I am trying to create a page using frames. This page needs to have a
    button that the user can click to close the window. Can anyone show me
    how to do this using frames? I can only figure it out if I don't use
    frame pages.

    Cheers

    Duane

    *** Sent via Developersdex http://www.developersdex.com ***
  • Danny

    #2
    Re: Close all frames button


    Simple:

    <a href="#" onclick="top.lo cation=self.loc ation;return false"> CLICK HERE
    TO LOAD THIS PAGE WITH NO FRAMES</a>

    Danny

    On Mon, 27 Jun 2005 16:46:03 -0700, Duane Galle <duanegalle@hot mail.com>
    wrote:
    [color=blue]
    >
    >
    > I am trying to create a page using frames. This page needs to have a
    > button that the user can click to close the window. Can anyone show me
    > how to do this using frames? I can only figure it out if I don't use
    > frame pages.
    >
    > Cheers
    >
    > Duane
    >
    > *** Sent via Developersdex http://www.developersdex.com ***[/color]



    --
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

    Comment

    • David Dorward

      #3
      Re: Close all frames button

      Duane Galle wrote:
      [color=blue]
      > I am trying to create a page using frames.[/color]

      Oh dear. http://www.allmyfaqs.com/faq.pl?Prob...h_using_frames
      [color=blue]
      > This page needs to have a button that the user can click to close the
      > window.[/color]

      Why does the page need it? Doesn't the window come with one (or more)?

      --
      David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
      Home is where the ~/.bashrc is

      Comment

      Working...