Loading ...
Sorry, an error occurred while loading the content.

RE: [cightml] Keeping a JS Pop-Up Window On Top?

Expand Messages
  • Franki
    Are you opening the popup image directly? or with some HTML??? If its the later, you can add something like this to the popup body tag.
    Message 1 of 13 , Jan 1, 2003
    • 0 Attachment
      Are you opening the popup image directly? or with some HTML???

      If its the later, you can add something like this to the popup body tag.

      onBlur='window.close();'

      That would close the popup when the focus is taken off it..

      If you are opening the image directly.. no html... all is not lost..

      You could do it from the main window as well..if the main window is in focus
      and the popup exists.. then close it.



      regards

      Franki

      -----Original Message-----
      From: Gary Badger [mailto:badger@...]
      Sent: Wednesday, 1 January 2003 9:04 AM
      To: CIGHTML Mailing List
      Subject: [cightml] Keeping a JS Pop-Up Window On Top?


      Happy New Year Everyone!!! Does this make me the FIRST for 2003?

      I have a thumbnail page where the thumbnails link to open full size images
      in JavaScript pop-ups. When a pop-up is open I can still see the thumbnail
      page (most of it is visible underneath the pop-up).

      If I click on another thumbnail the new image opens in the same pop-up that
      the last one used, but the pop-up now sits behind the thumbnail page since
      it was the last 'active' page (i.e. the one just clicked on). This is
      undesirable because to the uninitiated it appears that clicking on the new
      thumbnail has not done anything.

      How can I either:

      1. Keep the pop-up on top all the time until someone chooses to close it?

      OR

      2. Vary my JavaScript so that each image opens in a NEW pop-up even if the
      last one is still open (a new window would always open on top)?


      FYI, here is the JavaScript I am using. I picked it up at
      http://javascript.internet.com/.

      ***This is in the <head>***

      <SCRIPT LANGUAGE="JavaScript">
      <!-- Begin
      function ViewImage(ifile,ix,iy,ititle) {
      var win;
      var sWidth;
      var sHeight;
      var NS = (document.layers) ? 1 : 0;
      win =
      window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
      no");
      if (NS) {
      sWidth = win.innerWidth;
      sHeight = win.innerHeight;
      } else {
      sWidth = win.document.body.clientWidth;
      sHeight = win.document.body.clientHeight;
      }
      if(sWidth!=ix || sHeight!=iy) {
      win.close();
      setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
      return;
      }
      win.document.open();
      win.document.write("<html><head><title>"+ititle+"</title>");
      win.document.write("</head><body>");
      win.document.write('<div
      style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
      ;
      win.document.write("<img src="+ifile+"></div></body></html>");
      win.document.close();
      }
      // End -->
      </script>


      ***This is one of many thumbnail links in the <body>***

      <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome to
      the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
      border=0 alt='Click to see a larger and more detailed view of this
      mat!'></a>


      Should you wish to check out the page in question it is at
      http://www.mattman.com.au/ then select the "Mat Gallery" page.

      Many thanks for any assistance you can afford me.

      Cheers,

      Gary.
      badger@...
      http://www.embossingtapesupplies.com.au/
      http://www.mattman.com.au/



      To unsubscribe from the Yahoo Group, send an email to:
      cightml-unsubscribe@yahoogroups.com

      This list is for readers of Paul McFedries' CIG to Creating a Web Page.

      Messages prior to 2002 are also archived at http://www.mcfedries.com



      Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    • Mike "yomcat" Welsh
      So am I then. I live even colser. GMT+13. First to see the rising sun of a new year -- yomcat Lobbyist in an F-14 http://www.ev-nova.net
      Message 2 of 13 , Jan 1, 2003
      • 0 Attachment
        So am I then. I live even colser. GMT+13. First to see the rising sun of a
        new year
        --
        yomcat
        Lobbyist in an F-14
        http://www.ev-nova.net

        > From: "Paul G Hartmann" <guycroft@...>
        > Reply-To: cightml@yahoogroups.com
        > Date: Wed, 1 Jan 2003 07:44:08 -0000
        > To: <cightml@yahoogroups.com>
        > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
        >
        > Yes it makes you a first, but you're cheating by living so near to the
        > International Date Line. You're also off-topic. So am I. Happy new year
        > all.
        >
        > Paul H
        > www.guycroft.clara.net/misc
        >
        > ----- Original Message -----
        > From: "Gary Badger" <badger@...>
        > To: "CIGHTML Mailing List" <cightml@yahoogroups.com>
        > Sent: Wednesday, January 01, 2003 1:04 AM
        > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
        >
        >
        >> Happy New Year Everyone!!! Does this make me the FIRST for 2003?
        >>
        >> I have a thumbnail page where the thumbnails link to open full size
        > images
        >> in JavaScript pop-ups. When a pop-up is open I can still see the
        > thumbnail
        >> page (most of it is visible underneath the pop-up).
        >>
        >> If I click on another thumbnail the new image opens in the same pop-up
        > that
        >> the last one used, but the pop-up now sits behind the thumbnail page
        > since
        >> it was the last 'active' page (i.e. the one just clicked on). This is
        >> undesirable because to the uninitiated it appears that clicking on the
        > new
        >> thumbnail has not done anything.
        >>
        >> How can I either:
        >>
        >> 1. Keep the pop-up on top all the time until someone chooses to close
        > it?
        >>
        >> OR
        >>
        >> 2. Vary my JavaScript so that each image opens in a NEW pop-up even if
        > the
        >> last one is still open (a new window would always open on top)?
        >>
        >>
        >> FYI, here is the JavaScript I am using. I picked it up at
        >> http://javascript.internet.com/.
        >>
        >> ***This is in the <head>***
        >>
        >> <SCRIPT LANGUAGE="JavaScript">
        >> <!-- Begin
        >> function ViewImage(ifile,ix,iy,ititle) {
        >> var win;
        >> var sWidth;
        >> var sHeight;
        >> var NS = (document.layers) ? 1 : 0;
        >> win =
        >>
        > window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,tool
        > bar=
        >> no");
        >> if (NS) {
        >> sWidth = win.innerWidth;
        >> sHeight = win.innerHeight;
        >> } else {
        >> sWidth = win.document.body.clientWidth;
        >> sHeight = win.document.body.clientHeight;
        >> }
        >> if(sWidth!=ix || sHeight!=iy) {
        >> win.close();
        >> setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
        >> return;
        >> }
        >> win.document.open();
        >> win.document.write("<html><head><title>"+ititle+"</title>");
        >> win.document.write("</head><body>");
        >> win.document.write('<div
        >>
        > style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px
        > ">')
        >> ;
        >> win.document.write("<img src="+ifile+"></div></body></html>");
        >> win.document.close();
        >> }
        >> // End -->
        >> </script>
        >>
        >>
        >> ***This is one of many thumbnail links in the <body>***
        >>
        >> <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome
        > to
        >> the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
        >> border=0 alt='Click to see a larger and more detailed view of this
        >> mat!'></a>
        >>
        >>
        >> Should you wish to check out the page in question it is at
        >> http://www.mattman.com.au/ then select the "Mat Gallery" page.
        >>
        >> Many thanks for any assistance you can afford me.
        >>
        >> Cheers,
        >>
        >> Gary.
        >> badger@...
        >> http://www.embossingtapesupplies.com.au/
        >> http://www.mattman.com.au/
        >>
        >>
        >> ------------------------ Yahoo! Groups
        > Sponsor ---------------------~-->
        >> Get 128 Bit SSL Encryption!
        >> http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/wbFolB/TM
        >> ---------------------------------------------------------------------~
        > ->
        >>
        >> To unsubscribe from the Yahoo Group, send an email to:
        >> cightml-unsubscribe@yahoogroups.com
        >>
        >> This list is for readers of Paul McFedries' CIG to Creating a Web
        > Page.
        >>
        >> Messages prior to 2002 are also archived at http://www.mcfedries.com
        >>
        >>
        >>
        >> Your use of Yahoo! Groups is subject to
        > http://docs.yahoo.com/info/terms/
        >>
        >>
        >>
        >>
        >
        >
        >
        > To unsubscribe from the Yahoo Group, send an email to:
        > cightml-unsubscribe@yahoogroups.com
        >
        > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
        >
        > Messages prior to 2002 are also archived at http://www.mcfedries.com
        >
        >
        >
        > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        >
        >
        >
      • David Colliver
        You know how pop-unders work? They send a window.focus to the main window to bring it back up on top... So, with this in mind, how about something like...
        Message 3 of 13 , Jan 2, 2003
        • 0 Attachment
          You know how pop-unders work? They send a window.focus to the main window to
          bring it back up on top...

          So, with this in mind, how about something like...

          window.open('file.htm', 'windowname',....
          window.focus('windowname');

          (I know the syntax is totally incorrect, but you could perhaps use the
          idea).

          Dave.
          ~~
          All I ask is a chance to prove that money can't make me happy.

          Free Internet Access (UK Only, lo-call) http://www.revilloc.com/internet.htm
          Web design, hosting, Domain registration? http://www.revilloc.com
          Collectible dolls from http://www.collectorsdolls.com
          Tips, tricks and articles for programmers of all languages on
          http://www.sourcecodecorner.com
          Planning a wedding? http://www.bmcweddings.com
          Advertise your car for free on http://www.drivingseat.com


          ----- Original Message -----
          From: "Gary Badger" <badger@...>
          To: <cightml@yahoogroups.com>
          Sent: Thursday, January 02, 2003 10:10 AM
          Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


          > Thanks Franki (and everyone else),
          >
          > The pop-up contains the image only (no HTML), and when it is closed before
          > losing focus there is no problem. The issue arises when the pop-up is not
          > closed and then it loses focus, falling and staying behind the original
          > full-size window when looking for another thumbnail. Subsequent links open
          > in the same pop-up but because it has lost focus and sits behind they can
          be
          > missed.
          >
          > What I want to do is fix it so that the pop-up is always on top, and can
          not
          > lose focus. Is this possible? I'm sure I've had it done to me at some
          stage.
          >
          > If not I guess I'll have to abandon this pop-up type in favour of the HTML
          > type that includes a close button.
          >
          > Any suggestions appreciated.
          >
          > Thanks,
          >
          > Gary.
          >
          > ----- Original Message -----
          > From: "Franki" <franki@...>
          > To: <cightml@yahoogroups.com>
          > Sent: Thursday, January 02, 2003 12:44 AM
          > Subject: RE: [cightml] Keeping a JS Pop-Up Window On Top?
          >
          >
          > > Are you opening the popup image directly? or with some HTML???
          > >
          > > If its the later, you can add something like this to the popup body tag.
          > >
          > > onBlur='window.close();'
          > >
          > > That would close the popup when the focus is taken off it..
          > >
          > > If you are opening the image directly.. no html... all is not lost..
          > >
          > > You could do it from the main window as well..if the main window is in
          > focus
          > > and the popup exists.. then close it.
          > >
          > >
          > >
          > > regards
          > >
          > > Franki
          > >
          > > -----Original Message-----
          > > From: Gary Badger [mailto:badger@...]
          > > Sent: Wednesday, 1 January 2003 9:04 AM
          > > To: CIGHTML Mailing List
          > > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
          > >
          > >
          > > Happy New Year Everyone!!! Does this make me the FIRST for 2003?
          > >
          > > I have a thumbnail page where the thumbnails link to open full size
          images
          > > in JavaScript pop-ups. When a pop-up is open I can still see the
          thumbnail
          > > page (most of it is visible underneath the pop-up).
          > >
          > > If I click on another thumbnail the new image opens in the same pop-up
          > that
          > > the last one used, but the pop-up now sits behind the thumbnail page
          since
          > > it was the last 'active' page (i.e. the one just clicked on). This is
          > > undesirable because to the uninitiated it appears that clicking on the
          new
          > > thumbnail has not done anything.
          > >
          > > How can I either:
          > >
          > > 1. Keep the pop-up on top all the time until someone chooses to close
          it?
          > >
          > > OR
          > >
          > > 2. Vary my JavaScript so that each image opens in a NEW pop-up even if
          the
          > > last one is still open (a new window would always open on top)?
          > >
          > >
          > > FYI, here is the JavaScript I am using. I picked it up at
          > > http://javascript.internet.com/.
          > >
          > > ***This is in the <head>***
          > >
          > > <SCRIPT LANGUAGE="JavaScript">
          > > <!-- Begin
          > > function ViewImage(ifile,ix,iy,ititle) {
          > > var win;
          > > var sWidth;
          > > var sHeight;
          > > var NS = (document.layers) ? 1 : 0;
          > > win =
          > >
          >
          window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
          > > no");
          > > if (NS) {
          > > sWidth = win.innerWidth;
          > > sHeight = win.innerHeight;
          > > } else {
          > > sWidth = win.document.body.clientWidth;
          > > sHeight = win.document.body.clientHeight;
          > > }
          > > if(sWidth!=ix || sHeight!=iy) {
          > > win.close();
          > > setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
          > > return;
          > > }
          > > win.document.open();
          > > win.document.write("<html><head><title>"+ititle+"</title>");
          > > win.document.write("</head><body>");
          > > win.document.write('<div
          > >
          >
          style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
          > > ;
          > > win.document.write("<img src="+ifile+"></div></body></html>");
          > > win.document.close();
          > > }
          > > // End -->
          > > </script>
          > >
          > >
          > > ***This is one of many thumbnail links in the <body>***
          > >
          > > <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome
          to
          > > the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
          > > border=0 alt='Click to see a larger and more detailed view of this
          > > mat!'></a>
          > >
          > >
          > > Should you wish to check out the page in question it is at
          > > http://www.mattman.com.au/ then select the "Mat Gallery" page.
          > >
          > > Many thanks for any assistance you can afford me.
          > >
          > > Cheers,
          > >
          > > Gary.
          > > badger@...
          > > http://www.embossingtapesupplies.com.au/
          > > http://www.mattman.com.au/
          > >
          > >
          > >
          > > To unsubscribe from the Yahoo Group, send an email to:
          > > cightml-unsubscribe@yahoogroups.com
          > >
          > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
          > >
          > > Messages prior to 2002 are also archived at http://www.mcfedries.com
          > >
          > >
          > >
          > > Your use of Yahoo! Groups is subject to
          http://docs.yahoo.com/info/terms/
          > >
          > >
          > >
          > >
          > > To unsubscribe from the Yahoo Group, send an email to:
          > > cightml-unsubscribe@yahoogroups.com
          > >
          > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
          > >
          > > Messages prior to 2002 are also archived at http://www.mcfedries.com
          > >
          > >
          > >
          > > Your use of Yahoo! Groups is subject to
          http://docs.yahoo.com/info/terms/
          > >
          >
          >
          >
          > To unsubscribe from the Yahoo Group, send an email to:
          > cightml-unsubscribe@yahoogroups.com
          >
          > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
          >
          > Messages prior to 2002 are also archived at http://www.mcfedries.com
          >
          >
          >
          > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
          >
          >
        • Gary Badger
          Thanks Franki (and everyone else), The pop-up contains the image only (no HTML), and when it is closed before losing focus there is no problem. The issue
          Message 4 of 13 , Jan 2, 2003
          • 0 Attachment
            Thanks Franki (and everyone else),

            The pop-up contains the image only (no HTML), and when it is closed before
            losing focus there is no problem. The issue arises when the pop-up is not
            closed and then it loses focus, falling and staying behind the original
            full-size window when looking for another thumbnail. Subsequent links open
            in the same pop-up but because it has lost focus and sits behind they can be
            missed.

            What I want to do is fix it so that the pop-up is always on top, and can not
            lose focus. Is this possible? I'm sure I've had it done to me at some stage.

            If not I guess I'll have to abandon this pop-up type in favour of the HTML
            type that includes a close button.

            Any suggestions appreciated.

            Thanks,

            Gary.

            ----- Original Message -----
            From: "Franki" <franki@...>
            To: <cightml@yahoogroups.com>
            Sent: Thursday, January 02, 2003 12:44 AM
            Subject: RE: [cightml] Keeping a JS Pop-Up Window On Top?


            > Are you opening the popup image directly? or with some HTML???
            >
            > If its the later, you can add something like this to the popup body tag.
            >
            > onBlur='window.close();'
            >
            > That would close the popup when the focus is taken off it..
            >
            > If you are opening the image directly.. no html... all is not lost..
            >
            > You could do it from the main window as well..if the main window is in
            focus
            > and the popup exists.. then close it.
            >
            >
            >
            > regards
            >
            > Franki
            >
            > -----Original Message-----
            > From: Gary Badger [mailto:badger@...]
            > Sent: Wednesday, 1 January 2003 9:04 AM
            > To: CIGHTML Mailing List
            > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
            >
            >
            > Happy New Year Everyone!!! Does this make me the FIRST for 2003?
            >
            > I have a thumbnail page where the thumbnails link to open full size images
            > in JavaScript pop-ups. When a pop-up is open I can still see the thumbnail
            > page (most of it is visible underneath the pop-up).
            >
            > If I click on another thumbnail the new image opens in the same pop-up
            that
            > the last one used, but the pop-up now sits behind the thumbnail page since
            > it was the last 'active' page (i.e. the one just clicked on). This is
            > undesirable because to the uninitiated it appears that clicking on the new
            > thumbnail has not done anything.
            >
            > How can I either:
            >
            > 1. Keep the pop-up on top all the time until someone chooses to close it?
            >
            > OR
            >
            > 2. Vary my JavaScript so that each image opens in a NEW pop-up even if the
            > last one is still open (a new window would always open on top)?
            >
            >
            > FYI, here is the JavaScript I am using. I picked it up at
            > http://javascript.internet.com/.
            >
            > ***This is in the <head>***
            >
            > <SCRIPT LANGUAGE="JavaScript">
            > <!-- Begin
            > function ViewImage(ifile,ix,iy,ititle) {
            > var win;
            > var sWidth;
            > var sHeight;
            > var NS = (document.layers) ? 1 : 0;
            > win =
            >
            window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
            > no");
            > if (NS) {
            > sWidth = win.innerWidth;
            > sHeight = win.innerHeight;
            > } else {
            > sWidth = win.document.body.clientWidth;
            > sHeight = win.document.body.clientHeight;
            > }
            > if(sWidth!=ix || sHeight!=iy) {
            > win.close();
            > setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
            > return;
            > }
            > win.document.open();
            > win.document.write("<html><head><title>"+ititle+"</title>");
            > win.document.write("</head><body>");
            > win.document.write('<div
            >
            style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
            > ;
            > win.document.write("<img src="+ifile+"></div></body></html>");
            > win.document.close();
            > }
            > // End -->
            > </script>
            >
            >
            > ***This is one of many thumbnail links in the <body>***
            >
            > <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome to
            > the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
            > border=0 alt='Click to see a larger and more detailed view of this
            > mat!'></a>
            >
            >
            > Should you wish to check out the page in question it is at
            > http://www.mattman.com.au/ then select the "Mat Gallery" page.
            >
            > Many thanks for any assistance you can afford me.
            >
            > Cheers,
            >
            > Gary.
            > badger@...
            > http://www.embossingtapesupplies.com.au/
            > http://www.mattman.com.au/
            >
            >
            >
            > To unsubscribe from the Yahoo Group, send an email to:
            > cightml-unsubscribe@yahoogroups.com
            >
            > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
            >
            > Messages prior to 2002 are also archived at http://www.mcfedries.com
            >
            >
            >
            > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
            >
            >
            >
            >
            > To unsubscribe from the Yahoo Group, send an email to:
            > cightml-unsubscribe@yahoogroups.com
            >
            > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
            >
            > Messages prior to 2002 are also archived at http://www.mcfedries.com
            >
            >
            >
            > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
            >
          • Gary Badger
            Thanks Dave, your message actually prompted me to look for a site with a pop-under so I could check this out. I would have never thought I would voluntarily do
            Message 5 of 13 , Jan 2, 2003
            • 0 Attachment
              Thanks Dave, your message actually prompted me to look for a site with a
              pop-under so I could check this out. I would have never thought I would
              voluntarily do that!

              The problem with the pop-unders I've found is that they can keep or lose
              focus (try alt / tab). What I really want is a windows that stays on top /
              retains focus all the time.

              Any thoughts?

              Cheers,

              Gary.

              ----- Original Message -----
              From: "David Colliver" <david.colliver@...>
              To: <cightml@yahoogroups.com>
              Sent: Thursday, January 02, 2003 9:08 PM
              Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


              > You know how pop-unders work? They send a window.focus to the main window
              to
              > bring it back up on top...
              >
              > So, with this in mind, how about something like...
              >
              > window.open('file.htm', 'windowname',....
              > window.focus('windowname');
              >
              > (I know the syntax is totally incorrect, but you could perhaps use the
              > idea).
              >
              > Dave.
              > ~~
              > All I ask is a chance to prove that money can't make me happy.
              >
              > Free Internet Access (UK Only, lo-call)
              http://www.revilloc.com/internet.htm
              > Web design, hosting, Domain registration? http://www.revilloc.com
              > Collectible dolls from http://www.collectorsdolls.com
              > Tips, tricks and articles for programmers of all languages on
              > http://www.sourcecodecorner.com
              > Planning a wedding? http://www.bmcweddings.com
              > Advertise your car for free on http://www.drivingseat.com
              >
              >
              > ----- Original Message -----
              > From: "Gary Badger" <badger@...>
              > To: <cightml@yahoogroups.com>
              > Sent: Thursday, January 02, 2003 10:10 AM
              > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
              >
              >
              > > Thanks Franki (and everyone else),
              > >
              > > The pop-up contains the image only (no HTML), and when it is closed
              before
              > > losing focus there is no problem. The issue arises when the pop-up is
              not
              > > closed and then it loses focus, falling and staying behind the original
              > > full-size window when looking for another thumbnail. Subsequent links
              open
              > > in the same pop-up but because it has lost focus and sits behind they
              can
              > be
              > > missed.
              > >
              > > What I want to do is fix it so that the pop-up is always on top, and can
              > not
              > > lose focus. Is this possible? I'm sure I've had it done to me at some
              > stage.
              > >
              > > If not I guess I'll have to abandon this pop-up type in favour of the
              HTML
              > > type that includes a close button.
              > >
              > > Any suggestions appreciated.
              > >
              > > Thanks,
              > >
              > > Gary.
              > >
              > > ----- Original Message -----
              > > From: "Franki" <franki@...>
              > > To: <cightml@yahoogroups.com>
              > > Sent: Thursday, January 02, 2003 12:44 AM
              > > Subject: RE: [cightml] Keeping a JS Pop-Up Window On Top?
              > >
              > >
              > > > Are you opening the popup image directly? or with some HTML???
              > > >
              > > > If its the later, you can add something like this to the popup body
              tag.
              > > >
              > > > onBlur='window.close();'
              > > >
              > > > That would close the popup when the focus is taken off it..
              > > >
              > > > If you are opening the image directly.. no html... all is not lost..
              > > >
              > > > You could do it from the main window as well..if the main window is in
              > > focus
              > > > and the popup exists.. then close it.
              > > >
              > > >
              > > >
              > > > regards
              > > >
              > > > Franki
              > > >
              > > > -----Original Message-----
              > > > From: Gary Badger [mailto:badger@...]
              > > > Sent: Wednesday, 1 January 2003 9:04 AM
              > > > To: CIGHTML Mailing List
              > > > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
              > > >
              > > >
              > > > Happy New Year Everyone!!! Does this make me the FIRST for 2003?
              > > >
              > > > I have a thumbnail page where the thumbnails link to open full size
              > images
              > > > in JavaScript pop-ups. When a pop-up is open I can still see the
              > thumbnail
              > > > page (most of it is visible underneath the pop-up).
              > > >
              > > > If I click on another thumbnail the new image opens in the same pop-up
              > > that
              > > > the last one used, but the pop-up now sits behind the thumbnail page
              > since
              > > > it was the last 'active' page (i.e. the one just clicked on). This is
              > > > undesirable because to the uninitiated it appears that clicking on the
              > new
              > > > thumbnail has not done anything.
              > > >
              > > > How can I either:
              > > >
              > > > 1. Keep the pop-up on top all the time until someone chooses to close
              > it?
              > > >
              > > > OR
              > > >
              > > > 2. Vary my JavaScript so that each image opens in a NEW pop-up even if
              > the
              > > > last one is still open (a new window would always open on top)?
              > > >
              > > >
              > > > FYI, here is the JavaScript I am using. I picked it up at
              > > > http://javascript.internet.com/.
              > > >
              > > > ***This is in the <head>***
              > > >
              > > > <SCRIPT LANGUAGE="JavaScript">
              > > > <!-- Begin
              > > > function ViewImage(ifile,ix,iy,ititle) {
              > > > var win;
              > > > var sWidth;
              > > > var sHeight;
              > > > var NS = (document.layers) ? 1 : 0;
              > > > win =
              > > >
              > >
              >
              window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
              > > > no");
              > > > if (NS) {
              > > > sWidth = win.innerWidth;
              > > > sHeight = win.innerHeight;
              > > > } else {
              > > > sWidth = win.document.body.clientWidth;
              > > > sHeight = win.document.body.clientHeight;
              > > > }
              > > > if(sWidth!=ix || sHeight!=iy) {
              > > > win.close();
              > > > setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
              > > > return;
              > > > }
              > > > win.document.open();
              > > > win.document.write("<html><head><title>"+ititle+"</title>");
              > > > win.document.write("</head><body>");
              > > > win.document.write('<div
              > > >
              > >
              >
              style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
              > > > ;
              > > > win.document.write("<img src="+ifile+"></div></body></html>");
              > > > win.document.close();
              > > > }
              > > > // End -->
              > > > </script>
              > > >
              > > >
              > > > ***This is one of many thumbnail links in the <body>***
              > > >
              > > > <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome
              > to
              > > > the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
              > > > border=0 alt='Click to see a larger and more detailed view of this
              > > > mat!'></a>
              > > >
              > > >
              > > > Should you wish to check out the page in question it is at
              > > > http://www.mattman.com.au/ then select the "Mat Gallery" page.
              > > >
              > > > Many thanks for any assistance you can afford me.
              > > >
              > > > Cheers,
              > > >
              > > > Gary.
              > > > badger@...
              > > > http://www.embossingtapesupplies.com.au/
              > > > http://www.mattman.com.au/
              > > >
              > > >
              > > >
              > > > To unsubscribe from the Yahoo Group, send an email to:
              > > > cightml-unsubscribe@yahoogroups.com
              > > >
              > > > This list is for readers of Paul McFedries' CIG to Creating a Web
              Page.
              > > >
              > > > Messages prior to 2002 are also archived at http://www.mcfedries.com
              > > >
              > > >
              > > >
              > > > Your use of Yahoo! Groups is subject to
              > http://docs.yahoo.com/info/terms/
              > > >
              > > >
              > > >
              > > >
              > > > To unsubscribe from the Yahoo Group, send an email to:
              > > > cightml-unsubscribe@yahoogroups.com
              > > >
              > > > This list is for readers of Paul McFedries' CIG to Creating a Web
              Page.
              > > >
              > > > Messages prior to 2002 are also archived at http://www.mcfedries.com
              > > >
              > > >
              > > >
              > > > Your use of Yahoo! Groups is subject to
              > http://docs.yahoo.com/info/terms/
              > > >
              > >
              > >
              > >
              > > To unsubscribe from the Yahoo Group, send an email to:
              > > cightml-unsubscribe@yahoogroups.com
              > >
              > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
              > >
              > > Messages prior to 2002 are also archived at http://www.mcfedries.com
              > >
              > >
              > >
              > > Your use of Yahoo! Groups is subject to
              http://docs.yahoo.com/info/terms/
              > >
              > >
              >
              >
              >
              > To unsubscribe from the Yahoo Group, send an email to:
              > cightml-unsubscribe@yahoogroups.com
              >
              > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
              >
              > Messages prior to 2002 are also archived at http://www.mcfedries.com
              >
              >
              >
              > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
              >
              >
            • David Colliver
              If it retains focus, you cannot then go to another window to view another picture. There is not a stay on top method as far as I am aware for browser windows.
              Message 6 of 13 , Jan 2, 2003
              • 0 Attachment
                If it retains focus, you cannot then go to another window to view another
                picture.

                There is not a stay on top method as far as I am aware for browser windows.
                I think the best bet is to allow the browser to go behind when you pop up a
                new window, then bring the new window into focus when the main window is
                clicked.

                What you can do is if you need it to stay on top (though it will severly
                limit your options, as described above) is to run the script to bring
                winodw.focus again when the window goes out of focus. This will make it
                though that you cannot get to the main window because this window will then
                come back into focus. Personally, I would be pretty frustrated if a window
                kept doing that to me.

                Regards.
                Dave.

                ----- Original Message -----
                From: "Gary Badger" <badger@...>
                To: <cightml@yahoogroups.com>
                Sent: Thursday, January 02, 2003 11:29 AM
                Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                > Thanks Dave, your message actually prompted me to look for a site with a
                > pop-under so I could check this out. I would have never thought I would
                > voluntarily do that!
                >
                > The problem with the pop-unders I've found is that they can keep or lose
                > focus (try alt / tab). What I really want is a windows that stays on top /
                > retains focus all the time.
                >
                > Any thoughts?
                >
                > Cheers,
                >
                > Gary.
                >
                > ----- Original Message -----
                > From: "David Colliver" <david.colliver@...>
                > To: <cightml@yahoogroups.com>
                > Sent: Thursday, January 02, 2003 9:08 PM
                > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                >
                >
                > > You know how pop-unders work? They send a window.focus to the main
                window
                > to
                > > bring it back up on top...
                > >
                > > So, with this in mind, how about something like...
                > >
                > > window.open('file.htm', 'windowname',....
                > > window.focus('windowname');
                > >
                > > (I know the syntax is totally incorrect, but you could perhaps use the
                > > idea).
                > >
                > > Dave.
                > > ~~
                > > All I ask is a chance to prove that money can't make me happy.
                > >
                > > Free Internet Access (UK Only, lo-call)
                > http://www.revilloc.com/internet.htm
                > > Web design, hosting, Domain registration? http://www.revilloc.com
                > > Collectible dolls from http://www.collectorsdolls.com
                > > Tips, tricks and articles for programmers of all languages on
                > > http://www.sourcecodecorner.com
                > > Planning a wedding? http://www.bmcweddings.com
                > > Advertise your car for free on http://www.drivingseat.com
                > >
                > >
                > > ----- Original Message -----
                > > From: "Gary Badger" <badger@...>
                > > To: <cightml@yahoogroups.com>
                > > Sent: Thursday, January 02, 2003 10:10 AM
                > > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                > >
                > >
                > > > Thanks Franki (and everyone else),
                > > >
                > > > The pop-up contains the image only (no HTML), and when it is closed
                > before
                > > > losing focus there is no problem. The issue arises when the pop-up is
                > not
                > > > closed and then it loses focus, falling and staying behind the
                original
                > > > full-size window when looking for another thumbnail. Subsequent links
                > open
                > > > in the same pop-up but because it has lost focus and sits behind they
                > can
                > > be
                > > > missed.
                > > >
                > > > What I want to do is fix it so that the pop-up is always on top, and
                can
                > > not
                > > > lose focus. Is this possible? I'm sure I've had it done to me at some
                > > stage.
                > > >
                > > > If not I guess I'll have to abandon this pop-up type in favour of the
                > HTML
                > > > type that includes a close button.
                > > >
                > > > Any suggestions appreciated.
                > > >
                > > > Thanks,
                > > >
                > > > Gary.
                > > >
                > > > ----- Original Message -----
                > > > From: "Franki" <franki@...>
                > > > To: <cightml@yahoogroups.com>
                > > > Sent: Thursday, January 02, 2003 12:44 AM
                > > > Subject: RE: [cightml] Keeping a JS Pop-Up Window On Top?
                > > >
                > > >
                > > > > Are you opening the popup image directly? or with some HTML???
                > > > >
                > > > > If its the later, you can add something like this to the popup body
                > tag.
                > > > >
                > > > > onBlur='window.close();'
                > > > >
                > > > > That would close the popup when the focus is taken off it..
                > > > >
                > > > > If you are opening the image directly.. no html... all is not lost..
                > > > >
                > > > > You could do it from the main window as well..if the main window is
                in
                > > > focus
                > > > > and the popup exists.. then close it.
                > > > >
                > > > >
                > > > >
                > > > > regards
                > > > >
                > > > > Franki
                > > > >
                > > > > -----Original Message-----
                > > > > From: Gary Badger [mailto:badger@...]
                > > > > Sent: Wednesday, 1 January 2003 9:04 AM
                > > > > To: CIGHTML Mailing List
                > > > > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
                > > > >
                > > > >
                > > > > Happy New Year Everyone!!! Does this make me the FIRST for 2003?
                > > > >
                > > > > I have a thumbnail page where the thumbnails link to open full size
                > > images
                > > > > in JavaScript pop-ups. When a pop-up is open I can still see the
                > > thumbnail
                > > > > page (most of it is visible underneath the pop-up).
                > > > >
                > > > > If I click on another thumbnail the new image opens in the same
                pop-up
                > > > that
                > > > > the last one used, but the pop-up now sits behind the thumbnail page
                > > since
                > > > > it was the last 'active' page (i.e. the one just clicked on). This
                is
                > > > > undesirable because to the uninitiated it appears that clicking on
                the
                > > new
                > > > > thumbnail has not done anything.
                > > > >
                > > > > How can I either:
                > > > >
                > > > > 1. Keep the pop-up on top all the time until someone chooses to
                close
                > > it?
                > > > >
                > > > > OR
                > > > >
                > > > > 2. Vary my JavaScript so that each image opens in a NEW pop-up even
                if
                > > the
                > > > > last one is still open (a new window would always open on top)?
                > > > >
                > > > >
                > > > > FYI, here is the JavaScript I am using. I picked it up at
                > > > > http://javascript.internet.com/.
                > > > >
                > > > > ***This is in the <head>***
                > > > >
                > > > > <SCRIPT LANGUAGE="JavaScript">
                > > > > <!-- Begin
                > > > > function ViewImage(ifile,ix,iy,ititle) {
                > > > > var win;
                > > > > var sWidth;
                > > > > var sHeight;
                > > > > var NS = (document.layers) ? 1 : 0;
                > > > > win =
                > > > >
                > > >
                > >
                >
                window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
                > > > > no");
                > > > > if (NS) {
                > > > > sWidth = win.innerWidth;
                > > > > sHeight = win.innerHeight;
                > > > > } else {
                > > > > sWidth = win.document.body.clientWidth;
                > > > > sHeight = win.document.body.clientHeight;
                > > > > }
                > > > > if(sWidth!=ix || sHeight!=iy) {
                > > > > win.close();
                > > > > setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')",
                250);
                > > > > return;
                > > > > }
                > > > > win.document.open();
                > > > > win.document.write("<html><head><title>"+ititle+"</title>");
                > > > > win.document.write("</head><body>");
                > > > > win.document.write('<div
                > > > >
                > > >
                > >
                >
                style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
                > > > > ;
                > > > > win.document.write("<img src="+ifile+"></div></body></html>");
                > > > > win.document.close();
                > > > > }
                > > > > // End -->
                > > > > </script>
                > > > >
                > > > >
                > > > > ***This is one of many thumbnail links in the <body>***
                > > > >
                > > > > <a
                href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome
                > > to
                > > > > the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
                > > > > border=0 alt='Click to see a larger and more detailed view of this
                > > > > mat!'></a>
                > > > >
                > > > >
                > > > > Should you wish to check out the page in question it is at
                > > > > http://www.mattman.com.au/ then select the "Mat Gallery" page.
                > > > >
                > > > > Many thanks for any assistance you can afford me.
                > > > >
                > > > > Cheers,
                > > > >
                > > > > Gary.
                > > > > badger@...
                > > > > http://www.embossingtapesupplies.com.au/
                > > > > http://www.mattman.com.au/
                > > > >
                > > > >
                > > > >
                > > > > To unsubscribe from the Yahoo Group, send an email to:
                > > > > cightml-unsubscribe@yahoogroups.com
                > > > >
                > > > > This list is for readers of Paul McFedries' CIG to Creating a Web
                > Page.
                > > > >
                > > > > Messages prior to 2002 are also archived at
                http://www.mcfedries.com
                > > > >
                > > > >
                > > > >
                > > > > Your use of Yahoo! Groups is subject to
                > > http://docs.yahoo.com/info/terms/
                > > > >
                > > > >
                > > > >
                > > > >
                > > > > To unsubscribe from the Yahoo Group, send an email to:
                > > > > cightml-unsubscribe@yahoogroups.com
                > > > >
                > > > > This list is for readers of Paul McFedries' CIG to Creating a Web
                > Page.
                > > > >
                > > > > Messages prior to 2002 are also archived at
                http://www.mcfedries.com
                > > > >
                > > > >
                > > > >
                > > > > Your use of Yahoo! Groups is subject to
                > > http://docs.yahoo.com/info/terms/
                > > > >
                > > >
                > > >
                > > >
                > > > To unsubscribe from the Yahoo Group, send an email to:
                > > > cightml-unsubscribe@yahoogroups.com
                > > >
                > > > This list is for readers of Paul McFedries' CIG to Creating a Web
                Page.
                > > >
                > > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                > > >
                > > >
                > > >
                > > > Your use of Yahoo! Groups is subject to
                > http://docs.yahoo.com/info/terms/
                > > >
                > > >
                > >
                > >
                > >
                > > To unsubscribe from the Yahoo Group, send an email to:
                > > cightml-unsubscribe@yahoogroups.com
                > >
                > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                > >
                > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                > >
                > >
                > >
                > > Your use of Yahoo! Groups is subject to
                http://docs.yahoo.com/info/terms/
                > >
                > >
                >
                >
                >
                > To unsubscribe from the Yahoo Group, send an email to:
                > cightml-unsubscribe@yahoogroups.com
                >
                > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                >
                > Messages prior to 2002 are also archived at http://www.mcfedries.com
                >
                >
                >
                > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                >
                >
              • Gary Badger
                Thanks again Dave, I hope nobody else minds our little chat here ;o) I understand what you are saying and why you would not like a pop-up to keep focus in
                Message 7 of 13 , Jan 2, 2003
                • 0 Attachment
                  Thanks again Dave, I hope nobody else minds our little chat here ;o)

                  I understand what you are saying and why you would not like a pop-up to keep
                  focus in general. I *think* that wouldn't be too much of issue for tyhe page
                  I'm dealing with as the pop-up is quite small and could be closed if not
                  wanted.

                  I've been through a LOT of web pages tonight searching for more answers, and
                  I think I may have found it at http://tech.irt.org/articles/js128/. (This
                  site appears to be a great resource if anyone else is still reading this
                  thread). The advice given in relation to this is:
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  Managing Your Windows / Maintaining their focus

                  You may have noticed that its quite easy to lose pop-up windows - they can
                  become hidden behind the main browser window. This happens when the main
                  browser window regains focus, i.e., becomes the selected window. To avoid
                  this you need to decide whether you want the pop-up window to have exclusive
                  control of the browser, or whether you want it to be closed, or even brought
                  to the front after a short delay.

                  By placing the following in the document loaded into the pop-up window then
                  the pop-up will remain in front of the main browser window:

                  <body onBlur="window.focus()">


                  This has the side effect on some browsers of inhibiting the use of the main
                  browser window until the pop-up window is closed. If you don't require this
                  feature then you could always refocus the pop-up window after a delay:

                  <body onBlur="setTimeout=('window.focus()',1000)">


                  Which ensures that the pop-up window regains the focus after a delay of one
                  second - enough time to allow the user to interact with the main browser
                  window.

                  Of course you may decide that if the user has moved the focus to the main
                  browser window, that the pop-up window should be closed:

                  <body onBlur="window.close()">
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                  If I do this I need to change the way I'm opening the pop-ups, then I'll
                  send you / the list the URL and ask if you think it's too frustrating to
                  configure the window that way. It's a job for tomorrow night though
                  (zzzzzzzzzzzzzzzz).

                  Cheers,

                  Gary.

                  ----- Original Message -----
                  From: "David Colliver" <david.colliver@...>
                  To: <cightml@yahoogroups.com>
                  Sent: Thursday, January 02, 2003 10:35 PM
                  Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                  > If it retains focus, you cannot then go to another window to view another
                  > picture.
                  >
                  > There is not a stay on top method as far as I am aware for browser
                  windows.
                  > I think the best bet is to allow the browser to go behind when you pop up
                  a
                  > new window, then bring the new window into focus when the main window is
                  > clicked.
                  >
                  > What you can do is if you need it to stay on top (though it will severly
                  > limit your options, as described above) is to run the script to bring
                  > winodw.focus again when the window goes out of focus. This will make it
                  > though that you cannot get to the main window because this window will
                  then
                  > come back into focus. Personally, I would be pretty frustrated if a window
                  > kept doing that to me.
                  >
                  > Regards.
                  > Dave.
                  >
                  > ----- Original Message -----
                  > From: "Gary Badger" <badger@...>
                  > To: <cightml@yahoogroups.com>
                  > Sent: Thursday, January 02, 2003 11:29 AM
                  > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                  >
                  >
                  > > Thanks Dave, your message actually prompted me to look for a site with a
                  > > pop-under so I could check this out. I would have never thought I would
                  > > voluntarily do that!
                  > >
                  > > The problem with the pop-unders I've found is that they can keep or lose
                  > > focus (try alt / tab). What I really want is a windows that stays on top
                  /
                  > > retains focus all the time.
                  > >
                  > > Any thoughts?
                  > >
                  > > Cheers,
                  > >
                  > > Gary.
                  > >
                • Don Passenger
                  I don t/haven t messed with such things in great detail. It however seems to me that you are focusing in hopes that the right window is in front. The next
                  Message 8 of 13 , Jan 2, 2003
                  • 0 Attachment
                    I don't/haven't messed with such things in great detail. It however seems
                    to me that you are focusing "in hopes" that the right window is in front.

                    The next step in that process might be to add to the main window an on click
                    event which focuses the pop-up. If that is added for a class of links (the
                    thumbnails), then you focus the window each time it is clicked. The other
                    thing to consider is adding a close window feature to the pop-up.

                    So to my way of thinking, I believe you can get a lot closer to right than
                    simply using on-blur and a timer.

                    Don
                    ----- Original Message -----
                    From: "Gary Badger" <badger@...>
                    To: <cightml@yahoogroups.com>
                    Sent: Thursday, January 02, 2003 7:11 AM
                    Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                    > Thanks again Dave, I hope nobody else minds our little chat here ;o)
                    >
                    > I understand what you are saying and why you would not like a pop-up to
                    keep
                    > focus in general. I *think* that wouldn't be too much of issue for tyhe
                    page
                    > I'm dealing with as the pop-up is quite small and could be closed if not
                    > wanted.
                    >
                    > I've been through a LOT of web pages tonight searching for more answers,
                    and
                    > I think I may have found it at http://tech.irt.org/articles/js128/. (This
                    > site appears to be a great resource if anyone else is still reading this
                    > thread). The advice given in relation to this is:
                    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    > Managing Your Windows / Maintaining their focus
                    >
                    > You may have noticed that its quite easy to lose pop-up windows - they can
                    > become hidden behind the main browser window. This happens when the main
                    > browser window regains focus, i.e., becomes the selected window. To avoid
                    > this you need to decide whether you want the pop-up window to have
                    exclusive
                    > control of the browser, or whether you want it to be closed, or even
                    brought
                    > to the front after a short delay.
                    >
                    > By placing the following in the document loaded into the pop-up window
                    then
                    > the pop-up will remain in front of the main browser window:
                    >
                    > <body onBlur="window.focus()">
                    >
                    >
                    > This has the side effect on some browsers of inhibiting the use of the
                    main
                    > browser window until the pop-up window is closed. If you don't require
                    this
                    > feature then you could always refocus the pop-up window after a delay:
                    >
                    > <body onBlur="setTimeout=('window.focus()',1000)">
                    >
                    >
                    > Which ensures that the pop-up window regains the focus after a delay of
                    one
                    > second - enough time to allow the user to interact with the main browser
                    > window.
                    >
                    > Of course you may decide that if the user has moved the focus to the main
                    > browser window, that the pop-up window should be closed:
                    >
                    > <body onBlur="window.close()">
                    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    >
                    > If I do this I need to change the way I'm opening the pop-ups, then I'll
                    > send you / the list the URL and ask if you think it's too frustrating to
                    > configure the window that way. It's a job for tomorrow night though
                    > (zzzzzzzzzzzzzzzz).
                    >
                    > Cheers,
                    >
                    > Gary.
                    >
                    > ----- Original Message -----
                    > From: "David Colliver" <david.colliver@...>
                    > To: <cightml@yahoogroups.com>
                    > Sent: Thursday, January 02, 2003 10:35 PM
                    > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                    >
                    >
                    > > If it retains focus, you cannot then go to another window to view
                    another
                    > > picture.
                    > >
                    > > There is not a stay on top method as far as I am aware for browser
                    > windows.
                    > > I think the best bet is to allow the browser to go behind when you pop
                    up
                    > a
                    > > new window, then bring the new window into focus when the main window is
                    > > clicked.
                    > >
                    > > What you can do is if you need it to stay on top (though it will severly
                    > > limit your options, as described above) is to run the script to bring
                    > > winodw.focus again when the window goes out of focus. This will make it
                    > > though that you cannot get to the main window because this window will
                    > then
                    > > come back into focus. Personally, I would be pretty frustrated if a
                    window
                    > > kept doing that to me.
                    > >
                    > > Regards.
                    > > Dave.
                    > >
                    > > ----- Original Message -----
                    > > From: "Gary Badger" <badger@...>
                    > > To: <cightml@yahoogroups.com>
                    > > Sent: Thursday, January 02, 2003 11:29 AM
                    > > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                    > >
                    > >
                    > > > Thanks Dave, your message actually prompted me to look for a site with
                    a
                    > > > pop-under so I could check this out. I would have never thought I
                    would
                    > > > voluntarily do that!
                    > > >
                    > > > The problem with the pop-unders I've found is that they can keep or
                    lose
                    > > > focus (try alt / tab). What I really want is a windows that stays on
                    top
                    > /
                    > > > retains focus all the time.
                    > > >
                    > > > Any thoughts?
                    > > >
                    > > > Cheers,
                    > > >
                    > > > Gary.
                    > > >
                    >
                    >
                    >
                    > To unsubscribe from the Yahoo Group, send an email to:
                    > cightml-unsubscribe@yahoogroups.com
                    >
                    > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                    >
                    > Messages prior to 2002 are also archived at http://www.mcfedries.com
                    >
                    >
                    >
                    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                    >
                    >
                  • Don Passenger
                    Consider this method .... use a layer instead which avoids the pop-up killers and stays focused. It can be repositioned by dragging and next click clears it
                    Message 9 of 13 , Jan 2, 2003
                    • 0 Attachment
                      Consider this method .... use a layer instead which avoids the pop-up
                      killers and stays focused. It can be repositioned by dragging and next
                      click clears it and gets the next one visible.

                      http://groups.yahoo.com/group/cightml/message/2798

                      The link near the bottom sets up the layers.
                      ----- Original Message -----
                      From: "Gary Badger" <badger@...>
                      To: <cightml@yahoogroups.com>
                      Sent: Thursday, January 02, 2003 5:10 AM
                      Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                      > Thanks Franki (and everyone else),
                      >
                      > The pop-up contains the image only (no HTML), and when it is closed before
                      > losing focus there is no problem. The issue arises when the pop-up is not
                      > closed and then it loses focus, falling and staying behind the original
                      > full-size window when looking for another thumbnail. Subsequent links open
                      > in the same pop-up but because it has lost focus and sits behind they can
                      be
                      > missed.
                      >
                      > What I want to do is fix it so that the pop-up is always on top, and can
                      not
                      > lose focus. Is this possible? I'm sure I've had it done to me at some
                      stage.
                      >
                      > If not I guess I'll have to abandon this pop-up type in favour of the HTML
                      > type that includes a close button.
                      >
                      > Any suggestions appreciated.
                      >
                      > Thanks,
                      >
                      > Gary.
                      >
                      > ----- Original Message -----
                      > From: "Franki" <franki@...>
                      > To: <cightml@yahoogroups.com>
                      > Sent: Thursday, January 02, 2003 12:44 AM
                      > Subject: RE: [cightml] Keeping a JS Pop-Up Window On Top?
                      >
                      >
                      > > Are you opening the popup image directly? or with some HTML???
                      > >
                      > > If its the later, you can add something like this to the popup body tag.
                      > >
                      > > onBlur='window.close();'
                      > >
                      > > That would close the popup when the focus is taken off it..
                      > >
                      > > If you are opening the image directly.. no html... all is not lost..
                      > >
                      > > You could do it from the main window as well..if the main window is in
                      > focus
                      > > and the popup exists.. then close it.
                      > >
                      > >
                      > >
                      > > regards
                      > >
                      > > Franki
                      > >
                      > > -----Original Message-----
                      > > From: Gary Badger [mailto:badger@...]
                      > > Sent: Wednesday, 1 January 2003 9:04 AM
                      > > To: CIGHTML Mailing List
                      > > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
                      > >
                      > >
                      > > Happy New Year Everyone!!! Does this make me the FIRST for 2003?
                      > >
                      > > I have a thumbnail page where the thumbnails link to open full size
                      images
                      > > in JavaScript pop-ups. When a pop-up is open I can still see the
                      thumbnail
                      > > page (most of it is visible underneath the pop-up).
                      > >
                      > > If I click on another thumbnail the new image opens in the same pop-up
                      > that
                      > > the last one used, but the pop-up now sits behind the thumbnail page
                      since
                      > > it was the last 'active' page (i.e. the one just clicked on). This is
                      > > undesirable because to the uninitiated it appears that clicking on the
                      new
                      > > thumbnail has not done anything.
                      > >
                      > > How can I either:
                      > >
                      > > 1. Keep the pop-up on top all the time until someone chooses to close
                      it?
                      > >
                      > > OR
                      > >
                      > > 2. Vary my JavaScript so that each image opens in a NEW pop-up even if
                      the
                      > > last one is still open (a new window would always open on top)?
                      > >
                      > >
                      > > FYI, here is the JavaScript I am using. I picked it up at
                      > > http://javascript.internet.com/.
                      > >
                      > > ***This is in the <head>***
                      > >
                      > > <SCRIPT LANGUAGE="JavaScript">
                      > > <!-- Begin
                      > > function ViewImage(ifile,ix,iy,ititle) {
                      > > var win;
                      > > var sWidth;
                      > > var sHeight;
                      > > var NS = (document.layers) ? 1 : 0;
                      > > win =
                      > >
                      >
                      window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
                      > > no");
                      > > if (NS) {
                      > > sWidth = win.innerWidth;
                      > > sHeight = win.innerHeight;
                      > > } else {
                      > > sWidth = win.document.body.clientWidth;
                      > > sHeight = win.document.body.clientHeight;
                      > > }
                      > > if(sWidth!=ix || sHeight!=iy) {
                      > > win.close();
                      > > setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
                      > > return;
                      > > }
                      > > win.document.open();
                      > > win.document.write("<html><head><title>"+ititle+"</title>");
                      > > win.document.write("</head><body>");
                      > > win.document.write('<div
                      > >
                      >
                      style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
                      > > ;
                      > > win.document.write("<img src="+ifile+"></div></body></html>");
                      > > win.document.close();
                      > > }
                      > > // End -->
                      > > </script>
                      > >
                      > >
                      > > ***This is one of many thumbnail links in the <body>***
                      > >
                      > > <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome
                      to
                      > > the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
                      > > border=0 alt='Click to see a larger and more detailed view of this
                      > > mat!'></a>
                      > >
                      > >
                      > > Should you wish to check out the page in question it is at
                      > > http://www.mattman.com.au/ then select the "Mat Gallery" page.
                      > >
                      > > Many thanks for any assistance you can afford me.
                      > >
                      > > Cheers,
                      > >
                      > > Gary.
                      > > badger@...
                      > > http://www.embossingtapesupplies.com.au/
                      > > http://www.mattman.com.au/
                      > >
                      > >
                      > >
                      > > To unsubscribe from the Yahoo Group, send an email to:
                      > > cightml-unsubscribe@yahoogroups.com
                      > >
                      > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                      > >
                      > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                      > >
                      > >
                      > >
                      > > Your use of Yahoo! Groups is subject to
                      http://docs.yahoo.com/info/terms/
                      > >
                      > >
                      > >
                      > >
                      > > To unsubscribe from the Yahoo Group, send an email to:
                      > > cightml-unsubscribe@yahoogroups.com
                      > >
                      > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                      > >
                      > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                      > >
                      > >
                      > >
                      > > Your use of Yahoo! Groups is subject to
                      http://docs.yahoo.com/info/terms/
                      > >
                      >
                      >
                      >
                      > To unsubscribe from the Yahoo Group, send an email to:
                      > cightml-unsubscribe@yahoogroups.com
                      >
                      > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                      >
                      > Messages prior to 2002 are also archived at http://www.mcfedries.com
                      >
                      >
                      >
                      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                      >
                      >
                    • Franki
                      yep.. this is the best answer.. in fact, I d go a step further and put the lot in a sub.. called onClick and passed the image name.. the sub would save you
                      Message 10 of 13 , Jan 2, 2003
                      • 0 Attachment
                        yep..

                        this is the best answer..

                        in fact, I'd go a step further and put the lot in a sub.. called onClick and
                        passed the image name..

                        the sub would save you replicating the code at each image link. (which is
                        the main purpose of subs/functions.)

                        give me a yell if you need a hand.


                        rgds

                        Franki

                        -----Original Message-----
                        From: David Colliver [mailto:david.colliver@...]
                        Sent: Thursday, 2 January 2003 6:08 PM
                        To: cightml@yahoogroups.com
                        Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                        You know how pop-unders work? They send a window.focus to the main window to
                        bring it back up on top...

                        So, with this in mind, how about something like...

                        window.open('file.htm', 'windowname',....
                        window.focus('windowname');

                        (I know the syntax is totally incorrect, but you could perhaps use the
                        idea).

                        Dave.
                        ~~
                        All I ask is a chance to prove that money can't make me happy.

                        Free Internet Access (UK Only, lo-call) http://www.revilloc.com/internet.htm
                        Web design, hosting, Domain registration? http://www.revilloc.com
                        Collectible dolls from http://www.collectorsdolls.com
                        Tips, tricks and articles for programmers of all languages on
                        http://www.sourcecodecorner.com
                        Planning a wedding? http://www.bmcweddings.com
                        Advertise your car for free on http://www.drivingseat.com


                        ----- Original Message -----
                        From: "Gary Badger" <badger@...>
                        To: <cightml@yahoogroups.com>
                        Sent: Thursday, January 02, 2003 10:10 AM
                        Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                        > Thanks Franki (and everyone else),
                        >
                        > The pop-up contains the image only (no HTML), and when it is closed before
                        > losing focus there is no problem. The issue arises when the pop-up is not
                        > closed and then it loses focus, falling and staying behind the original
                        > full-size window when looking for another thumbnail. Subsequent links open
                        > in the same pop-up but because it has lost focus and sits behind they can
                        be
                        > missed.
                        >
                        > What I want to do is fix it so that the pop-up is always on top, and can
                        not
                        > lose focus. Is this possible? I'm sure I've had it done to me at some
                        stage.
                        >
                        > If not I guess I'll have to abandon this pop-up type in favour of the HTML
                        > type that includes a close button.
                        >
                        > Any suggestions appreciated.
                        >
                        > Thanks,
                        >
                        > Gary.
                        >
                        > ----- Original Message -----
                        > From: "Franki" <franki@...>
                        > To: <cightml@yahoogroups.com>
                        > Sent: Thursday, January 02, 2003 12:44 AM
                        > Subject: RE: [cightml] Keeping a JS Pop-Up Window On Top?
                        >
                        >
                        > > Are you opening the popup image directly? or with some HTML???
                        > >
                        > > If its the later, you can add something like this to the popup body tag.
                        > >
                        > > onBlur='window.close();'
                        > >
                        > > That would close the popup when the focus is taken off it..
                        > >
                        > > If you are opening the image directly.. no html... all is not lost..
                        > >
                        > > You could do it from the main window as well..if the main window is in
                        > focus
                        > > and the popup exists.. then close it.
                        > >
                        > >
                        > >
                        > > regards
                        > >
                        > > Franki
                        > >
                        > > -----Original Message-----
                        > > From: Gary Badger [mailto:badger@...]
                        > > Sent: Wednesday, 1 January 2003 9:04 AM
                        > > To: CIGHTML Mailing List
                        > > Subject: [cightml] Keeping a JS Pop-Up Window On Top?
                        > >
                        > >
                        > > Happy New Year Everyone!!! Does this make me the FIRST for 2003?
                        > >
                        > > I have a thumbnail page where the thumbnails link to open full size
                        images
                        > > in JavaScript pop-ups. When a pop-up is open I can still see the
                        thumbnail
                        > > page (most of it is visible underneath the pop-up).
                        > >
                        > > If I click on another thumbnail the new image opens in the same pop-up
                        > that
                        > > the last one used, but the pop-up now sits behind the thumbnail page
                        since
                        > > it was the last 'active' page (i.e. the one just clicked on). This is
                        > > undesirable because to the uninitiated it appears that clicking on the
                        new
                        > > thumbnail has not done anything.
                        > >
                        > > How can I either:
                        > >
                        > > 1. Keep the pop-up on top all the time until someone chooses to close
                        it?
                        > >
                        > > OR
                        > >
                        > > 2. Vary my JavaScript so that each image opens in a NEW pop-up even if
                        the
                        > > last one is still open (a new window would always open on top)?
                        > >
                        > >
                        > > FYI, here is the JavaScript I am using. I picked it up at
                        > > http://javascript.internet.com/.
                        > >
                        > > ***This is in the <head>***
                        > >
                        > > <SCRIPT LANGUAGE="JavaScript">
                        > > <!-- Begin
                        > > function ViewImage(ifile,ix,iy,ititle) {
                        > > var win;
                        > > var sWidth;
                        > > var sHeight;
                        > > var NS = (document.layers) ? 1 : 0;
                        > > win =
                        > >
                        >
                        window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=
                        > > no");
                        > > if (NS) {
                        > > sWidth = win.innerWidth;
                        > > sHeight = win.innerHeight;
                        > > } else {
                        > > sWidth = win.document.body.clientWidth;
                        > > sHeight = win.document.body.clientHeight;
                        > > }
                        > > if(sWidth!=ix || sHeight!=iy) {
                        > > win.close();
                        > > setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
                        > > return;
                        > > }
                        > > win.document.open();
                        > > win.document.write("<html><head><title>"+ititle+"</title>");
                        > > win.document.write("</head><body>");
                        > > win.document.write('<div
                        > >
                        >
                        style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">')
                        > > ;
                        > > win.document.write("<img src="+ifile+"></div></body></html>");
                        > > win.document.close();
                        > > }
                        > > // End -->
                        > > </script>
                        > >
                        > >
                        > > ***This is one of many thumbnail links in the <body>***
                        > >
                        > > <a href="javascript:ViewImage('files/mat0001-400.jpg',400,300,'Welcome
                        to
                        > > the Badgers')"><img src="files/mat0001-150.jpg" width=150 height=113
                        > > border=0 alt='Click to see a larger and more detailed view of this
                        > > mat!'></a>
                        > >
                        > >
                        > > Should you wish to check out the page in question it is at
                        > > http://www.mattman.com.au/ then select the "Mat Gallery" page.
                        > >
                        > > Many thanks for any assistance you can afford me.
                        > >
                        > > Cheers,
                        > >
                        > > Gary.
                        > > badger@...
                        > > http://www.embossingtapesupplies.com.au/
                        > > http://www.mattman.com.au/
                        > >
                        > >
                        > >
                        > > To unsubscribe from the Yahoo Group, send an email to:
                        > > cightml-unsubscribe@yahoogroups.com
                        > >
                        > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                        > >
                        > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                        > >
                        > >
                        > >
                        > > Your use of Yahoo! Groups is subject to
                        http://docs.yahoo.com/info/terms/
                        > >
                        > >
                        > >
                        > >
                        > > To unsubscribe from the Yahoo Group, send an email to:
                        > > cightml-unsubscribe@yahoogroups.com
                        > >
                        > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                        > >
                        > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                        > >
                        > >
                        > >
                        > > Your use of Yahoo! Groups is subject to
                        http://docs.yahoo.com/info/terms/
                        > >
                        >
                        >
                        >
                        > To unsubscribe from the Yahoo Group, send an email to:
                        > cightml-unsubscribe@yahoogroups.com
                        >
                        > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                        >
                        > Messages prior to 2002 are also archived at http://www.mcfedries.com
                        >
                        >
                        >
                        > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                        >
                        >



                        To unsubscribe from the Yahoo Group, send an email to:
                        cightml-unsubscribe@yahoogroups.com

                        This list is for readers of Paul McFedries' CIG to Creating a Web Page.

                        Messages prior to 2002 are also archived at http://www.mcfedries.com



                        Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                      • Gary Badger
                        I see, I m beginning to realise that what I was describing was not exactly what I wanted. It seems to me now that I misunderstood what was meant by on focus ,
                        Message 11 of 13 , Jan 3, 2003
                        • 0 Attachment
                          I see, I'm beginning to realise that what I was describing was not exactly
                          what I wanted. It seems to me now that I misunderstood what was meant by "on
                          focus", as what you describe below sounds more like what I was thinking.

                          Sorry for the confusion, and thanks for the assistance.

                          Also Don, in relation to the archived message, I followed your advice in
                          relation to the thumbnails and will revisit the other info.

                          Thanks,

                          Gary.

                          ----- Original Message -----
                          From: "Don Passenger" <dpasseng@...>
                          To: <cightml@yahoogroups.com>
                          Sent: Friday, January 03, 2003 12:46 AM
                          Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?


                          > I don't/haven't messed with such things in great detail. It however seems
                          > to me that you are focusing "in hopes" that the right window is in front.
                          >
                          > The next step in that process might be to add to the main window an on
                          click
                          > event which focuses the pop-up. If that is added for a class of links
                          (the
                          > thumbnails), then you focus the window each time it is clicked. The other
                          > thing to consider is adding a close window feature to the pop-up.
                          >
                          > So to my way of thinking, I believe you can get a lot closer to right than
                          > simply using on-blur and a timer.
                          >
                          > Don
                          > ----- Original Message -----
                          > From: "Gary Badger" <badger@...>
                          > To: <cightml@yahoogroups.com>
                          > Sent: Thursday, January 02, 2003 7:11 AM
                          > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                          >
                          >
                          > > Thanks again Dave, I hope nobody else minds our little chat here ;o)
                          > >
                          > > I understand what you are saying and why you would not like a pop-up to
                          > keep
                          > > focus in general. I *think* that wouldn't be too much of issue for tyhe
                          > page
                          > > I'm dealing with as the pop-up is quite small and could be closed if not
                          > > wanted.
                          > >
                          > > I've been through a LOT of web pages tonight searching for more answers,
                          > and
                          > > I think I may have found it at http://tech.irt.org/articles/js128/.
                          (This
                          > > site appears to be a great resource if anyone else is still reading this
                          > > thread). The advice given in relation to this is:
                          > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          > > Managing Your Windows / Maintaining their focus
                          > >
                          > > You may have noticed that its quite easy to lose pop-up windows - they
                          can
                          > > become hidden behind the main browser window. This happens when the main
                          > > browser window regains focus, i.e., becomes the selected window. To
                          avoid
                          > > this you need to decide whether you want the pop-up window to have
                          > exclusive
                          > > control of the browser, or whether you want it to be closed, or even
                          > brought
                          > > to the front after a short delay.
                          > >
                          > > By placing the following in the document loaded into the pop-up window
                          > then
                          > > the pop-up will remain in front of the main browser window:
                          > >
                          > > <body onBlur="window.focus()">
                          > >
                          > >
                          > > This has the side effect on some browsers of inhibiting the use of the
                          > main
                          > > browser window until the pop-up window is closed. If you don't require
                          > this
                          > > feature then you could always refocus the pop-up window after a delay:
                          > >
                          > > <body onBlur="setTimeout=('window.focus()',1000)">
                          > >
                          > >
                          > > Which ensures that the pop-up window regains the focus after a delay of
                          > one
                          > > second - enough time to allow the user to interact with the main browser
                          > > window.
                          > >
                          > > Of course you may decide that if the user has moved the focus to the
                          main
                          > > browser window, that the pop-up window should be closed:
                          > >
                          > > <body onBlur="window.close()">
                          > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          > >
                          > > If I do this I need to change the way I'm opening the pop-ups, then I'll
                          > > send you / the list the URL and ask if you think it's too frustrating to
                          > > configure the window that way. It's a job for tomorrow night though
                          > > (zzzzzzzzzzzzzzzz).
                          > >
                          > > Cheers,
                          > >
                          > > Gary.
                          > >
                          > > ----- Original Message -----
                          > > From: "David Colliver" <david.colliver@...>
                          > > To: <cightml@yahoogroups.com>
                          > > Sent: Thursday, January 02, 2003 10:35 PM
                          > > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                          > >
                          > >
                          > > > If it retains focus, you cannot then go to another window to view
                          > another
                          > > > picture.
                          > > >
                          > > > There is not a stay on top method as far as I am aware for browser
                          > > windows.
                          > > > I think the best bet is to allow the browser to go behind when you pop
                          > up
                          > > a
                          > > > new window, then bring the new window into focus when the main window
                          is
                          > > > clicked.
                          > > >
                          > > > What you can do is if you need it to stay on top (though it will
                          severly
                          > > > limit your options, as described above) is to run the script to bring
                          > > > winodw.focus again when the window goes out of focus. This will make
                          it
                          > > > though that you cannot get to the main window because this window will
                          > > then
                          > > > come back into focus. Personally, I would be pretty frustrated if a
                          > window
                          > > > kept doing that to me.
                          > > >
                          > > > Regards.
                          > > > Dave.
                          > > >
                          > > > ----- Original Message -----
                          > > > From: "Gary Badger" <badger@...>
                          > > > To: <cightml@yahoogroups.com>
                          > > > Sent: Thursday, January 02, 2003 11:29 AM
                          > > > Subject: Re: [cightml] Keeping a JS Pop-Up Window On Top?
                          > > >
                          > > >
                          > > > > Thanks Dave, your message actually prompted me to look for a site
                          with
                          > a
                          > > > > pop-under so I could check this out. I would have never thought I
                          > would
                          > > > > voluntarily do that!
                          > > > >
                          > > > > The problem with the pop-unders I've found is that they can keep or
                          > lose
                          > > > > focus (try alt / tab). What I really want is a windows that stays on
                          > top
                          > > /
                          > > > > retains focus all the time.
                          > > > >
                          > > > > Any thoughts?
                          > > > >
                          > > > > Cheers,
                          > > > >
                          > > > > Gary.
                          > > > >
                          > >
                          > >
                          > >
                          > > To unsubscribe from the Yahoo Group, send an email to:
                          > > cightml-unsubscribe@yahoogroups.com
                          > >
                          > > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                          > >
                          > > Messages prior to 2002 are also archived at http://www.mcfedries.com
                          > >
                          > >
                          > >
                          > > Your use of Yahoo! Groups is subject to
                          http://docs.yahoo.com/info/terms/
                          > >
                          > >
                          >
                          >
                          >
                          > To unsubscribe from the Yahoo Group, send an email to:
                          > cightml-unsubscribe@yahoogroups.com
                          >
                          > This list is for readers of Paul McFedries' CIG to Creating a Web Page.
                          >
                          > Messages prior to 2002 are also archived at http://www.mcfedries.com
                          >
                          >
                          >
                          > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                          >
                        Your message has been successfully submitted and would be delivered to recipients shortly.