Web Analytics Made Easy -
StatCounter Open new browser window and keep it on top - CodingForum

Announcement

Collapse
No announcement yet.

Open new browser window and keep it on top

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Open new browser window and keep it on top

    I am opening a link in a new browser window which works fine. What I want to do is keep that new window on top of the window is was launched from. Is there a way to open a new window instance and force it on top until closed?

  • #2
    yup there is exept that if you do then it will stay on top of all the winodws. put this in the opened window

    window.onblur = focus()

    this means that whenever the winodw is blurred (or deselected if you like) then ic comes back into focus. yo ucan see this in action on dave clarks site at http://www.daveclarkconsulting.com. im sure dave would like to add a personal note to that technique
    photoshop too expensive? use the GIMP! www.gimp.org

    Comment


    • #3
      <script type="text/javascript" language="javascript">

      onblur = function() {
      setTimeout('self.focus()',100);
      }

      </script>

      Comment

      Working...
      X