Ensure frameset is topmost?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Smith

    Ensure frameset is topmost?

    How do I ensure that a frameset is topmost in the window (and not inside
    another frame)?

    Thanks?


  • Martin Honnen

    #2
    Re: Ensure frameset is topmost?



    John Smith wrote:
    [color=blue]
    > How do I ensure that a frameset is topmost in the window (and not inside
    > another frame)?[/color]

    if (window != top) {
    top.location.hr ef = window.location .href;
    }

    --

    Martin Honnen


    Comment

    • Grant Wagner

      #3
      Re: Ensure frameset is topmost?

      John Smith wrote:
      [color=blue]
      > How do I ensure that a frameset is topmost in the window (and not inside
      > another frame)?
      >
      > Thanks?[/color]

      <url: http://www.google.com/search?q=javas...+out+of+frames />

      Pick one that appeals to you.

      --
      Grant Wagner <gwagner@agrico reunited.com>
      comp.lang.javas cript FAQ - http://jibbering.com/faq


      Comment

      • John Smith

        #4
        Re: Ensure frameset is topmost?

        "Martin Honnen" <mahotrash@yaho o.de> wrote in message
        news:410683eb@o laf.komtel.net. ..[color=blue]
        >
        >
        > John Smith wrote:
        >[color=green]
        > > How do I ensure that a frameset is topmost in the window (and not inside
        > > another frame)?[/color]
        >
        > if (window != top) {
        > top.location.hr ef = window.location .href;
        > }[/color]

        Thanks Martin, that worked. I placed it on the onload attribute of the
        frameset.


        Comment

        • John Smith

          #5
          Re: Ensure frameset is topmost?

          "Grant Wagner" <gwagner@agrico reunited.com> wrote in message
          news:4106884C.9 F721698@agricor eunited.com...[color=blue]
          > John Smith wrote:
          >[color=green]
          > > How do I ensure that a frameset is topmost in the window (and not inside
          > > another frame)?
          > >
          > > Thanks?[/color]
          >
          > <url: http://www.google.com/search?q=javas...+out+of+frames />
          >
          > Pick one that appeals to you.[/color]

          Thanks. "Break out" is not a term I thought to search on. :)


          Comment

          Working...